Odoo Help


How to prevent stock from going negative?

Tarek Mohamed Ibrahim
on 6/11/15, 8:36 AM 1,923 views

I found a module called 'Warning'

I checked it and found that it triggers a warning with no conditions imposed on the warning

also there is a place where one can define 'Order Point', that is used to create automatic procurement orders based on the minimum qty condition via a scheduler

I need to know if there is a standard link between these two things so I can trigger a warning to the user while he is creating a delivery order informing him that there is not enough stock

my aim is that I need to find a standard way to prevent the stock of a product to go down zero

Does anyone have an idea?  or I have to customized. 

Mark Meadows
On 6/11/15, 4:04 PM

If the product has type "Stockable" then this is standard functionality (works just as you want out of the box).

Even when the product is 'Stockable' the system allows its stock quantity go down zero. I wonder if there is a way to BLOCK such transactions with a functionality similar to the 'Warnings' in BLOCK case

Tarek Mohamed Ibrahim
on 6/11/15, 10:49 PM

I tried this in both version 7.0 and version 8.0

Tarek Mohamed Ibrahim
on 6/11/15, 11:07 PM
Yes it lets it go below, but it requires the user to override the negative when creating a sales order...it says something like "There is not enough stock to fill this order" so it seems like some basic training would fix the issue as you could see the sales order/agent that ignored the warning.

On Thu, Jun 11, 2015 at 10:07 PM, Tarek Mohamed Ibrahim <tareq.elqusi@gmail.com> wrote:

I tried this in both version 7.0 and version 8.0

Tarek Mohamed Ibrahim
Sent by Odoo S.A. using Odoo access your messages

Best Regards,
Mark Meadows
Mark Meadows
on 6/11/15, 11:32 PM

I agree with you that this is a nice design, but in some situations the owners need to stop selling a certain product, so they aim to deliver the existing ones and not to create more procurements of that product, either manually or automatically. In such case a BLOCKING warning message is appropriate. I posted my question to get known if the system can fulfil my case or I have to find a custom way. Moreover, is this feature eligible to be included in a future version or not?

Tarek Mohamed Ibrahim
on 6/14/15, 4:22 AM

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

0 follower(s)


Asked: 6/11/15, 8:36 AM
Seen: 1923 times
Last updated: 7/1/15, 5:05 AM