Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3719 Visualizzazioni

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
Abbandona

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.

Risposta migliore

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

 

http://consultantodoo.com

Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
2
set 21
3378
1
dic 16
5136
1
ago 15
4327
2
mar 15
3643
0
mar 15
2704