mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[RMV] - Remove active field
This commit is contained in:
@@ -61,13 +61,6 @@ class ContractLineForecastPeriod(models.Model):
|
|||||||
help='Discount that is applied in generated invoices.'
|
help='Discount that is applied in generated invoices.'
|
||||||
' It should be less or equal to 100',
|
' 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.multi
|
||||||
@api.depends('quantity', 'price_unit', 'discount')
|
@api.depends('quantity', 'price_unit', 'discount')
|
||||||
|
|||||||
Reference in New Issue
Block a user