Show invoice line on timesheet form

Closes #4737
This commit is contained in:
Cédric Krier
2023-04-08 23:55:43 +02:00
parent 84d83120c5
commit 375d86c353
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -3,6 +3,11 @@
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="timesheet_line_view_form">
<field name="model">timesheet.line</field>
<field name="inherit" ref="timesheet.line_view_form"/>
<field name="name">timesheet_line_form</field>
</record>
<record model="ir.action.act_window" id="act_timesheet_line_form_invoice">
<field name="name">Timesheet Lines</field>
<field name="res_model">timesheet.line</field>
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
<xpath expr="//field[@name='description']" position="after">
<label name="invoice_line"/>
<field name="invoice_line"/>
<newline/>
</xpath>
</data>