mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
Use the decimal precision 'Product Unit of Measure' in the quantity field of Contract Line
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user