Skip to Content
Menu
This question has been flagged
2 Replies
4233 Rodiniai

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,

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Autorius Best Answer

Thank you for the response. 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
bal. 24
6567
6
spal. 15
5409
0
kov. 15
5116
1
kov. 15
6018
2
kov. 15
5235