跳至內容
選單
此問題已被標幟
2 回覆
7354 瀏覽次數

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
2011
0
11月 24
979
2
11月 23
2516
7
7月 24
8240
1
9月 17
4416