コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4338 ビュー

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
4181
1
12月 16
5631
1
8月 15
5164
2
3月 15
4372
0
3月 15
3258