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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2895
Views
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),
You are right. I could investigate it but have not free time now. Maybe it is product_template is diffrent class than product.
Best regards,
Marek Mosiewicz
2014-09-11 2:42 GMT+02:00 Matt <matt_commercial-lindenelevator-com@mail.odoo.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),
--
Matt
Sent by OpenERP S.A. using Odoo about Forum Post False