OdooWiki OCA HUB

Stock Barcodes GS1 Expiry

stock_barcodes_gs1_expiry folder_open OCA/stock-logistics-barcode open_in_new
Extra Tools License: AGPL-3

This module extends barcode reader GS1 interface module to allow to read expiry dates.

The AI's implemented are 15(Preferred consumption date), 17(Expiry date).

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

When scanning GS1 barcodes in stock operations, this module reads the expiry and best-before dates from the barcode and fills them into the lot/serial number, automatically calculating removal and alert dates.

This module works together with the barcode scanning screens used in stock operations (receipts, deliveries, internal transfers) and with the product expiry feature. When a user scans a GS1 barcode that contains an expiry date (application identifier 17) or a best-before/preferred consumption date (application identifier 15), the scanned date is captured and stored on the scanning wizard.

When the lot or serial number is created or updated from the scan, the captured dates are written to the lot. If only the expiry date is read, the best-before date is calculated by subtracting the product's 'use time' in days. If only the best-before date is read, the expiry date is calculated by adding the product's 'use time'. From the expiry date, the module also computes the removal date (expiry minus the product's removal time) and the alert date (expiry minus the product's alert time).

Clearing the lot information on the scanning screen also clears the captured expiry and best-before dates. The two date fields are added to the barcode scanning form but are hidden from the user, so they work in the background.

Depends on

stock_barcodes_gs1product_expiry
Models and fields (1)
  • wiz.stock.barcodes.read · extends an existing modeluse_date (Best before Date), expiration_date (End of Life Date)

Text generated by AI (DeepSeek) from reading the Odoo 15.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 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/stock-logistics-barcode.

terminal Installation and usage

OCA documentation · Odoo 15.0

Read usage section from stock_barcodes module.

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.