<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
- <xpath expr="//header/button[@name='invoice_corrected']" position="after">
- <button name="open_quotation" string="View Quotation" type="object"
+ <xpath expr="//header/button[@name='action_button_confirm']" position="before">
+ <button name="open_quotation" string="Preview Quotation" type="object"
attrs="{'invisible': [('template_id','=',False)]}"/>
</xpath>
<xpath expr="//page[@string='Order Lines']" position="after">
</xpath>
<xpath expr="//field[@name='client_order_ref']" position="after">
<field name="template_id" on_change="onchange_template_id(template_id, partner_id, fiscal_position)"/>
- <field name="validity_date"/>
<field name="website_description" invisible="1"/>
</xpath>
</field>