diff --git a/contract/data/mail_message_subtype.xml b/contract/data/mail_message_subtype.xml
index 1aff7f624..fd380d922 100644
--- a/contract/data/mail_message_subtype.xml
+++ b/contract/data/mail_message_subtype.xml
@@ -7,5 +7,6 @@
Contract modifications
contract.contract
+
diff --git a/contract/data/mail_template.xml b/contract/data/mail_template.xml
index 647ac5978..dac85a782 100644
--- a/contract/data/mail_template.xml
+++ b/contract/data/mail_template.xml
@@ -62,22 +62,39 @@
]]>
-
-
+
+
+ Contract Modification Template
+ ${(object.user_id.email and '%s <%s>' % (object.user_id.name, object.user_id.email) or '')|safe}
+ ${object.company_id.name} Contract (Ref ${object.name or 'n/a'}) - Modifications
+
+ ${object.partner_id.lang}
+ Hello
- We have modifications on the contract that we want to notify you.
-
+ We have modifications on the contract that we want to notify you.
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
- | Date |
- Description |
+ Date |
+ Description |
-
-
- |
- |
+
+
+ |
+ |
diff --git a/contract/i18n/contract.pot b/contract/i18n/contract.pot
index ba063a51f..d3399a5ad 100644
--- a/contract/i18n/contract.pot
+++ b/contract/i18n/contract.pot
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-12-23 16:39+0000\n"
-"PO-Revision-Date: 2020-12-23 16:39+0000\n"
+"POT-Creation-Date: 2020-12-24 08:24+0000\n"
+"PO-Revision-Date: 2020-12-24 08:24+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -15,6 +15,14 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
+#. module: contract
+#: model:mail.template,body_html:contract.mail_template_contract_modification
+msgid "\n"
+" Hello
\n"
+" We have modifications on the contract that we want to notify you.
\n"
+" "
+msgstr ""
+
#. module: contract
#: model:mail.template,body_html:contract.email_contract_template
msgid "\n"
@@ -74,6 +82,11 @@ msgstr ""
msgid "${object.company_id.name} Contract (Ref ${object.name or 'n/a'})"
msgstr ""
+#. module: contract
+#: model:mail.template,subject:contract.mail_template_contract_modification
+msgid "${object.company_id.name} Contract (Ref ${object.name or 'n/a'}) - Modifications"
+msgstr ""
+
#. module: contract
#: model_terms:ir.ui.view,arch_db:contract.contract_manually_create_invoice_form_view
msgid "\n"
@@ -411,7 +424,7 @@ msgid "Company"
msgstr ""
#. module: contract
-#: code:addons/contract/models/contract.py:436
+#: code:addons/contract/models/contract.py:441
#, python-format
msgid "Compose Email"
msgstr ""
@@ -638,7 +651,7 @@ msgid "Contract lines"
msgstr ""
#. module: contract
-#: code:addons/contract/models/contract.py:592
+#: code:addons/contract/models/contract.py:597
#, python-format
msgid "Contract manually invoiced: Invoice"
msgstr ""
@@ -767,6 +780,7 @@ msgstr ""
#: model:ir.model.fields,field_description:contract.field_contract_modification__date
#: model_terms:ir.ui.view,arch_db:contract.portal_my_contracts
#: model_terms:ir.ui.view,arch_db:contract.report_contract_document
+#: model_terms:ir.ui.view,arch_db:contract.template_contract_modification
#, python-format
msgid "Date"
msgstr ""
@@ -926,11 +940,6 @@ msgstr ""
msgid "Group By..."
msgstr ""
-#. module: contract
-#: model_terms:ir.ui.view,arch_db:contract.template_contract_modification
-msgid "Hello"
-msgstr ""
-
#. module: contract
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract__id
#: model:ir.model.fields,field_description:contract.field_contract_abstract_contract_line__id
@@ -1357,7 +1366,7 @@ msgid "Planned"
msgstr ""
#. module: contract
-#: code:addons/contract/models/contract.py:394
+#: code:addons/contract/models/contract.py:399
#, python-format
msgid "Please define a %s journal for the company '%s'."
msgstr ""
@@ -1591,7 +1600,6 @@ msgstr ""
#. module: contract
#: model:ir.model.fields,field_description:contract.field_contract_line__state
-#: model_terms:ir.ui.view,arch_db:contract.template_contract_modification
msgid "State"
msgstr ""
@@ -1692,7 +1700,7 @@ msgid "Technical field for UX purpose."
msgstr ""
#. module: contract
-#: code:addons/contract/models/contract.py:627
+#: code:addons/contract/models/contract.py:632
#: model_terms:ir.ui.view,arch_db:contract.contract_contract_form_view
#: model_terms:ir.ui.view,arch_db:contract.contract_contract_terminate_form_view
#, python-format
@@ -1841,11 +1849,6 @@ msgstr ""
msgid "View"
msgstr ""
-#. module: contract
-#: model_terms:ir.ui.view,arch_db:contract.template_contract_modification
-msgid "We have modifications on the contract"
-msgstr ""
-
#. module: contract
#: model:ir.model.fields,field_description:contract.field_contract_contract__website_message_ids
msgid "Website Messages"
@@ -1901,7 +1904,7 @@ msgid "Year(s)"
msgstr ""
#. module: contract
-#: code:addons/contract/models/contract.py:641
+#: code:addons/contract/models/contract.py:646
#, python-format
msgid "You are not allowed to terminate contracts."
msgstr ""
@@ -1952,8 +1955,3 @@ msgstr ""
msgid "on"
msgstr ""
-#. module: contract
-#: model_terms:ir.ui.view,arch_db:contract.template_contract_modification
-msgid "that we want to notify you."
-msgstr ""
-
diff --git a/contract/i18n/es.po b/contract/i18n/es.po
index 937d3447e..772c17cc8 100644
--- a/contract/i18n/es.po
+++ b/contract/i18n/es.po
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-12-23 16:39+0000\n"
-"PO-Revision-Date: 2020-12-23 18:14+0100\n"
+"POT-Creation-Date: 2020-12-24 08:24+0000\n"
+"PO-Revision-Date: 2020-12-24 09:28+0100\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"Language: es\n"
@@ -17,6 +17,21 @@ msgstr ""
"Plural-Forms: \n"
"X-Generator: Poedit 2.3\n"
+#. module: contract
+#: model:mail.template,body_html:contract.mail_template_contract_modification
+msgid ""
+"\n"
+" Hello
\n"
+" We have modifications on the contract that we want to notify "
+"you.
\n"
+" "
+msgstr ""
+"\n"
+" Hola
\n"
+" Tenemos modificaciones en el contrato que queremos "
+"notificarle.
\n"
+" "
+
#. module: contract
#: model:mail.template,body_html:contract.email_contract_template
msgid ""
@@ -155,6 +170,15 @@ msgstr ""
msgid "${object.company_id.name} Contract (Ref ${object.name or 'n/a'})"
msgstr "${object.company_id.name} Contrato (Ref ${object.name or 'n/a'})"
+#. module: contract
+#: model:mail.template,subject:contract.mail_template_contract_modification
+msgid ""
+"${object.company_id.name} Contract (Ref ${object.name or 'n/a'}) - "
+"Modifications"
+msgstr ""
+"${object.company_id.name} Contrato (Ref ${object.name or 'n/a'}) - "
+"Modificaciones"
+
#. module: contract
#: model_terms:ir.ui.view,arch_db:contract.contract_manually_create_invoice_form_view
msgid ""
@@ -512,7 +536,7 @@ msgid "Company"
msgstr "Compañía"
#. module: contract
-#: code:addons/contract/models/contract.py:436
+#: code:addons/contract/models/contract.py:441
#, python-format
msgid "Compose Email"
msgstr "Componer correo electrónico"
@@ -767,7 +791,7 @@ msgid "Contract lines"
msgstr "Líneas de contrato"
#. module: contract
-#: code:addons/contract/models/contract.py:592
+#: code:addons/contract/models/contract.py:597
#, python-format
msgid ""
"Contract manually invoiced: