Skip to main content
Odoo Community Association

Stock Picking Auto Create Lot

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

This module extends the functionality of stock module to allow auto create lots for incoming pickings.

Table of contents

Configuration

To configure this module, you need to:

  1. Go to a Inventory > Configuration > Operation Types.

  2. Set ‘auto create lot’ option for this operation type.

  3. Go to a Inventory > Master Data > Products.

  4. Set ‘auto create lot’ option for the products you need.

It’s possible to configure by code a way to force the setting of the auto lot when printing the detailed operation labels. To do so, pass the context key force_auto_lot to the report. This is a simple example with a server action, but it can be done with overriding methods as well:

<record id="action_print_detailed_operation" model="ir.actions.server">
     <field name="name">Print detailed operations</field>
     <field name="model_id" ref="stock.model_stock_move_line" />
     <field
           name="binding_model_id"
           ref="stock.model_stock_move_line"
     />
     <field name="binding_view_types">list</field>
     <field name="state">code</field>
     <field name="code">
if records:
     report = env["ir.actions.report"].sudo()._get_report("my_custom_module.my_custom_report_xml_id")
     action = report.with_context(force_auto_lot=True).report_action(records.ids)
     </field>
</record>

Usage

To use this module you need to:

  1. Go to a Product > General Information tab.

  2. Set a tracking option for this product.

  3. Set auto create lot.

  4. Go to Inventory > Incoming and create one.

  5. Validate picking without lot.

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

  • Tecnativa

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 maintainer:

sergio-teruel

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.

Metadata

Release files for odoo-addon-stock-picking-auto-create-lot 19.0.1.1.0.2

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-picking-auto-create-lot 19.0.1.1.0.2
File Interpreter ABI Platform Actions
odoo_addon_stock_picking_auto_create_lot-19.0.1.1.0.2-py3-none-any.whl Python 3 none any Details for odoo_addon_stock_picking_auto_create_lot-19.0.1.1.0.2-py3-none-any.whl

Release files / odoo_addon_stock_picking_auto_create_lot-19.0.1.1.0.2-py3-none-any.whl

Download URL odoo_addon_stock_picking_auto_create_lot-19.0.1.1.0.2-py3-none-any.whl
Size 40.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7372296df66e988c1b2ce6afbe0c368f6705f40bf3718ae5c3882460fe38835
BLAKE2b-256 checksum
How to use checksums
5501660aea4fe174bfe96d2f38b60f80e32f79da0c4d7b2fae86114c0045f8cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for odoo-addon-stock-picking-auto-create-lot 19.0.1.1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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