Merge pull request #1381 from odoo-dev/master-sale-quotation-button-rename-avo

[IMP] website_quote: rename and move 'view quotation' button
This commit is contained in:
Thibault Delavallée
2014-07-29 16:30:18 +02:00
@@ -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">