diff --git a/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py b/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py index adfce8a44..3168a5f6a 100644 --- a/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py +++ b/stock_orderpoint_manual_procurement/wizards/make_procurement_orderpoint.py @@ -70,7 +70,7 @@ class MakeProcurementOrderpoint(models.TransientModel): try: self.env['procurement.group'].run( item.orderpoint_id.product_id, - values.get('qty'), + item.qty, item.orderpoint_id.product_uom, item.orderpoint_id.location_id, item.orderpoint_id.name,