Files
Odoo-18.0-20251222/web_save_discard_button/static/src/xml/template.xml
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

26 lines
918 B
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Save and Discard Button-->
<templates>
<t
t-name="web_save_discard_button.FormStatusIndicator"
t-inherit="web.FormStatusIndicator"
t-inherit-mode="extension"
>
<xpath
expr="//div[(hasclass('o_form_status_indicator_buttons'))]"
position="attributes"
>
<attribute name="class" add="gap-1" separator=" " />
</xpath>
<xpath expr="//button[(hasclass('o_form_button_save'))]" position="attributes">
<attribute name="class">o_form_button_save btn btn-primary</attribute>
</xpath>
<xpath expr="//button/i[(hasclass('fa-cloud-upload'))]" position="replace">
<span>Save</span>
</xpath>
<xpath expr="//button/i[(hasclass('fa-times'))]" position="replace">
<span>Discard</span>
</xpath>
</t>
</templates>