Skip to content

Commit

Permalink
fix: error negative demand eg: "-1.4210854715202004e-14"
Browse files Browse the repository at this point in the history
  • Loading branch information
dnplkndll committed May 30, 2024
1 parent bf31b3d commit 64453e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frepple/controllers/outbound.py
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ def export_salesorders(self):
else "%s %d %d" % (i["order_id"][1], cnt, i["id"])
),
quoteattr(batch),
qty,
odoo.tools.float_round((qty,8),
due,
priority,
j["picking_policy"] == "one" and qty or 0.0,
Expand Down

0 comments on commit 64453e3

Please sign in to comment.