[FIX] procurement: added back the logistic group in res.company form view for other modules to add fields in it

bzr revid: qdp-launchpad@openerp.com-20140403080038-qjgwt2l5p336oae4
This commit is contained in:
Quentin (OpenERP) 2014-04-03 10:00:38 +02:00
parent d33876ffc6
commit 63a6dc1d0f
2 changed files with 21 additions and 0 deletions

View File

@ -49,6 +49,7 @@ depending on the product's configuration.
'procurement_data.xml',
'wizard/schedulers_all_view.xml',
'procurement_view.xml',
'company_view.xml',
],
'demo': [],
'test': ['test/procurement.yml'],

View File

@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<openerp>
<data>
<record id="mrp_company" model="ir.ui.view">
<field name="name">res.company.mrp.config</field>
<field name="model">res.company</field>
<field name="priority">17</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='account_grp']" position="after">
<group name="logistics_grp" string="Logistics">
<!-- This group will be filled by other modules like sale_stock, mrp, purchase... -->
</group>
</xpath>
</field>
</record>
</data>
</openerp>