@api.onchange('use_leads', 'use_opportunities')
def _onchange_use_leads_opportunities(self):
    if ((not self.use_leads) and (not self.use_opportunities)):
        self.alias_name = False
@api.onchange('use_leads', 'use_opportunities')
def _onchange_use_leads_opportunities(self):
    if ((not self.use_leads) and (not self.use_opportunities)):
        self.alias_name = False