Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4208 Weergaven

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,

Avatar
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur Beste antwoord

Thank you for the response. 

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
apr. 24
6362
6
okt. 15
5399
0
mrt. 15
5085
1
mrt. 15
6001
2
mrt. 15
5202