Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1352 Представления

 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?


Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
июн. 23
4839
0
июн. 23
1869
0
мар. 15
4283
1
мая 24
2087
1
апр. 24
1973