From a0ff56ade2a512c1d9b1294f4108a169c7746b6e Mon Sep 17 00:00:00 2001 From: Marc Durepos Date: Tue, 10 Dec 2024 09:34:10 -0500 Subject: [PATCH] fix product_template_id field ref on sale order line for price update notif --- price_update_notifications/models/price_notice_mailing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/price_update_notifications/models/price_notice_mailing.py b/price_update_notifications/models/price_notice_mailing.py index c50aa50..92fcee2 100644 --- a/price_update_notifications/models/price_notice_mailing.py +++ b/price_update_notifications/models/price_notice_mailing.py @@ -86,7 +86,7 @@ class PriceNoticeMailing(models.Model): ] if self.product_template_ids: so_domain = [( - "order_line.product_tmpl_id", + "order_line.product_template_id", "in", self.product_template_ids.ids, )] + so_domain