[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:
Nicolas Lempereur
2015-11-18 08:27:47 +01:00
parent d40a548ac8
commit daca0d350a
@@ -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"/>