تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4327 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
Last purchase date تم الحل
2
سبتمبر 21
4179
1
ديسمبر 16
5627
1
أغسطس 15
5141
2
مارس 15
4360
0
مارس 15
3250