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):