pos_order_view.xml 741 B

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_pos_order_form_draft" model="ir.ui.view">
  5. <field name="name">pos.order.form.draft</field>
  6. <field name="model">pos.order</field>
  7. <field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
  8. <field name="arch" type="xml">
  9. <field name="state" position="before">
  10. <button name="button_draft"
  11. states="paid"
  12. string="Back to draft"
  13. type="object"
  14. groups="base.group_no_one"/>
  15. </field>
  16. </field>
  17. </record>
  18. </data>
  19. </openerp>