Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4242 Vistas

The Sales Order doesn't allow the user to select products where Can be Sold is false.  Why does the Purchase Order allow products where Can be Purchased is false?

Avatar
Descartar

10 years later....and it still seems to be an issue. Are there any news on that? It really is a problem for us and I do not understand how this cannot be an issue for anyone else.

Mejor respuesta

You could modify it with changing domain(filter) on this field.

 

http://consultantodoo.com

Avatar
Descartar
Autor

purchase.order.line already has a domain filter. It just doesn't seem to work: 'product_id': fields.many2one('product.product', 'Product', domain=[('purchase_ok','=',True)], change_default=True),

Publicaciones relacionadas Respuestas Vistas Actividad
2
sept 21
3989
1
dic 16
5502
1
ago 15
4991
2
mar 15
4150
0
mar 15
3117