sale_order.xml 787 B

12345678910111213141516171819
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_sale_order_form_inherit" model="ir.ui.view">
  5. <field name="name">sale.order.form.inherit</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. <!-- <form> -->
  10. <field name="order_line" position="after">
  11. <field name="state" invisible="1"/>
  12. <button name="open_order_service_form" string="Crear Orden de Servicio" type="object" class="oe_highlight" attrs="{'invisible': [('state', '!=', 'sale')]}"/>
  13. </field>
  14. <!-- </form> -->
  15. </field>
  16. </record>
  17. </data>
  18. </openerp>