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

Hello, I want manufacturing date in Inventory module of lot/serial number page and on that date want to calculate expiry date and alert and other date  of Odoo. Is it possible?

形象
丢弃
编写者 最佳答案

but i want to calculate expiry on the basis of MFg date

形象
丢弃

Odoo expects you to create the lot on the manufacturing date, so that lot.create_date == manufacturing_date.
There's an OCA module that adds the manufacturing date to the lot, but I'm not certain it changes the calculations to use that new field instead of the create_date

There can be an issue with how Odoo calculates the Expiration date. It uses data / time of lot creation. And not manufacturing end. Let say you create the lot number on manufacturing day one, and the manufacturing process takes 2 days, the expiration date will be calculated on Lot creation date/time, and not Manufacturing end date/time. So dependent on your business process and requirement there might be an issue.
In such a case you should be able to recalculate the expire date (+ best before etc) with an automatic action triggered by the manufacturing order completion.

And btw: There is a field named "Removal date" on the lot, and it seems it is equal to Manufacturing end date (not confirmed).

最佳答案

It is possible to add expiration date from manufacturing date. The field is available on the products' Inventory tab expiration section by enabling Expiration date 

The dates will then be available on the Lot/ serial numbers page of that product

形象
丢弃
相关帖文 回复 查看 活动
0
7月 25
460
1
7月 25
860
1
7月 25
1281
0
6月 25
585
1
6月 25
1065