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

Hi,

I have created a custom field under "res.partner" model and I want to save this field by xmlrpc protocol using a php script.

How can I change the "write" method inside res_partner.py in order to save this new field?

thanks

Ảnh đại diện
Huỷ bỏ

Hi @Alessandro have found any solution for this question, if yes then provide me bcuz i also looking for that, thnks

Câu trả lời hay nhất

You Can Override the write function in the res.partner to avoid the default write method conflict , check condition in the override function with new field .  

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
3474
1
thg 10 24
2517
1
thg 4 24
2624
0
thg 9 23
2011
1
thg 6 23
2475