Browse Source

[RMV] - Remove active field

pull/283/head
sbejaoui 5 years ago
parent
commit
c43acf561e
  1. 7
      contract_forecast/models/contract_line_forecast_period.py

7
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')

Loading…
Cancel
Save