Files
manufacture/mrp_operations_extension/views/mrp_routing_view.xml
Pedro M. Baeza 23c6cbf99e [FIX+IMP] mrp_operations_extension
FIX: Operation where is production properly handled
IMP: Some views enhanced
FIX: No warning at MO confirmation if there is no route.
IMP: Show cycle length and capacity in route.
FIX: Propagate capacity data.
2015-12-04 18:41:25 +01:00

69 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="mrp_routing_workcenter_tree_view_inh" model="ir.ui.view">
<field name="name">mrp.routing.workcenter.tree.inh</field>
<field name="model">mrp.routing.workcenter</field>
<field name="inherit_id" ref="mrp.mrp_routing_workcenter_tree_view" />
<field name="arch" type="xml">
<field name="name" position="before">
<field name="operation" />
</field>
<field name="workcenter_id" position="attributes">
<attribute name="string">Default workcenter</attribute>
</field>
<field name="hour_nbr" position="attributes">
<attribute name="sum">Total</attribute>
</field>
<field name="cycle_nbr" position="attributes">
<attribute name="sum">Total</attribute>
</field>
<field name="company_id" position="before">
<field name="do_production" />
</field>
</field>
</record>
<record id="mrp_routing_workcenter_form_view_inh" model="ir.ui.view">
<field name="name">mrp.routing.workcenter.form.inh</field>
<field name="model">mrp.routing.workcenter</field>
<field name="inherit_id" ref="mrp.mrp_routing_workcenter_form_view" />
<field name="arch" type="xml">
<field name="name" position="before">
<field name="operation" colspan="4"/>
</field>
<field name="workcenter_id" position="attributes">
<attribute name="invisible">1</attribute>
</field>
<field name="cycle_nbr" position="attributes">
<attribute name="invisible">1</attribute>
</field>
<field name="hour_nbr" position="attributes">
<attribute name="invisible">1</attribute>
</field>
<field name="company_id" position="before">
<field name="do_production" />
</field>
<label for="note" position="before">
<group string="Possible workcenters">
<field name="op_wc_lines" nolabel="1">
<tree editable="bottom">
<field name="workcenter" />
<field name="time_efficiency" />
<field name="capacity_per_cycle" />
<field name="time_start" widget="float_time" />
<field name="time_stop" widget="float_time" />
<field name="time_cycle" widget="float_time" />
<field name="op_number" />
<field name="op_avg_cost" />
<field name="default" />
</tree>
</field>
</group>
</label>
</field>
</record>
</data>
</openerp>