Before Commit : - Sometimes user breaks their Mail/SMS templates and have no way to go back to the original one easily. They don't have any option to reset the template. After Commit : - Added new "Reset Template" button - now user can reset the Mail/SMS template to its first version. - also it will update the translation of the template - added New "Reset Mail Templates/Reset SMS Templates" action to edit multiple templates task- 2231977 closes odoo/odoo#83759 Related: odoo/upgrade#3674 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
10 lines
278 B
XML
10 lines
278 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="sms_template_test" model="sms.template">
|
|
<field name="model_id" ref="base.model_res_partner"/>
|
|
<field name="body" type="html">
|
|
<div>Hello Odoo</div>
|
|
</field>
|
|
</record>
|
|
</odoo>
|