pos_reprint_receipt/views/pos_order_views.xml
2026-06-12 11:11:20 +07:00

20 lines
781 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_pos_pos_form_reprint_receipt" model="ir.ui.view">
<field name="name">pos.order.form.reprint.receipt</field>
<field name="model">pos.order</field>
<field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='action_pos_order_invoice']" position="after">
<button name="%(pos_reprint_receipt.action_report_pos_order_reprint)d"
string="Reprint Receipt"
type="action"
class="oe_highlight"
invisible="state not in ['paid', 'done']"/>
</xpath>
</field>
</record>
</odoo>