Skip to content

Commit 50164e3

Browse files
committed
Merge PR #3926 into 18.0
Signed-off-by rousseldenis
2 parents 3a3bddc + 8b6af01 commit 50164e3

File tree

1 file changed

+1
-1
lines changed
  • sale_procurement_group_by_line/model

1 file changed

+1
-1
lines changed

sale_procurement_group_by_line/model/sale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _action_launch_stock_rule(self, previous_product_uom_qty=False):
4646
or line.product_id.type != "consu"
4747
):
4848
continue
49-
qty = line._get_qty_procurement(previous_product_uom_qty)
49+
qty = line._get_qty_procurement(previous_product_uom_qty) or 0.0
5050
if (
5151
float_compare(qty, line.product_uom_qty, precision_digits=precision)
5252
== 0

0 commit comments

Comments
 (0)