تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2905 أدوات العرض

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

الصورة الرمزية
إهمال

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

أفضل إجابة

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 .  

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يوليو 25
2836
1
أكتوبر 24
2060
1
أبريل 24
2092
0
سبتمبر 23
1648
1
يونيو 23
2140