Batch Transfer Extension
by Terrabit https://www.terrabit.ro , Dan Stoica https://www.terrabit.roBatch Transfer Extension
Better control over batches with empty transfers
Extends Odoo's batch transfer (batch picking) functionality to give warehouse operators better control over batches that contain partially-processed or empty transfers. Prevents Odoo's default behaviour of validating zero-quantity pickings and adds a "Prepare Batch" wizard for quickly grouping receipts or deliveries from sales/purchase orders into a single batch.
✨ Key features:
- Empty-picking management on validate— when the Validate button is pressed on a batch, pickings that have all done quantities equal to zero are handled according to the
deltatech_batch_keep_pickingssystem parameter:- (default, parameter absent) empty pickings are automatically removed from the batch; only non-empty pickings are validated. Removed pickings can be manually added to another batch.
- (parameter present) empty pickings are kept in the batch but skipped during validation, allowing them to be processed later (not recommended with the barcode interface).
- Prepare Batch wizard— creates a new batch from open sale or purchase order receipts/deliveries for a selected partner; optionally sets done quantities from a product list.
- Add to Batch button— shortcut button on the stock picking form to attach a single transfer to an existing batch.
- Extra batch fields—
Direction(incoming/outgoing),Reference, andNoteadded to the batch transfer form for better identification and traceability. - Received lines tab— dedicated notebook tab on incoming batches showing only move lines with quantity > 0 (bold) vs. zero-quantity lines (muted).
- Deliveries batch report— PDF report that prints all delivery documents in a batch in a single action.
System parameter: deltatech_batch_keep_pickings
This parameter controls how empty pickings (all done quantities = 0) are handled when a batch is validated.
Location: Settings > Technical > Parameters > System Parameters
| Parameter key | Value | Effect |
|---|---|---|
deltatech_batch_keep_pickings |
(not present / absent) | Empty pickings are removed from the batch on validate. They can be manually added to another batch. (recommended) |
deltatech_batch_keep_pickings |
True |
Empty pickings are kept in the batch but skipped during validation; they remain for later processing. Not recommended when using the barcode interface. |
To configure:
- Go to Settings > Technical > Parameters > System Parameters.
- Search for
deltatech_batch_keep_pickings.- If the parameter does not exist (default), empty pickings are removed on validate — no action needed.
- To keep empty pickings in the batch, click Create, set the key to
deltatech_batch_keep_pickingsand the value toTrue.
- Save. The change takes effect immediately on the next batch validation.
Prepare a batch from purchase/sale orders
- Go to Inventory > Warehouse Management > Prepare batch (menu added by this module).
- The Prepare Batch wizard opens. Fill in:
- Partner — the supplier (purchase mode) or customer (sale mode) whose open transfers you want to group.
- Responsible — the user responsible for the batch.
- Reference — optional reference label for the batch.
- Mode — choose Purchase (incoming) or Sale (outgoing).
- Set done qty — tick to pre-fill done quantities from the product list below; leave unticked to keep the demand quantities.
- Lines (visible in Purchase mode) — optional product/quantity list to restrict which products are included and at what quantity.
- Click Confirm. The wizard finds all open pickings for the selected partner and mode, creates a confirmed batch, assigns availability, and opens the new batch.
Alternatively, from a Sale Orders list view select one or more orders and use the action Prepare batch (bound to the sale order list) — the wizard pre-fills the customer and sets mode to Sale.
Add a single transfer to a batch
- Open any transfer (Inventory > Transfers) that is not yet in a batch.
- Click the Add to batch button (visible when the transfer has no batch assigned and is not in state Done/Cancelled).
- The standard Odoo "Add to batch" dialog opens; select or create the target batch and confirm.
Validate a batch (empty-picking handling)
- Open the batch (Inventory > Batch Transfers).
- Process the transfers normally (scan barcodes or fill in done quantities).
- Click Validate. The module inspects each picking:
- Pickings where no move line has a done quantity > 0 are treated according to the
deltatech_batch_keep_pickingsparameter (see CONFIGURE). - Non-empty pickings proceed to validation as usual.
- Pickings where no move line has a done quantity > 0 are treated according to the
Print the Deliveries batch report
- Open a batch transfer.
- Click Print > Deliveries (report bound to batch transfers).
- A PDF is generated containing the standard delivery document for each picking in the batch.
Reading the batch form
The batch form shows three extra fields added by this module:
- Reference — free-text identifier, visible next to the picking type.
- Note — additional notes for the batch.
- Direction — read-only field showing Incoming or Outgoing.
- Received tab — available on incoming batches; lists only move lines that have a done quantity > 0 (shown in bold); zero-quantity lines appear muted.
19.0.0.0.8 (2026-10-22)
- Listed on Odoo Apps as Batch Transfer Extension (was Batch Transfer). The technical name
deltatech_batch_transferdoes not change.
19.0.0.0.7 (2026-10-11)
- Docs: emoji symbols added to the bold headings of the module description, for a uniform look on the Odoo Apps page. No code change.
19.0.0.0.6 (2026-10-09)
- Apps Store banner (banner.json).
19.0.0.0.5 (2026-10-02)
- Fix (BATCHTRANSFER-001): batch preparation with quantities no longer
crashes. The wizard read and wrote
product_uom_qtyonstock.move.line, a field removed in Odoo 19, so confirming a preparation with Set Done Qty or with product quantities raised an error and rolled back. The allocation now uses the Odoo 19 API: each move line can receive up to its reservedquantity(converted between the product unit and the move line unit), the rest is shown as additional quantity. With Set Done Qty the lines are set to the allocated quantity and marked as picked; without it only the requested quantities stay reserved and nothing is marked as picked.
19.0.0.0.4 (2026-09-29)
- Own module icon, instead of the generic gears it had.
19.0.0.0.3 (2026-09-23)
- Translatable strings in code use
self.env._()instead of_(), the Odoo 19 convention (pylint-odooprefer-env-translation). The translated messages are unchanged.
Need help getting started?
Our 800+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.
Questions about this module? Write to us — the developers who build it will answer.
More apps by Terrabit
Other modules from the same publisher, built to work together. All apps →
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• Discuss (mail) • Purchase (purchase) • Invoicing (account) |
| Lines of code | 314 |
| Technical Name |
deltatech_batch_transfer |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module