From c43acf561eeb201cbbd3eafc5ca07888ca2f5b96 Mon Sep 17 00:00:00 2001 From: sbejaoui Date: Tue, 30 Apr 2019 15:30:27 +0200 Subject: [PATCH] [RMV] - Remove active field --- contract_forecast/models/contract_line_forecast_period.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/contract_forecast/models/contract_line_forecast_period.py b/contract_forecast/models/contract_line_forecast_period.py index 56a31c62..eb34f461 100644 --- a/contract_forecast/models/contract_line_forecast_period.py +++ b/contract_forecast/models/contract_line_forecast_period.py @@ -61,13 +61,6 @@ class ContractLineForecastPeriod(models.Model): help='Discount that is applied in generated invoices.' ' It should be less or equal to 100', ) - active = fields.Boolean( - string="Active", - related="contract_line_id.active", - store=True, - readonly=True, - default=True, - ) @api.multi @api.depends('quantity', 'price_unit', 'discount')