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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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( |
|
|
|