reconciliation: use 'quantity_digits' for digits of start/end-quantity
This commit is contained in:
parent
ea7f114e94
commit
e79c68e75b
2 changed files with 8 additions and 7 deletions
|
@ -59,7 +59,7 @@ class Reconciliation(metaclass=PoolMeta):
|
|||
""" quantity_digits of cashbook
|
||||
"""
|
||||
if self.cashbook:
|
||||
return self.cashbook.currency.digits
|
||||
return self.cashbook.quantity_digits
|
||||
else:
|
||||
return 4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue