Ok, i see i tried this but it doesnt work, maybe i'm missing something?
This is the field i want to show in the object 'b' view, which is implemented in class 'a' called 'lopd.fichero':
Code:
'nivel':fields.selection([('nivel1','Básico'),('nivel2','Medio'),('nivel3','Alto')],'Nivel', required= True),
And i tried this:
Code:
class
'fichero':fields.many2one('lopd.fichero','Seleccione el fichero que se va a evaluar', required=True),
'nivel':fields.related('nivel', 'nivel', type="selection", relation="lopd.fichero", string="Nivel de seguridad del fichero", store=False),
What am i doing wrong?