Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1138 Lượt xem

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



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 22
3067
1
thg 6 19
4832
4
thg 5 15
5488
1
thg 3 15
10551
3
thg 3 15
6297