Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3493 Visualizzazioni

I would like to hide "Refund" button for all users. Could you please help me how I can do like that? Thanks a lot.

Avatar
Abbandona
Risposta migliore

Hello Thura

there is a  template name = point_of_sale.RefundButton need to hide or remove from UI  using following inherited xml

<  ?xml version="1.0" encoding="UTF-8"?>
< templates id="template" xml:space="preserve">

< t t-inherit="point_of_sale.RefundButton" t-inherit-mode="extension">
< xpath expr="//div[hasclass('control-button')]" position="replace">
< /xpath>
< /t>

< /templates>

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat



Avatar
Abbandona

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">

<t t-inherit="point_of_sale.RefundButton" t-inherit-mode="extension">
<xpath expr="//div[hasclass('control-button')]" position="replace">
</xpath>
</t>

</templates>

Autore

Thanks a lot for your answer. I will try it

please do upvote or mark as best answer if this answer really helps you !!

Post correlati Risposte Visualizzazioni Attività
2
dic 22
2713
0
nov 22
1699
1
giu 25
1592
3
lug 25
3241
1
mag 25
1384