[FIX] sale_timesheet: ensure proper view inheritance

inherit the view which contains the items you're relying on.

closes odoo/odoo#52017

X-original-commit: 03dacc25ef46718a00fa7a1e0440813132600bfe
Signed-off-by: Christophe Simonis <chs@odoo.com>
This commit is contained in:
SEINLET Nicolas
2020-05-27 16:32:17 +00:00
committed by Christophe Simonis
parent edad9aacd6
commit ba20e42cc3
@@ -3,7 +3,7 @@
<record id="view_order_form_inherit_sale_timesheet" model="ir.ui.view">
<field name="name">sale.order.form.sale.timesheet</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="inherit_id" ref="sale_project.view_order_form_inherit_sale_project"/>
<field name="arch" type="xml">
<data>
<xpath expr="//button[@name='action_view_project_ids']" position="attributes">