I am attempting to configure Mass Editing module (mess_editing) in Odoo V10, but when I attempt to add an item to the list of fields to modify, Odoo throws and error. When creating a mass editing item for the product.product model, I get the following error. The same happens on any other model, only the field names change.
The last few lines are:
File "/odoo/odoo-server/odoo/osv/expression.py", line 1287, in to_sql q, p = self.__leaf_to_sql(leaf) File "/odoo/odoo-server/odoo/osv/expression.py", line 1212, in __leaf_to_sql raise ValueError("Invalid domain term %r" % (leaf,)) ValueError: Invalid domain term (u'model_id', u'in', {u'model': u'pos.config', u'transient': False, u'name': u'pos.config', u'state': u'base'})
Check you code where(u'model_id', u'in', {u'model': u'pos.config', u'transient': False, u'name': u'pos.config', u'state': u'base'}), this code must be call 'model' value in the dictionary . such as:
(u'model_id', u'in', vals['model'])