Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
146 Vistas

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?

Avatar
Descartar
Autor Mejor respuesta

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

Avatar
Descartar

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).

Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
jul 25
460
1
jul 25
860
1
jul 25
1281
0
jun 25
584
1
jun 25
1064