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.
Anyone knows how can I disable the function of work with negative quantities in my warehouses in Odoo?
I want to make my process as simple as "if I don't have it, I can't sell it or use it"
I think there is no default way to achieve this. You can go for out of box solution, achieve this by developing your own custom module.
Simple methods are:
you can block sale if there is not enough quantity in hand(with reservation)
you can disable the Force Availability function
Or you can: modify functions that affect stock quantity and check whether its going negative and if its, block it.
Here is a module for V8, you can check this, it adds function to 'stock.move' object to check whether after its done, is it going negative.
Here is another module for V7, you can refer this. They are using a constraint for 'stock.location' object to check whether stock quantity goes negative and blocks that.
Hope this helps.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 5/7/16, 8:13 PM|
|Seen: 427 times|
|Last updated: 5/8/16, 4:58 AM|