This question has been flagged
1 Reply
4431 Views

how can I hide the button print in Point of sale  thank you ( see the screnn below )


Avatar
Discard
Author Best Answer

When I hide this part of code in /addons/point_of_sale/static/src/pos.xml, it hide all the buttons down :


<t t-name="ActionButtonWidgetWithIcon">

<li t-att-class=" 'button '+ (widget.rightalign ? 'rightalign ' : '') + (widget.disabled ? 'disabled ' : '')">

<div class='icon'>

<!-- <img t-att-src="widget.icon" />

<div class='iconlabel'><t t-esc="widget.label" /></div> -->

</div>

</li>

</t>


how I can just hide the print button only , thank you

Avatar
Discard