Browse Source

Merge pull request #286 from coopdevs/feature/quantity_decimal_precision_contract_line

Decimal precision in Quantity of Contract Lines
pull/299/head
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
01553a1d6b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      contract/models/account_analytic_contract_line.py

1
contract/models/account_analytic_contract_line.py

@ -35,6 +35,7 @@ class AccountAnalyticContractLine(models.Model):
) )
quantity = fields.Float( quantity = fields.Float(
default=1.0, default=1.0,
digits=dp.get_precision('Product Unit of Measure'),
required=True, required=True,
) )
uom_id = fields.Many2one( uom_id = fields.Many2one(

Loading…
Cancel
Save