Product / Bill of Materials button raises error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
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/
return fct_src(cr, uid, model, method, *args, **kw)
File "/mnt/data/
return getattr(object, method)(cr, uid, *args, **kw)
File "/mnt/data/
assert groupby_def and groupby_
AssertionError: Fields in 'groupby' must be regular database-persisted fields (no function or related fields), or function fields with store=True
Ok