Odoo Help


This community 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.


No quatities in negative in Odoo

Michael Marroquin
on 5/7/16, 8:13 PM 331 views

Hi everyone,

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"




| 5 4 8
Kochi, India
ODOO technical and functional

        I like learning new thing, especially technical thing. I am a quick learner, I can learn technical things very fast. I have good logical skill,  I have immense interest in programming.

e-mail id : baijuks@hotmail.com

On 5/8/16, 4:58 AM

Hi Michael,

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.

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 5/7/16, 8:13 PM
Seen: 331 times
Last updated: 5/8/16, 4:58 AM