Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4272 Widoki

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?

Awatar
Odrzuć

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.

Najlepsza odpowiedź

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

 

http://consultantodoo.com

Awatar
Odrzuć
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),

Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 21
4029
1
gru 16
5530
1
sie 15
5030
2
mar 15
4173
0
mar 15
3144