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

Hi,


Right now I could specify one or more suppliers for a product. Things are fine if I choose the right supplier for the product. However if I choose a wrong supplier for a product, odoo automatically adds the supplier to the list of suppliers for the product. 


Is there a way to avoid this and limit the product to be ordered only from the pre-defined supplier. 


Thank you,

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

Either override that particular method which calls supplier_add if the new supplier has given or Try to validate constraints for the supplier. 

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

Thank you for the response. 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أبريل 24
6570
6
أكتوبر 15
5410
0
مارس 15
5117
1
مارس 15
6019
2
مارس 15
5236