Ir al contenido
Menú
Se marcó esta pregunta
1061 Vistas

How do I display the value of my keyset field


keyset_key = fields.Json()

	​
def read(self, fields=None, load='_classic_read'):       
​records = super(InsuranceClients, self).read(fields, load)        ​ for record in records:                                    ​if record['keyset_key']:
      ​print("keyset_key - ", record['keyset_key'])                   
return records

 I want to retrieve the field value in odoo's read function for modification but the field is not displayed in the records



Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
sept 22
2950
1
jun 19
4772
4
may 15
5432
1
mar 15
10453
3
mar 15
6216