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