Odoo Help


No quatities in negative in Odoo

Michael Marroquin
on 5/7/16, 8:13 PM 994 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"



Baiju KS

--Baiju KS--
| 5 5 8
Kochi, India
--Baiju KS--
ODOO technical

        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

Baiju KS
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.

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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