跳至內容
選單
此問題已被標幟
1 回覆
4318 瀏覽次數

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
4171
1
12月 16
5619
1
8月 15
5117
2
3月 15
4346
0
3月 15
3235