[IMP] mrp_production_real_cost: Reorganize views

This commit is contained in:
Pedro M. Baeza
2015-02-19 23:28:57 +01:00
parent d850270d0d
commit 43cee0dcc6
2 changed files with 4 additions and 2 deletions

View File

@@ -25,7 +25,9 @@
"mrp_operations_time_control",
"stock_account",
"mrp_production_project_estimated_cost"],
"author": "OdooMRP team",
"author": "OdooMRP team,"
"AvanzOSC,"
"Serv. Tecnol. Avanzados - Pedro M. Baeza",
"category": "MRP",
"description": """
- This module allows to control the real cost of a production order,

View File

@@ -6,7 +6,7 @@
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp_production_project_estimated_cost.mrp_production_form_view_inh_estimatedcost"/>
<field name="arch" type="xml">
<field name="unit_avg_cost" position="after">
<field name="product_manual_cost" position="after">
<field name="real_cost" attrs="{'invisible': [('state', '!=', 'done')]}"/>
<field name="unit_real_cost" attrs="{'invisible': [('state', '!=', 'done')]}"/>
</field>