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.
30 lines
1.3 KiB
30 lines
1.3 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<!-- inherited tree view for all manufacturing timesheet-->
|
|
<record id="timesheet_view_tree_user" model="ir.ui.view">
|
|
<field name="name">account.analytic.line.view.tree.inherit.manufacturing.timesheet</field>
|
|
<field name="model">account.analytic.line</field>
|
|
<field name="inherit_id"
|
|
ref="hr_timesheet.timesheet_view_tree_user"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='unit_amount']"
|
|
position="after">
|
|
<field name="is_manufacturing" invisible="1"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- inherited tree view for my manufacturing timesheet-->
|
|
<record id="hr_timesheet_line_tree" model="ir.ui.view">
|
|
<field name="name">account.analytic.line.view.tree.inherit.manufacturing.timesheet</field>
|
|
<field name="model">account.analytic.line</field>
|
|
<field name="inherit_id"
|
|
ref="hr_timesheet.hr_timesheet_line_tree"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='unit_amount']"
|
|
position="after">
|
|
<field name="is_manufacturing" invisible="1"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|