[FIX] email_template: on_change values for m2m can be list of ids, not necessarily commands.
bzr revid: tde@openerp.com-20130308124341-ih0f4us81cffer7m
This commit is contained in:
@@ -141,7 +141,7 @@ class mail_compose_message(osv.TransientModel):
|
||||
# legacy template behavior: void values do not erase existing values and the
|
||||
# related key is removed from the values dict
|
||||
if partner_ids:
|
||||
values['partner_ids'] = [(6, 0, list(partner_ids))]
|
||||
values['partner_ids'] = list(partner_ids)
|
||||
|
||||
return values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user