[FIX] sale_timesheet: fix billable message positioning

Versions:
---------
- 17.0

Issue:
------
Message for flag timesheet from project as billable/non-billable
is misplaced.

Cause:
------
Xpath given for Message placed in sale_timsheet is not very specific.

Solution:
---------
Give accurate xpath for message div.

task-3630449

closes odoo/odoo#148880

Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
This commit is contained in:
kpt-odoo
2024-03-18 14:55:48 +00:00
committed by Xavier Bol (xbo)
parent 06e0a005a3
commit 8d07544a04
@@ -46,7 +46,7 @@
</p>
</page>
</xpath>
<xpath expr="//field[@name='allow_billable']" position="after">
<xpath expr="//page[@name='settings']//field[@name='allow_billable']" position="after">
<div invisible="not allow_billable or not allow_timesheets" class="text-muted">
Timesheets without a sales order item are
<field name="billing_type" nolabel="1"/>