summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorSEINLET Nicolas <nse@odoo.com>2020-05-25 14:16:33 +0000
committerChristophe Simonis <chs@odoo.com>2020-05-27 16:32:17 +0000
commitba20e42cc3acdb16f7dffb5d15e8d9cdf9f153ce (patch)
treefe4f38a437ffd164acc7bb4815933fca3ead73c8 /addons
parentedad9aacd6f9c53b72cb75ad36123711fb03c2b0 (diff)
[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>
Diffstat (limited to 'addons')
-rw-r--r--addons/sale_timesheet/views/sale_order_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale_timesheet/views/sale_order_views.xml b/addons/sale_timesheet/views/sale_order_views.xml
index 7e97299d165..110da217c63 100644
--- a/addons/sale_timesheet/views/sale_order_views.xml
+++ b/addons/sale_timesheet/views/sale_order_views.xml
@@ -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">