purchase_view.xml 1.2 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="purchase_order_form_ext" model="ir.ui.view">
  5. <field name="name">purchase.order.form.ext</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. <data>
  10. <button name="print_quotation" states="draft" position="attributes">
  11. <attribute name="invisible">True</attribute>
  12. </button>
  13. <button name="print_quotation" states="sent" position="attributes">
  14. <attribute name="invisible">True</attribute>
  15. </button>
  16. <button name="wkf_send_rfq" states="draft" position="attributes">
  17. <attribute name="invisible">True</attribute>
  18. </button>
  19. <button name="wkf_send_rfq" states="sent" position="attributes">
  20. <attribute name="invisible">True</attribute>
  21. </button>
  22. </data>
  23. </field>
  24. </record>
  25. </data>
  26. </openerp>