[FIX] mass_mailing: on_change in new and old api
Keep only the on_change in the new api, the other one caused error and was pointless. fixes #9537 first half of: opw-656693
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
<group>
|
||||
<field name="name" required="True"/>
|
||||
<field name="model_id" required="1" options="{'no_open': True, 'no_create': True}"
|
||||
on_change="onchange_model_id(model_id)"
|
||||
domain="[('model', 'in', ['res.partner', 'mail.mass_mailing.contact'])]"/>
|
||||
<field name="model" invisible="True"/>
|
||||
<field name="use_default_to" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user