Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
7375 Lượt xem

Version:  Odoo Community 9

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

Any help is greatly appreciated. Thanks.

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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.




Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 25
2026
0
thg 11 24
985
2
thg 11 23
2541
7
thg 7 24
8261
1
thg 9 17
4425