Merge pull request #97 from akretion/12.0-fix-price-history
fix price history link bug #96
This commit is contained in:
@@ -22,7 +22,7 @@ class ProductTemplate(models.Model):
|
|||||||
action = self.env['ir.actions.act_window'].for_xml_id(
|
action = self.env['ir.actions.act_window'].for_xml_id(
|
||||||
'product_usability', 'product_price_history_action')
|
'product_usability', 'product_price_history_action')
|
||||||
action.update({
|
action.update({
|
||||||
'domain': "[('id', 'in', %s)]" % products.ids,
|
'domain': "[('product_id', 'in', %s)]" % products.ids,
|
||||||
})
|
})
|
||||||
return action
|
return action
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user