Replace int to float round qty when is not null in compute_quantities_query method
From changeset-08a0f931651b
This commit is contained in:
parent
bf2dc119fd
commit
35cac8a2b6
|
@ -88,6 +88,6 @@ diff -r f95dbecc064f trytond/trytond/modules/stock/move.py
|
|||
location = key[0]
|
||||
uom = default_uom[id_getter(key)]
|
||||
- quantities[key] = uom.round(quantity)
|
||||
+ quantities[key] = uom.round(quantity) if quantity else 0
|
||||
+ quantities[key] = uom.round(quantity) if quantity else 0.0
|
||||
|
||||
return quantities
|
||||
|
|
Loading…
Reference in New Issue