Skip to content

Commit

Permalink
Revert "[FIX] stock_available_mrp: increment potencial_qty to immedia…
Browse files Browse the repository at this point in the history
…tely_usable_qty instead of replacing it"

This reverts commit cafe1b0.
  • Loading branch information
ACheung-FactorLibre committed Dec 9, 2024
1 parent cafe1b0 commit c6df022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stock_available_mrp/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def _compute_available_quantities_dict(self):
)

res[product.id]["potential_qty"] = potential_qty
res[product.id]["immediately_usable_qty"] += potential_qty
res[product.id]["immediately_usable_qty"] = potential_qty

return res, stock_dict

Expand Down

0 comments on commit c6df022

Please sign in to comment.