Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: 604cc1a4 by Cédric Krier at 2023-04-08T23:55:43+02:00 Show invoice line on timesheet form Closes #4737 - - - - - 2 changed files: - modules/project_invoice/timesheet.xml - + modules/project_invoice/view/timesheet_line_form.xml Changes: ===================================== modules/project_invoice/timesheet.xml ===================================== @@ -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> ===================================== modules/project_invoice/view/timesheet_line_form.xml ===================================== @@ -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> View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/604cc1a4adc5d4daaa86c71016441ba0a9e259d7 -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/604cc1a4adc5d4daaa86c71016441ba0a9e259d7 You're receiving this email because of your account on foss.heptapod.net.