POS: Rechnungs-Button im Payment Screen entfernt
This commit is contained in:
parent
988421a0c5
commit
21b0d6305f
|
|
@ -52,6 +52,7 @@ Autor: HobbyHimmel
|
|||
'open_workshop_pos/static/src/xml/ows_receipt_header_patch.xml',
|
||||
'open_workshop_pos/static/src/xml/ows_voucher_codes_patch.xml',
|
||||
'open_workshop_pos/static/src/xml/ows_control_buttons_patch.xml',
|
||||
'open_workshop_pos/static/src/xml/ows_payment_screen_patch.xml',
|
||||
|
||||
# CSS
|
||||
'open_workshop_pos/static/src/css/pos.css',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="point_of_sale.PaymentScreenButtons" t-inherit="point_of_sale.PaymentScreenButtons" t-inherit-mode="extension">
|
||||
|
||||
<!-- Remove the Invoice button completely -->
|
||||
<xpath expr="//button[contains(@class, 'js_invoice')]" position="replace">
|
||||
<!-- Invoice button removed -->
|
||||
</xpath>
|
||||
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
13
open_workshop_pos/static/src/xml/ows_ticket_screen_patch.xml
Normal file
13
open_workshop_pos/static/src/xml/ows_ticket_screen_patch.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-name="point_of_sale.TicketScreen" t-inherit="point_of_sale.TicketScreen" t-inherit-mode="extension">
|
||||
|
||||
<!-- Remove the Invoice button completely -->
|
||||
<xpath expr="//InvoiceButton" position="replace">
|
||||
<!-- Invoice button removed -->
|
||||
</xpath>
|
||||
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Loading…
Reference in New Issue
Block a user