diff --git a/purchase_order_product_recommendation_supermarket/wizards/purchase_order_recommendation.py b/purchase_order_product_recommendation_supermarket/wizards/purchase_order_recommendation.py index cc65484..ad14f13 100644 --- a/purchase_order_product_recommendation_supermarket/wizards/purchase_order_recommendation.py +++ b/purchase_order_product_recommendation_supermarket/wizards/purchase_order_recommendation.py @@ -190,6 +190,7 @@ class PurchaseOrderRecommendationSupermarketWizard(models.TransientModel): ): # If ordering by packages we later bump to one full package. qty_to_order = max(qty_to_order, 1) + res["is_modified"] = True res["units_included_original"] = qty_to_order # Adjust qty_to_order to packaging multiples if order_by_packages is checked