'Returns an action that display the history of the quant, which
mean all the stock moves that lead to this quant creation with this
quant quantity.'

@api.multi
def action_view_quant_history(self):

    action = self.env.ref('stock', 'stock_move_action').read()[0]
    action['domain'] = [('id', 'in', self.mapped('history_ids').ids)]
    return action
