Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion smile_product_uom_multi/models/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _compute_qty(self, cr, uid, from_uom_id, qty, to_uom_id=False, round=True, c
from_unit, to_unit = uoms[0], uoms[-1]
else:
from_unit, to_unit = uoms[-1], uoms[0]
return self._compute_qty_obj(cr, uid, from_unit, qty, to_unit, round, context)
return self._compute_qty_obj(cr, uid, from_unit, qty, to_unit, round, context=context)

def _convert_qty(self, cr, uid, qty, unit, product, is_from_unit=True):
import operator
Expand Down