def domain(kw):
s = kw.get('specific_gear_shifting')
return s == method or (kw.get('use_dt_gear_shifting') and s == 'ALL')
def domain(kw):
s = kw.get('specific_gear_shifting')
return s == method or (kw.get('use_dt_gear_shifting') and s == 'ALL')