← Back to team overview

credativ team mailing list archive

[Bug 903686] Re: group by company is not woking well

 

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/903686

Title:
  group by company is not woking well

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  how to produce
  ===
  1] install product_margin
  2] go to Sales/Products/Product Margins
  3] run the wizard and in list view try to group by company

  addons- 5957
  client - 2024
  server - 3870

  traceback 
  ==========
  Traceback (most recent call last):
    File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 120, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 172, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 163, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/orm.py", line 2472, in read_group
      assert not groupby or groupby in fields, "Fields in 'groupby' must appear in the list of fields to read (perhaps it's missing in the list view?)"
  AssertionError: Fields in 'groupby' must appear in the list of fields to read (perhaps it's missing in the list view?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/903686/+subscriptions


References