Skip to content

Commit

Permalink
Merge pull request #485 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 Oct 24, 2024
2 parents 85dde17 + abcdbba commit 2b47203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frepple/controllers/outbound.py
Original file line number Diff line number Diff line change
Expand Up @@ -2060,7 +2060,7 @@ def getReservedQuantity(stock_move_id):
),
due,
priority,
j["picking_policy"] == "one" and qty or 0.0,
qty - reserved_quantity if j["picking_policy"] == "one" and qty - reserved_quantity > 0 else 0.0,
"open" if qty - reserved_quantity > 0 else "closed",
quoteattr(product["name"]),
quoteattr(customer),
Expand Down Expand Up @@ -2120,7 +2120,7 @@ def getReservedQuantity(stock_move_id):
qty,
due,
priority,
j["picking_policy"] == "one" and qty or 0.0,
qty if j["picking_policy"] == "one" and qty > 0 else 0.0,
status,
quoteattr(product["name"]),
quoteattr(customer),
Expand Down

0 comments on commit 2b47203

Please sign in to comment.