跳至内容
菜单
此问题已终结
2 回复
7371 查看

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?

Hi,

In this case, this module can help you,

https://apps.openerp.com/apps/modules/8.0/product_expiry_ext/

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

最佳答案

Hi,

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.




形象
丢弃
相关帖文 回复 查看 活动
2
6月 25
2024
0
11月 24
983
2
11月 23
2533
7
7月 24
8257
1
9月 17
4423