'"give a unique alias name if given alias name is already assigned'

@api.multi
def write(self, vals):

    if (vals.get('alias_name') and self.ids):
        vals['alias_name'] = self._clean_and_make_unique(vals.get('alias_name'), alias_ids=self.ids)
    return super(Alias, self).write(vals)
