Auto create lots for incoming pickings
Project description
Stock Picking Auto Create Lot
This module extends the functionality of stock module to allow auto create lots for selected picking types.
Table of contents
Configuration
To configure this module, you need to:
Go to a Inventory > Configuration > Operation Types.
Set ‘auto create lot’ option for this operation type.
Go to a Inventory > Master Data > Products.
Set ‘auto create lot’ option for the products you need.
Go to a Inventory > Configuration > Products > Product Categories.
Set ‘auto create lot’ option for the categories 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:
Go to a Product > Inventory tab.
Set a tracking option for this product.
Set auto create lot on the product or in the category.
Go to Inventory > Incoming and create one.
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
Contributors
Carlos Dauden <carlos.dauden@tecnativa.com>
Sergio Teruel <sergio.teruel@tecnativa.com>
Pimolnat Suntian <pimolnats@ecosoft.co.th>
Denis Roussel <denis.roussel@acsone.eu>
Valentin Vinagre <valentin.vinagre@sygel.es>
-
Aung Ko Ko Lin
Eduardo de Miguel <info@moduon.team>
Maintainers
This module is maintained by the OCA.
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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_stock_picking_auto_create_lot-16.0.3.2.0.1-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_stock_picking_auto_create_lot-16.0.3.2.0.1-py3-none-any.whl
- Upload date:
- Size: 39.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e029d2175dfd98aa8b2727d6daa138a5c5ae1e14d5a01eed77a851b7c8411d4
|
|
| MD5 |
905c219426d48694500cee7b3c51851b
|
|
| BLAKE2b-256 |
7f988c3223adf46e1630ccb8cc87289fce7a5c87a73dce856b5b7a55dcb7b941
|