add splitline
This commit is contained in:
parent
90fbfa3fde
commit
b9b500624e
13 changed files with 299 additions and 27 deletions
8
mixin.py
8
mixin.py
|
@ -82,10 +82,10 @@ class SecondUomMixin(object):
|
|||
))
|
||||
|
||||
values['quantity_2nd_uom'] = Decimal(UOM.compute_qty(
|
||||
from_uom,
|
||||
float(quantity),
|
||||
booktransf.quantity_uom,
|
||||
round=False,
|
||||
from_uom,
|
||||
float(quantity),
|
||||
booktransf.quantity_uom,
|
||||
round=False,
|
||||
)).quantize(Decimal(
|
||||
Decimal(1) / 10 ** booktransf.quantity_digits)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue