From 58e49f0db5d7bdfa6c41fc0b5e1e422ce897d050 Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Tue, 10 Dec 2024 09:12:26 -0500 Subject: [PATCH] bug fix for price update --- price_update_notifications/models/price_notice_mailing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/price_update_notifications/models/price_notice_mailing.py b/price_update_notifications/models/price_notice_mailing.py index f953302..c50aa50 100644 --- a/price_update_notifications/models/price_notice_mailing.py +++ b/price_update_notifications/models/price_notice_mailing.py @@ -85,11 +85,11 @@ class PriceNoticeMailing(models.Model): ), ] if self.product_template_ids: - so_domain = [ + so_domain = [( "order_line.product_tmpl_id", "in", self.product_template_ids.ids, - ] + so_domain + )] + so_domain sale_ids = self.env["sale.order"].search(so_domain) # Retrieve purchased products and limit to the selected product