Product / Bill of Materials button raises error

Bug #1207072 reported by Leigh Willard
10
This bug affects 2 people
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/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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.