Merge pull request #97 from akretion/12.0-fix-price-history

fix price history link bug #96
This commit is contained in:
David Beal
2019-06-20 08:38:44 +02:00
committed by GitHub

View File

@@ -22,7 +22,7 @@ class ProductTemplate(models.Model):
action = self.env['ir.actions.act_window'].for_xml_id(
'product_usability', 'product_price_history_action')
action.update({
'domain': "[('id', 'in', %s)]" % products.ids,
'domain': "[('product_id', 'in', %s)]" % products.ids,
})
return action