[IMP] mrp, product, stock, project_mrp: usability of product form view

bzr revid: qdp-launchpad@openerp.com-20131220095806-16siwncivyuokrym
This commit is contained in:
Quentin (OpenERP)
2013-12-20 10:58:06 +01:00
parent 5c9cf53177
commit ee9aa9ffd4
4 changed files with 8 additions and 10 deletions
-3
View File
@@ -551,9 +551,6 @@
</div>
</group>
</xpath>
<xpath expr="//field[@name='standard_price']" position="after">
<field name="active" />
</xpath>
</field>
</record>
+1 -2
View File
@@ -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>
+6 -4
View File
@@ -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">
+1 -1
View File
@@ -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/>