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

Increasing Merge contacts count in ODOO10  is allowing only 3 contacts to be merged.

Is there way to increase the merge count to 5 or more so that we can do this merging faster.


الصورة الرمزية
إهمال
أفضل إجابة

Hi Tenth,

Yes this is possible. You will have to override the _merge function for the "base.partner.merge.automatic.wizard" model and change the limit from 3 to 5 or any other number you like. You can find the code at https://github.com/odoo/odoo/blob/1bfe147f89f81a07028b91083974f768e1975fa6/addons/crm/wizard/base_partner_merge.py#L298-L299 
You will have to change this line:

if len(partner_ids) > 3: # Change this number to 5 or any number you'd like.

Regards,
Yenthe

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 22
1842
2
أكتوبر 24
2764
2
مارس 22
2954
2
أغسطس 25
2354
1
يوليو 25
868