跳至內容
選單
此問題已被標幟
2 回覆
4274 瀏覽次數

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
4月 24
6905
6
10月 15
5451
0
3月 15
5147
1
3月 15
6057
2
3月 15
5287