[IMP] mail: propagate model when creating next activity types

If you create new activity types through the "create and edit" of the
recommended activity type it is a good idea to propagate the model in order
to avoid having inconsistent results.

This commit is linked to task ID 1844644 and PR #25843.
This commit is contained in:
Thibault Delavallée
2018-07-26 17:16:50 +02:00
parent 17e0d52319
commit ec16901c76
+2 -1
View File
@@ -29,7 +29,8 @@
</div>
</group>
<group>
<field name="next_type_ids" widget="many2many_tags"/>
<field name="next_type_ids" widget="many2many_tags"
context="{'default_res_model_id': res_model_id}"/>
</group>
</group>
</sheet>