Files
odoo_source/addons/sms/tests/test_sms_template.xml
T
Nikunj Ladava c8cdd6f5a3 [IMP] mail,sms: reset template button
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>
2022-08-17 11:20:56 +02:00

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>