Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4103 Widoki

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,

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Thank you for the response. 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
kwi 24
3668
6
paź 15
5231
0
mar 15
4960
1
mar 15
5916
2
mar 15
5078