mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-20 04:12:18 -06:00
[IMP] document_page_approval: black, isort
This commit is contained in:
committed by
Bhavesh Heliconia
parent
e1727575df
commit
8d8c8ac32a
@@ -1,13 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
|
||||
<!-- If user wants to make upgrade-proof customizations to email templates, he should edit ir.model.data and check noupdate himself -->
|
||||
<record id="email_template_new_draft_need_approval" model="mail.template">
|
||||
<field name="name">Automated new draft need approval Notification Mail</field>
|
||||
<field name="email_from">${object.create_uid.company_id.email or 'noreply@localhost.com'}</field>
|
||||
<field name="subject">New version of ${object.display_name} needs your approval</field>
|
||||
<field name="model_id" ref="model_document_page_history"/>
|
||||
<field name="auto_delete" eval="True"/>
|
||||
<field
|
||||
name="email_from"
|
||||
>${object.create_uid.company_id.email or 'noreply@localhost.com'}</field>
|
||||
<field
|
||||
name="subject"
|
||||
>New version of ${object.display_name} needs your approval</field>
|
||||
<field name="model_id" ref="model_document_page_history" />
|
||||
<field name="auto_delete" eval="True" />
|
||||
<field name="lang">${object.create_uid.partner_id.lang}</field>
|
||||
<field name="body_html">
|
||||
<![CDATA[
|
||||
@@ -39,5 +42,4 @@ ${object.diff|safe}
|
||||
]]>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user