Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4406 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

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

 

http://consultantodoo.com

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
Last purchase date Đã xử lý
2
thg 9 21
4294
1
thg 12 16
5721
1
thg 8 15
5287
2
thg 3 15
4466
0
thg 3 15
3309