diff --git a/contract/models/account_analytic_contract_line.py b/contract/models/account_analytic_contract_line.py index 9dbb0f05..5143c901 100644 --- a/contract/models/account_analytic_contract_line.py +++ b/contract/models/account_analytic_contract_line.py @@ -35,6 +35,7 @@ class AccountAnalyticContractLine(models.Model): ) quantity = fields.Float( default=1.0, + digits=dp.get_precision('Product Unit of Measure'), required=True, ) uom_id = fields.Many2one(