Skip to main content

Only apply lot restriction on products in a domain

Project description

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

This module builds on stock_restrict_lot and exposes the field restrict_lot_id of stock.move, allowing the user to update or even remove the lot restriction if the product does not fall within a domain.

The domain can be updated in the settings of each individual company.

Any change to restrict_lot_id is propagated to linked stock moves, but only forwards, not backwards.

Table of contents

Use Cases / Context

In a setup where lot selection is managed both at sale level and warehouse level (but the final call is made by warehouse flows), there can be the need to select a different lot than the one set in sale order line. As current sale order lot selection modules are depending on stock_restrict_lot (which doesn’t allow to select a different lot in picking), this module allows to limit the restriction to for specific products.

Usage

Go to Settings > Inventory > Enforce lot restrictions

Set a domain for the products for which lot restriction on stock moves should apply (empty domain: all products)

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

  • Ooops404

  • PyTech SRL

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.

Current maintainers:

aleuffre renda-dev

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page