[ADD] add `project_timesheet_funding_wish` addon

adds in the timesheet lines:
- ``funding wish`` field: user tells if we want to be paid for the
time spent
- ``treated`` field: tells if the timesheet line has been considered
in internal invoicing process

Task: JOI-13
This commit is contained in:
Stéphan Sainléger
2022-07-25 19:38:51 +02:00
parent 863116ffe7
commit 5b9f0d288d
8 changed files with 232 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="hr_timesheet_line_tree_funding_view" model="ir.ui.view">
<field name="name">hr.timesheet.line.tree.funding.view</field>
<field name="model">account.analytic.line</field>
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree" />
<field name="arch" type="xml">
<xpath expr="//field[@name='date']" position="after">
<field name="treated" />
<field name="funding_wish" />
</xpath>
</field>
</record>
</odoo>