sale_order_view.xml 728 B

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