跳至内容
菜单
此问题已终结
1 回复
4306 查看

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

相关帖文 回复 查看 活动
2
9月 21
4156
1
12月 16
5601
1
8月 15
5088
2
3月 15
4319
0
3月 15
3223