Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4264 Переглядів

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
6821
6
жовт. 15
5435
0
бер. 15
5138
1
бер. 15
6051
2
бер. 15
5279