'Returns the removal strategy to consider for the given move/ops'

def get_removal_strategy(self):

    if self.product_id.categ_id.removal_strategy_id:
        return self.product_id.categ_id.removal_strategy_id.method
    loc = self.location_id
    while loc:
        if loc.removal_strategy_id:
            return loc.removal_strategy_id.method
        loc = loc.location_id
    return 'fifo'
