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.


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

on 9/29/16, 3:36 AM 220 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--
| 2 1 4
Sousse, Tunisia
--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.

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