list view can not process domain with some fields in incoming shipment

Bug #865188 reported by Nicolas Vanhoren (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
High
Unassigned

Bug Description

To reproduce the bug :
- create new incoming shipment
- add product in o2m field.
- now click the process now button

By looking in the console, you'll see an exception:
Uncaught Error: Domain references unknown field : update_cost
openerp.web.form.compute_domainview_form.js:616
openerp.web.ListView.openerp.web.View.extend.setup_columns.field_to_column.column.modifiers_forview_list.js:324
openerp.web.format_cellformats.js:184
openerp.web.ListView.openerp.web.View.extend.display_aggregatesview_list.js:645
each._.each._.forEachunderscore.js:74
addToWrapper.wrapperunderscore.js:804
openerp.web.ListView.openerp.web.View.extend.display_aggregatesview_list.js:639
openerp.web.ListView.openerp.web.View.extend.compute_aggregatesview_list.js:635
openerp.web.ListView.openerp.web.View.extend.reload_contentview_list.js:442
openerp.web.ListView.Groups.openerp.web.Class.extend.renderview_list.js:1250
jQuery.extend._Deferred.deferred.resolveWithjquery-1.6.2.js:1008
jQuery.extend._Deferred.deferred.resolvejquery-1.6.2.js:1021
openerp.web.ListView.Groups.openerp.web.Class.extend.render_datasetview_list.js:1190
jQuery.extend._Deferred.deferred.resolveWithjquery-1.6.2.js:1008
jQuery.extend._Deferred.deferred.resolvejquery-1.6.2.js:1021
openerp.web.BufferedDataSet.openerp.web.DataSetStatic.extend.read_ids.return_recordsdata.js:698

By looking at the xml view, it seems correct (the update_cost field correctly appears in the view)

Related branches

Changed in openerp-web:
status: Confirmed → Fix Released
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.