[ADD] web_save_discard_button module

This commit is contained in:
Sam
2023-08-14 11:33:24 +05:30
committed by Sylvain LE GAL
parent 9494dab91e
commit c93eef37ac
13 changed files with 141 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?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"
owl="1"
>
<xpath expr="//button/i[(hasclass('fa-cloud-upload'))]" position="replace">
<span class="save_button">Save</span>
</xpath>
<xpath expr="//button/i[(hasclass('fa-undo'))]" position="replace">
<span class="discard_button">Discard</span>
</xpath>
</t>
</templates>