Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3649 Представления

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 Ответы Просмотры Активность
2
сент. 21
3267
1
дек. 16
5102
1
авг. 15
4287
2
мар. 15
3593
0
мар. 15
2643