Remove SO from quotations menu

Port sale_quotation_title to v10
This commit is contained in:
Alexis de Lattre
2016-11-02 19:57:53 +01:00
parent e4fb2c8363
commit 79826ab525
3 changed files with 15 additions and 12 deletions

View File

@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 Akretion (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __openerp__.py
© 2016 Akretion (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<openerp>
<data>
<odoo>
<record id="view_order_tree" model="ir.ui.view">
<field name="name">quotation_title.sale_order_tree</field>
@@ -35,11 +35,14 @@
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="arch" type="xml">
<field name="client_order_ref" position="before">
<field name="quotation_title"/>
<field name="name" position="attributes">
<attribute name="class">oe_inline</attribute>
</field>
<xpath expr="//field[@name='name']" position="after">
<field name="quotation_title" class="oe_inline"/>
</xpath>
</field>
</record>
</data>
</openerp>
</odoo>