If you defined a selection on website form that will hold 'many2many' field, so it will look like 'many2many_tags' widget, you need a special handling on the controller backend. By default, on the website form view you can select more than one value, but when you validated the form value...
If you have this code onchange: @api.onchange('a_field') def _onchange_cor(self): if self.a_field: self.env.cr.execute('SELECT name from a_table where field_id=%s' , (self.id,)) but self.id returns <openerp.models.NewId object at 0x7f904b586e10> How to get the id of self (the current record)? In onchange, odoo creates a new object and replaces self with it. The origin...
— June 2018
Write a small text here for when new visitors find your website
through your blog entries, referenced in Google.