Browse Source

Use the decimal precision 'Product Unit of Measure' in the quantity field of Contract Line

pull/286/head
Daniel Palomar 6 years ago
parent
commit
467fb8c02e
  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(
default=1.0,
digits=dp.get_precision('Product Unit of Measure'),
required=True,
)
uom_id = fields.Many2one(

Loading…
Cancel
Save