Odoo Help


How to trigger alert for soon-to-expire items?

on 9/29/16, 3:36 AM 948 views

Version:  Odoo Community 9

Issue:  How to trigger alert for soon-to-expire items? 

Any help is greatly appreciated. Thanks.

Thank you. However, I am not very technical and I do not know how to configure the source code.

Where can I find the source codes please?

May I also know if there is a simpler way to set this scheduled action in admin panel of Odoo?

on 9/29/16, 9:10 PM


In this case, this module can help you,


This module provides color lines in list of production lots and quants based on lots expiration dates:

Normal : Green color

In alert : Blue color

To remove : Yellow color

After the 'Best Before' : Orange color

Expired : Red color

Bejaoui Souheil
on 9/30/16, 5:05 AM

Bejaoui Souheil

--Bejaoui Souheil--
--Bejaoui Souheil--

Odoo developer,  functional and technical consultant


Bejaoui Souheil
On 9/29/16, 5:49 AM


You can solve this with a scheduled action. This is how:

  1. Define a function on "stock.production.lot" that check expiry date of all lots and trigger alerts as needed.

  2. Create an ir.cron that call this function every day.

 Best regards.

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: 9/29/16, 3:36 AM
Seen: 948 times
Last updated: 9/29/16, 9:55 PM