Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4057 Vistas

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
Descartar
Mejor respuesta

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

Avatar
Descartar
Autor Mejor respuesta

Thank you for the response. 

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
abr 24
2920
6
oct 15
5185
0
mar 15
4924
1
mar 15
5856
2
mar 15
5042