← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 719223] Re: [PS] Product margin : "group by" doesn't work

 

Hello,

Found the following traceback on server side.
So I am confirming this issue .

Traceback (most recent call last):
  File "/home/tiny/workspace/stable-6/openobject-server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/tiny/workspace/stable-6/openobject-server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/tiny/workspace/stable-6/openobject-server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/tiny/workspace/stable-6/openobject-server/bin/osv/orm.py", line 2158, 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?)

Thanks


** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/719223

Title:
  [PS] Product margin : "group by" doesn't work

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  6.0.1
  Web and GTK client

  - Install "product_margin" module.
  - Sales>Products>Product Margins : in the list view, try to group transactons by Category, UOM or type.
  - A system error pops up and no more information is displayed.

  François Pietquin
  OpenERP Professional Services





References