mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] contract_variable_quantity: Migration to 12.0
This commit is contained in:
@@ -59,6 +59,7 @@ class AccountAnalyticContractLine(models.Model):
|
||||
|
||||
class ContractLineFormula(models.Model):
|
||||
_name = 'contract.line.qty.formula'
|
||||
_description = 'Contract Line Formula'
|
||||
|
||||
name = fields.Char(required=True, translate=True)
|
||||
code = fields.Text(required=True, default="result = 0")
|
||||
|
||||
Reference in New Issue
Block a user