Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

 I have this code to create a new email template


"custom_sale_order_template" model=" mail.template">

"name">My Custom Template

"subject">Sale Order <!--(#${object.source_sale_id.name})-->< /span>

"model_id" ref="sale.model_sale_orde"/ >


"partner_to">{{ object.partner_id.id }}

"reply_to">{{user.email_formatted}}

"report_template" ref="sale.action_report_saleorder"/ >

"report_name">Sale Order

"lang">{{ object.partner_id.lang }}

"auto_delete" eval="True"/>

"body_html" type="html">

"html_body"/>



inside the field name=body html, i want to insert a html file template and reuse it by changing some

parts only in the separate html file. is that possible?


Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
2
jun. 23
3836
0
jun. 23
1476
0
mar. 15
3762
1
maj 24
1482
1
apr. 24
1271