[IMP] mrp, project_mrp, stock: usbility of product form view
bzr revid: qdp-launchpad@openerp.com-20131220103333-3sftj95kg56637rz
This commit is contained in:
parent
6b316a3000
commit
3972c0948c
|
@ -543,7 +543,7 @@
|
|||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='procurement_uom']" position="before">
|
||||
<xpath expr="//group[@name='procurement_uom']" position="after">
|
||||
<group name="delay" string="Delays" attrs="{'invisible':[('type','=','service')]}">
|
||||
<label for="produce_delay" />
|
||||
<div attrs="{'invisible':[('type','=','service')]}">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='general']" position="after">
|
||||
<xpath expr="//group[@name='procurement_uom']" position="after">
|
||||
<group string="Project Management Information" attrs="{'invisible': [('type', '!=', 'service')]}">
|
||||
<field name="auto_create_task"/>
|
||||
<field name="project_id" attrs="{'invisible':['|', ('type','!=','service'), ('auto_create_task', '=', False)]}"/>
|
||||
|
|
|
@ -1869,7 +1869,7 @@
|
|||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
|
||||
<xpath expr="//group[@name='general']" position="after" >
|
||||
<xpath expr="//group[@name='procurement_uom']" position="after" >
|
||||
<newline/>
|
||||
<group string="Supply Chain Information" attrs="{'invisible': [('type', '=', 'service')]}">
|
||||
<field name="route_ids" widget="many2many_checkboxes"/>
|
||||
|
|
Loading…
Reference in New Issue