예제 #1
0
파일: cyg_apu.py 프로젝트: fadeldamen/cyg
 def onchange_mayusculas(self, cr, uid, ids, texto, field_name):
     res = {}
     if texto:
         txt1 = cambiarTildes(texto.encode('UTF-8'))
         txt = txt1.upper()
         res['value'] = {field_name: txt}
     return res
예제 #2
0
 def onchange_mayusculas(self, cr, uid, ids, texto, field_name):
     res = {}
     if texto:
         txt1 = cambiarTildes(texto.encode('UTF-8'))
         txt = txt1.upper()
         res['value'] = {field_name: txt}
     return res