fix price history link bug #96

This commit is contained in:
Raphaël Valyi
2019-06-19 12:44:57 -03:00
parent ce4fac8a10
commit 475993422e

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