Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3007 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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



Imagine profil
Abandonează

<?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>

Autor

Thanks a lot for your answer. I will try it

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

Related Posts Răspunsuri Vizualizări Activitate
2
dec. 22
2221
0
nov. 22
1227
3
apr. 25
1625
0
mar. 25
387
1
feb. 25
5031