[IMP] - manage substitution for mail.thread message_post_with_template

This commit is contained in:
sbejaoui
2019-07-25 13:02:07 +02:00
parent ea774aab9c
commit ed669b00a3
9 changed files with 97 additions and 17 deletions

View File

@@ -16,8 +16,7 @@
<tree>
<field name="sequence" widget="handle"/>
<field name="substitution_action_report_id"/>
<field name="domain"
domain="[('id', '!=', parent.id)]"/>/>
<field name="domain"/>
</tree>
<form>
<sheet>
@@ -26,7 +25,8 @@
invisible="1" readonly="1"
required="0"/>
<field name="model" invisible="1"/>
<field name="substitution_action_report_id"/>
<field name="substitution_action_report_id"
domain="[('model', '=', model), ('id', '!=', parent.id)]"/>
</group>
<group>
<field name="domain" widget="domain"