purchase_order_view.xml 764 B

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