purchase_view.xml 702 B

1234567891011121314151617
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record id="view_order_form" model="ir.ui.view">
  5. <field name="name">purchase.order.form</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="order_line" position="before">
  10. <button name="%(action_purchase_add_multiple)d"
  11. type="action" string="Activar Lector"
  12. attrs="{'invisible':[('state','not in',['draft','sent'])]}"/>
  13. </field>
  14. </field>
  15. </record>
  16. </data>
  17. </openerp>