mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
80 lines
3.8 KiB
XML
80 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record model="ir.ui.view" id="mrp_routing_form_view_inh_opeextension">
|
|
<field name="name">mrp.routing.form</field>
|
|
<field name="model">mrp.routing</field>
|
|
<field name="inherit_id" ref="mrp.mrp_routing_form_view" />
|
|
<field name="arch" type="xml">
|
|
<field name="active" position="after">
|
|
<field name="previous_operations_finished" />
|
|
</field>
|
|
</field>
|
|
</record>
|
|
<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="attrs">{'invisible': [('op_wc_lines', '!=', [])]}</attribute>
|
|
</field>
|
|
<field name="cycle_nbr" position="after">
|
|
<field name="previous_operations_finished" />
|
|
</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>
|