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
11 lines
373 B
Python
11 lines
373 B
Python
# -*- 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)
|
|
|
|
|