[IMP] change name of view Quotation to Preview Quotationand also chnage position

[IMP] change inherit button
This commit is contained in:
avo-odoo
2014-07-18 12:50:27 +05:30
parent aa335f0b9f
commit 92f6fbce38
@@ -6,8 +6,8 @@
<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">