[IMP] mrp(_account): customize measures for MO graph/pivot
Hide useless measures: - "Backorder Sequence" - "Extra Cost" - "Quantity to Produce" (same as "Total Quantity", but not standardized to product's UoM) Renames confusingly named measures: - "Quantity Producing" => "Quantity Produced" (i.e. amount actually produced) - "Total Quantity" => "Product Quantity" (i.e. amount scheduled to be produced in product's UoM) Part 3.1 of task: 2440068 Related ENT PR: odoo/enterprise#20169 Part-of: odoo/odoo#74951
This commit is contained in:
@@ -468,7 +468,10 @@
|
||||
<field name="arch" type="xml">
|
||||
<graph string="Manufacturing Orders" type="bar" stacked="False" sample="1">
|
||||
<field name="date_planned_finished"/>
|
||||
<field name="product_uom_qty" type="measure" />
|
||||
<field name="product_uom_qty" type="measure"/>
|
||||
<field name="backorder_sequence" invisible="1"/>
|
||||
<field name="qty_producing" string="Quantity Produced"/>
|
||||
<field name="product_uom_qty" string= "Product Quantity"/>
|
||||
</graph>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -16,4 +16,15 @@
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_production_graph_inherit_mrp_account" model="ir.ui.view">
|
||||
<field name="name">mrp.production.graph.inherited.mrp.account</field>
|
||||
<field name="model">mrp.production</field>
|
||||
<field name="inherit_id" ref="mrp.view_production_graph"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//graph" position="inside">
|
||||
<field name="extra_cost" invisible="1"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user