bug fix for price update
This commit is contained in:
parent
56b755039d
commit
58e49f0db5
1 changed files with 2 additions and 2 deletions
|
|
@ -85,11 +85,11 @@ class PriceNoticeMailing(models.Model):
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
if self.product_template_ids:
|
if self.product_template_ids:
|
||||||
so_domain = [
|
so_domain = [(
|
||||||
"order_line.product_tmpl_id",
|
"order_line.product_tmpl_id",
|
||||||
"in",
|
"in",
|
||||||
self.product_template_ids.ids,
|
self.product_template_ids.ids,
|
||||||
] + so_domain
|
)] + so_domain
|
||||||
sale_ids = self.env["sale.order"].search(so_domain)
|
sale_ids = self.env["sale.order"].search(so_domain)
|
||||||
|
|
||||||
# Retrieve purchased products and limit to the selected product
|
# Retrieve purchased products and limit to the selected product
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue