@ -4,7 +4,7 @@
{
'name': 'Variable quantity in contract recurrent invoicing',
'version': '11.0.1.1.0',
'version': '11.0.1.2.0',
'category': 'Contract Management',
'license': 'AGPL-3',
'author': "Tecnativa,"
@ -56,7 +56,7 @@ class AccountAnalyticInvoiceLine(models.Model):
class ContractLineFormula(models.Model):
_name = 'contract.line.qty.formula'
name = fields.Char(required=True)
name = fields.Char(required=True, translate=True)
code = fields.Text(required=True, default="result = 0")
@api.constrains('code')