mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[ADD] timesheet_grid_description: hide duplicative name field
when timesheet_grid is installed with timesheet_description
This commit is contained in:
15
timesheet_grid_description/views/timesheet_views.xml
Normal file
15
timesheet_grid_description/views/timesheet_views.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user