Criptomart/red-supermercados-coop#4 add pos_order_backend_receipt
This commit is contained in:
parent
6aec5669be
commit
7ad70064a7
9 changed files with 640 additions and 0 deletions
14
pos_order_backend_receipt/views/pos_order_views.xml
Normal file
14
pos_order_backend_receipt/views/pos_order_views.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="view_pos_order_form_inherit_backend_ticket" model="ir.ui.view">
|
||||
<field name="name">pos.order.form.inherit.backend.ticket</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="//header" position="inside">
|
||||
<button name="action_print_backend_ticket" type="object" string="Print Ticket" attrs="{'invisible': [('state', 'not in', ('paid','done','invoiced'))]}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue