Hi
I need a trigger value,
cost_store_triggers = {'product.product':(_get_replace_cost, ['cost'], 5)}
In that case I need a recomputed value for all related (parent and child product cost) product cost so I used this trigger, but it's not working.
Cost = fields. Float (string='Cost', compute=_get_replace_cost, store=cost_store_triggers)