Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4408 Переглядів

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?

Аватар
Відмінити

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.

Найкраща відповідь

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

 

http://consultantodoo.com

Аватар
Відмінити
Автор

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 Відповіді Переглядів Дія
Last purchase date Вирішено
2
вер. 21
4294
1
груд. 16
5724
1
серп. 15
5292
2
бер. 15
4467
0
бер. 15
3310