sale_order.xml 876 B

12345678910111213141516171819
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="new_pdf_format_sale_form">
  5. <field name="name">new_pdf_format_sale_form</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. <button name="print_quotation" states="draft" position="replace">
  10. <button name="print_quotation" string="Imprimir" type="object" states="draft" class="oe_highlight" groups="base.group_user" invisible="1"/>
  11. </button>
  12. <button name="print_quotation" states="sent,progress,manual" position="replace">
  13. <button name="print_quotation2" string="Imprimir" type="object" states="sent,progress,manual" groups="base.group_user" invisible="1"/>
  14. </button>
  15. </field>
  16. </record>
  17. </data>
  18. </openerp>