Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] account_debt_report: Migration to 15.0
- Loading branch information
Showing
7 changed files
with
67 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" ?> | ||
<odoo> | ||
<record id="email_template_debt_detail" model="mail.template"> | ||
<field name="name">Debt Detail Mail</field> | ||
<field name="model_id" ref="base.model_res_partner"/> | ||
<field name="auto_delete" eval="True"/> | ||
<field name="partner_to">{{ object.id }}</field> | ||
<field name="report_template" ref="account_debt_report"/> | ||
<field name="report_name">Debt_Detail_{{ (object.name or '').replace('/','_') }}</field> | ||
<field name="subject">Debt Detail {{ object.company_id.name }}</field> | ||
<field name="lang">{{ object.lang }}</field> | ||
<field name="email_from">{{ object.user_id.email or '' }}</field> | ||
<field name="body_html" type="html"> | ||
<div style="margin: 0px; padding: 0px;"> | ||
<p style="margin: 0px; padding: 0px; font-size: 13px;"> | ||
Dear | ||
<t t-if="object.parent_id"> | ||
<t t-out="object.name or ''"></t> | ||
(<t t-out="object.parent_id.name or ''"></t>), | ||
</t> | ||
<t t-else=""> | ||
<t t-out="object.name or ''"></t>, | ||
</t> | ||
<br /><br /> | ||
Please find attached your debt detail from <t t-out="object.company_id.name or ''"></t>. | ||
<br /><br /> | ||
Do not hesitate to contact us if you have any questions. | ||
</p> | ||
</div> | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
account_debt_report.access_account_debt_report_wizard,access_account_debt_report_wizard,account_debt_report.model_account_debt_report_wizard,base.group_user,1,1,1,1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters