[FIX]rma_purchase calling wrong method

This commit is contained in:
Aaron Henriquez
2019-05-07 17:29:46 +02:00
parent 76bf10a5fb
commit 9bb944fd0e

View File

@@ -191,6 +191,6 @@ class RmaOrderLine(models.Model):
for line in self.manual_purchase_line_ids.filtered(
lambda p: p.state not in ('draft', 'sent', 'cancel')):
qty += uom_obj._compute_qty(
qty += uom_obj._compute_quantity(
self.uom_id.id, line.product_qty, line.product_uom.id)
return qty