OdooWiki OCA HUB

MRP Lot Production Date

mrp_lot_production_date folder_open OCA/manufacture open_in_new
Manufacturing License: AGPL-3

This module automatically set a production date on lots/SN produced through the validation of manufacturing orders.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

When a manufacturing order is validated, the lot or serial number it produced automatically receives today's date as its production date, if it did not already have one.

This module links manufacturing with lot tracking. It does not add any new screen or menu; it works in the background when a manufacturing order is completed.

  • When the inventory movements of a manufacturing order are posted (the step that happens when you validate/finish the order), the module looks at the lot or serial number that was produced for that order.
  • If that lot/serial number has no production date yet, the current date and time is written into its production date field.
  • If a production date was already filled in, it is left untouched, so manually entered dates are never overwritten.

It relies on the mrp.production model and on the production date field provided by the lot production date module. The result is visible on the lot/serial number record, where the production date is now filled automatically instead of being entered by hand. This is useful for traceability, expiry or warranty calculations and any report that uses the lot production date. No checks, emails, scheduled jobs or extra restrictions are added by this module.

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/manufacture.

terminal Installation and usage

OCA documentation · Odoo 18.0

To get production dates automatically set on produced lots you need to configure your products to be tracked by lots or serial numbers.

Then at the validation of a manufacturing order the production date will be set automatically on the produced lot.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.