Skip to main content
Odoo Community Association

Stock Location Orderpoint Cleanup

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

This module will help to clean generated moves from stock location orderpoints.

Table of contents

Use Cases / Context

Location orderpoints module was designed (first) to generate replenishment moves for particular stock locations. e.g.: we have a reserve stock and a preparation stock.

As warehouse life is not static, moves for a product can be canceled, preparation stock could have been refilled with another move, …

So, generated moves from location orderpoints can become obsolete.

This module should help to clean orderpoint moves and regenerate moves.

Configuration

  • There is a security group ‘Location Orderpoint Cleanup Group’. Users that can have access to cleanup action should be in that group. By default, all users that are in ‘Inventory/Administrator’ are in that group.

  • You can configure crons to execute cleanup actions.

    • Enable debug mode, go to Settings > Technical > Scheduled Actions

    • Add a cron with:

      • base model ‘Stock Location Orderpoint’

      • In python code, add a line ‘model.run_cleanup(orderpoints, run_after)’ where ‘orderpoints’ is a list of orderpoint ids and ‘run_after’ is True if you want to run the orderpoint(s) after cleanup.

      • If you want to cleanup ordepoints by replenish method, add a line ‘model.run_cleanup_method(replenish_method, run_after)’ where ‘replenish_method’ is ‘fill_up’ by default (depending on extension modules you have installed)

Usage

  • You can have cron jobs to execute the cleanup actions (see Configuration section).

  • If you are in the ‘Location Orderpoint Cleanup Group’, you can launch manually the cleanup on the orderpoint form level:

    • Click on ‘Cleanup replenishments’.

    • In the wizard, check the ‘Run After’ box if you want the orderpoint to be run after cleanup.

  • You can also select several orderpoints from the list view and select the action ‘Cleanup Stock Location Orderpoints’ that will launch the wizard.

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

Contributors

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.

This module is part of the OCA/stock-logistics-orderpoint 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-location-orderpoint-cleanup 16.0.1.1.0

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-location-orderpoint-cleanup 16.0.1.1.0
File Interpreter ABI Platform
odoo_addon_stock_location_orderpoint_cleanup-16.0.1.1.0-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_stock_location_orderpoint_cleanup-16.0.1.1.0-py3-none-any.whl

Download URL odoo_addon_stock_location_orderpoint_cleanup-16.0.1.1.0-py3-none-any.whl
Size 35.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a79f1f250d9bb3b45cc31af4f1836fe891b376d07b543cbc15b95d95516fb11
BLAKE2b-256 checksum
How to use checksums
bafa5d58f61b86d4be26bdc71c79e39b4de4a63052428fd49fc376f8c9d921d6
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.1.0 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