Skip to main content
Odoo Community Association

Stock Lot Auto Remove

Beta License: AGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runboat

This addon allows to automatically remove stock quants with a past removal date, regardless of whether they are reserved or not.

On each warehouse, you can enable the automatic removal of lots with a past removal date.

Every day, for each warehouse where the automatic removal is enabled, a cron job will launch the process to remove past removal date quants.

Table of contents

Use Cases / Context

BUSINESS NEED:

On large warehouses, it is common to have products with a limited shelf life, such as food or pharmaceuticals. These products need to be managed carefully to avoid waste and ensure compliance with regulations. One of the challenges is to ensure that lots with a past removal date are automatically removed from the stock whatever they are reserved or not.

APPROACH: This module addresses this need by identifying past removal date lots in the stock, dereserving them, and creating a specific picking to remove them from the stock. The past removal date lots are then reserved in the picking and an attempt is made to reserve again the dereserved moves.

Configuration

To configure this module, you need to to enable the removal of expired lots. This can be done by following these steps:

  • Go to App > Inventory > Settings -> Warehouses

  • Select the warehouse you want to configure.

  • On the ‘Warehouse Configuration’ page, find the section ‘Expired Lots Auto Move’.

  • Check the box ‘Enable Expired Lot Auto Remove’.

Usage

On the warehouse form, once the ‘Enable Expired Lot Auto Remove’ checkbox is checked, some additional fields will appear to configure the automatic removal of past removal date quants:

  • ‘Expired Lot Origin Location’: This field allows you to select the origin location from which the past removal date quants will be removed. It is a required field. (Defaults to the warehouse’s stock location)

  • ‘Expired Lot Destination Location’: This field allows you to select the destination location where the past removal date quants will be moved. It is a required field. (Defaults to the warehouse’s quality control location)

  • ‘Expired Lot Move Picking Type’: This field allows you to select the picking type that will be used for the automatic removal of past removal date quants. It is a required field. (Defaults to the warehouse’s ‘Expired Lot Removal’ picking type)

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • ACSONE SA/NV

  • BCIM

Contributors

Other credits

The development of this module has been financially supported by:

-Alcyon Belux

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

lmignon

This module is part of the OCA/stock-logistics-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-stock-lot-remove 16.0.1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-stock-lot-remove 16.0.1.0.1
File Interpreter ABI Platform
odoo_addon_stock_lot_remove-16.0.1.0.1-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_stock_lot_remove-16.0.1.0.1-py3-none-any.whl

Download URL odoo_addon_stock_lot_remove-16.0.1.0.1-py3-none-any.whl
Size 41.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ccbaddbdce13cd124b875b75df5e23942d93a2356d871b676205b8c5df3f458
BLAKE2b-256 checksum
How to use checksums
7d2e3abe280454be1b8f9e6607f74ad5fbeea24b74362e410ea61a340426c1b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

16.0.1.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page