From 3e20de2309b657a4818c48379cb31b211331dede Mon Sep 17 00:00:00 2001 From: luis Date: Thu, 19 Jun 2025 18:08:53 +0200 Subject: [PATCH] purchase_order_product_recommendation_supermarket: number of recommendations without limit by default --- .../wizards/purchase_order_recommendation.py | 3 +++ 1 file changed, 3 insertions(+) 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 c54c2e9..230adcf 100644 --- a/purchase_order_product_recommendation_supermarket/wizards/purchase_order_recommendation.py +++ b/purchase_order_product_recommendation_supermarket/wizards/purchase_order_recommendation.py @@ -48,6 +48,9 @@ class PurchaseOrderRecommendationSupermarketWizard(models.TransientModel): compute="_compute_order_total_amount", readonly=True, ) + line_amount = fields.Integer( + default=0, + ) @api.depends("date_begin", "date_end") def _compute_total_days(self):