[IMP] mrp, product, stock, project_mrp: usability of product form view
bzr revid: qdp-launchpad@openerp.com-20131220095806-16siwncivyuokrym
This commit is contained in:
@@ -551,9 +551,6 @@
|
||||
</div>
|
||||
</group>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='standard_price']" position="after">
|
||||
<field name="active" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -96,14 +96,13 @@
|
||||
<page string="Procurements" groups="base.group_user">
|
||||
<group name="procurement">
|
||||
<group name="general">
|
||||
<field name="active"/>
|
||||
<field name="standard_price"/>
|
||||
</group>
|
||||
<group name="procurement_uom" groups="product.group_uom" string="Purchase">
|
||||
<field name="uom_po_id"/>
|
||||
</group>
|
||||
</group>
|
||||
<label for="active"/>
|
||||
<field name="active"/>
|
||||
<separator string="Description for Suppliers"/>
|
||||
<field name="description_purchase" placeholder="This note will be displayed on requests for quotation..."/>
|
||||
</page>
|
||||
|
||||
@@ -16,10 +16,12 @@
|
||||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="type" position="after">
|
||||
<field name="project_id" attrs="{'invisible':[('type','!=','service')]}" />
|
||||
<field name="auto_create_task" attrs="{'invisible': [('type', '!=', 'service')]}"/>
|
||||
</field>
|
||||
<xpath expr="//group[@name='general']" 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)]}"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="task_type_edit_mrp_inherit" model="ir.ui.view">
|
||||
|
||||
@@ -1871,7 +1871,7 @@
|
||||
|
||||
<xpath expr="//group[@name='general']" position="after" >
|
||||
<newline/>
|
||||
<group string="Supply Chain Information">
|
||||
<group string="Supply Chain Information" attrs="{'invisible': [('type', '=', 'service')]}">
|
||||
<field name="route_ids" widget="many2many_checkboxes"/>
|
||||
</group>
|
||||
<newline/>
|
||||
|
||||
Reference in New Issue
Block a user