Skip to Content
Menú
This question has been flagged
1 Respondre
4265 Vistes

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.

Best Answer

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),

Related Posts Respostes Vistes Activitat
2
de set. 21
4018
1
de des. 16
5521
1
d’ag. 15
5019
2
de març 15
4172
0
de març 15
3143