I would like to hide "Refund" button for all users. Could you please help me how I can do like that? Thanks a lot.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
<?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 a lot for your answer. I will try it
please do upvote or mark as best answer if this answer really helps you !!
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
gru 22
|
2636 | ||
|
0
lis 22
|
1592 | ||
|
1
cze 25
|
1174 | ||
|
3
lip 25
|
2908 | ||
|
1
maj 25
|
1091 |