[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:
11
project_timesheet_funding_wish/models/hr_timesheet.py
Normal file
11
project_timesheet_funding_wish/models/hr_timesheet.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import _, fields, models
|
||||
|
||||
class AccountAnalyticLine(models.Model):
|
||||
_inherit = 'account.analytic.line'
|
||||
|
||||
funding_wish = fields.Selection([("free", "Free"),("accepted", "Payment accepted"),("expected", "Payment expected")], string=_("Funding wish"), copy=False)
|
||||
treated = fields.Boolean(string=_("Treated"), copy=False)
|
||||
|
||||
|
Reference in New Issue
Block a user