Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4317 Vues

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
Ignorer

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.

Meilleure réponse

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

 

http://consultantodoo.com

Avatar
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
2
sept. 21
4169
1
déc. 16
5619
1
août 15
5116
2
mars 15
4346
0
mars 15
3235