button fix

This commit is contained in:
praveen 2025-04-30 11:53:59 +05:30
parent c4f442f219
commit 932607c079
1 changed files with 8 additions and 4 deletions

View File

@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-inherit="web.FormStatusIndicator" t-inherit-mode="extension">
<xpath expr="//button[@t-ref='save']" position="replace">
<div class="d-flex gap-2">
<button style="font-size:10px; background-color:green;color:white;border-radius:4px"
<button style="font-size:10px; background-color:#dcc4f5; color:black;border-radius:4px"
type="button"
class="o_form_button_save btn btn-light border-0 px-3 py-1 lh-sm"
data-hotkey="s"
@ -15,7 +15,11 @@
<i class="fa fa-check" aria-hidden="true"/>
</button>
<button style="font-size:10px; background-color:red;color:white;border-radius:4px"
</xpath>
<xpath expr="//button[@data-hotkey='j']" position="replace">
<button style="font-size:10px; background-color:#c4d9f5; color:black; border-radius:6px"
type="button"
class="o_form_button_cancel btn btn-light border-0 px-3 py-1 lh-sm"
data-hotkey="j"
@ -25,7 +29,7 @@
Discard
<i class="fa fa-times fa-fw" />
</button>
</div>
</xpath>
</t>
</templates>