Skip to content

Commit

Permalink
Merge pull request #506 from frePPLe/17.0
Browse files Browse the repository at this point in the history
Syncing from upstream frePPLe/odoo (17.0)
  • Loading branch information
bt-admin authored Mar 4, 2025
2 parents 5ad9ba8 + 3b56bc7 commit dddb2e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frepple/controllers/outbound.py
Original file line number Diff line number Diff line change
Expand Up @@ -2017,9 +2017,7 @@ def getReservedQuantity(stock_move_id):
reserved_quantity = 0
if stock_move_id in stock_moves_dict:
mv = stock_moves_dict[stock_move_id]
reserved_quantity = (
mv["quantity"] if mv["procure_method"] != "make_to_stock" else 0
)
reserved_quantity = mv["quantity"] or 0
for i in mv["move_orig_ids"]:
if i != stock_move_id:
reserved_quantity += getReservedQuantity(i)
Expand Down

0 comments on commit dddb2e9

Please sign in to comment.