[ADD] - Add multi-company to forecasts

This commit is contained in:
sbejaoui
2019-09-03 10:40:00 +02:00
parent c43acf561e
commit 28d0d8d5fb
6 changed files with 31 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ class ContractLineForecastPeriod(models.Model):
help='Discount that is applied in generated invoices.'
' It should be less or equal to 100',
)
company_id = fields.Many2one(comodel_name="res.company", string="Company")
@api.multi
@api.depends('quantity', 'price_unit', 'discount')