Files
suite/timesheet_grid_description/views/timesheet_views.xml
Jared Kipe aa534c1aec [ADD] timesheet_grid_description: hide duplicative name field
when timesheet_grid is installed with timesheet_description
2022-01-09 14:24:35 -08:00

16 lines
604 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="timesheet_view_form_inherit" model="ir.ui.view">
<field name="name">account.analytic.line.form.inherit</field>
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="timesheet_grid.timesheet_view_form"/>
<field name="priority" eval="10000" />
<field name="arch" type="xml">
<!-- replace because name added to its own group via timesheet_description -->
<xpath expr="//sheet/group[last()]" position="replace" />
</field>
</record>
</odoo>