Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4297 มุมมอง

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. 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
เม.ย. 24
7142
Add Supplier to Products via Script แก้ไขแล้ว
6
ต.ค. 15
5470
0
มี.ค. 15
5164
1
มี.ค. 15
6075
2
มี.ค. 15
5307