You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.2 KiB
28 lines
1.2 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- inherited tree view of mrp workorder to add employee_id -->
|
|
<record id="mrp_production_workorder_tree_view" model="ir.ui.view">
|
|
<field name="name">mrp.workorder.view.tree.inherit.manufacturing.timesheet</field>
|
|
<field name="model">mrp.workorder</field>
|
|
<field name="inherit_id" ref="mrp.mrp_production_workorder_tree_view"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='production_id']"
|
|
position="after">
|
|
<field name="employee_id"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- inherited form view of mrp work order to add employee_id-->
|
|
<record id="mrp_production_workorder_form_view" model="ir.ui.view">
|
|
<field name="name">mrp.workorder.view.form.inherit.manufacturing.timesheet</field>
|
|
<field name="model">mrp.workorder</field>
|
|
<field name="inherit_id" ref="mrp.mrp_production_workorder_form_view_inherit"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='production_id']"
|
|
position="after">
|
|
<field name="employee_id"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|