12345678910111213141516171819 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record model="ir.ui.view" id="new_pdf_format_sale_form">
- <field name="name">new_pdf_format_sale_form</field>
- <field name="model">sale.order</field>
- <field name="inherit_id" ref="sale.view_order_form"/>
- <field name="arch" type="xml">
- <button name="print_quotation" states="draft" position="replace">
- <button name="print_quotation" string="Imprimir" type="object" states="draft" class="oe_highlight" groups="base.group_user" invisible="1"/>
- </button>
- <button name="print_quotation" states="sent,progress,manual" position="replace">
- <button name="print_quotation2" string="Imprimir" type="object" states="sent,progress,manual" groups="base.group_user" invisible="1"/>
- </button>
- </field>
- </record>
- </data>
- </openerp>
|