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 | etc.
Here is my question:
find location where product_id = some_id and id is not 7 ?
the method below won't work
location = self.env['stock.quant'].search([('product_id','=',product_id.id),('location_id','!=',7)])
How should I do it ?
Thanx in advance ;)
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/3/16, 10:05 AM|
|Seen: 603 times|
|Last updated: 3/4/16, 2:04 AM|