[FIX] sale_project: create project from SOL with allow_billable
This commit purpose is to ensure that projects created from a SOL are created with `allow_billable` set to `True` task-2992614 closes odoo/odoo#104386 X-original-commit: b9cecb5a77b02542a06f144a01b6f1f90b873c96 Related: odoo/enterprise#33356 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
@@ -150,6 +150,7 @@ class SaleOrderLine(models.Model):
|
||||
'sale_line_id': self.id,
|
||||
'active': True,
|
||||
'company_id': self.company_id.id,
|
||||
'allow_billable': True,
|
||||
}
|
||||
|
||||
def _timesheet_create_project(self):
|
||||
|
||||
Reference in New Issue
Block a user