openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24343
[Bug 1207072] Re: Product / Bill of Materials button raises error
*** This bug is a duplicate of bug 1101840 ***
https://bugs.launchpad.net/bugs/1101840
** This bug has been marked a duplicate of bug 1101840
[trunk/7.0] kanban link not working proper after Group By.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1207072
Title:
Product / Bill of Materials button raises error
Status in OpenERP Addons (modules):
New
Bug description:
v7.0 stable
Create a BOM for a product.
Go to Sales / Products / Products, this will open the products in
Kanban view with the GROUP-BY Category.
Select your product, then click on the button "Bill of Materials".
This raises an error (see below),.
However, if during the Kanban view you UNSELECT the group-by, there is
no error.
Here is the error trace:
File "/mnt/data/usr/local/src/robotiq_prod/addons/audittrail/audittrail.py", line 514, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/mnt/data/usr/local/src/robotiq_prod/server/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/mnt/data/usr/local/src/robotiq_prod/server/openerp/osv/orm.py", line 2638, in read_group
assert groupby_def and groupby_def._classic_write, "Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True"
AssertionError: Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True
Ok
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1207072/+subscriptions
References