mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-20 04:12:18 -06:00
start porting
fix act_draft and minor ui fix remove unused variables change order of xml data files
This commit is contained in:
committed by
Bhavesh Heliconia
parent
3237814f47
commit
c3dd8a3948
31
document_page_approval/data/email_template.xml
Normal file
31
document_page_approval/data/email_template.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0"?>
|
||||
<openerp>
|
||||
|
||||
<!-- Allow user to make upgrade-proof customizations to email template -->
|
||||
|
||||
<data noupdate="1">
|
||||
|
||||
<record id="email_template_new_draft_need_approval"
|
||||
model="email.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.page_id.name}" to approve</field>
|
||||
<field name="email_to">${object.get_approvers_email}</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[
|
||||
<p>Hello,</p>
|
||||
|
||||
<p>The page "${object.page_id.name}" has been modified and need your approval.</p>
|
||||
|
||||
<p>You can review the new version here : <a href="${object.get_page_url}">${object.get_page_url}</a></p>
|
||||
|
||||
<p>Have a great day.<br/>
|
||||
--<br/>
|
||||
OpenERP</p>]]>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user