OdooWiki OCA HUB

Stock batch picking account

stock_picking_batch_account folder_open OCA/stock-logistics-workflow open_in_new
Warehouse Management License: AGPL-3

This module adds support for the automatic creation of invoices when a batch is set to the Done state and allows printing the invoices of the sales orders linked to the batch pickings.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Automatically creates and posts customer invoices when a batch transfer is marked as Done, but only for customers flagged to use this option. It also adds a Print Invoices button on the batch transfer form.

This module links warehouse batch transfers to invoicing. On each customer record, a new setting called "Batch Picking Auto Invoice" (Yes/No, default No) appears in the Inventory group of the contact form, including for child contacts. This setting is company-dependent, so the same customer can behave differently per company.

When a batch transfer is validated (set to Done), Odoo checks the pickings in that batch. Only pickings whose customer has the auto-invoice option set to Yes are considered. For those, the related sales orders that are still "to invoice" are collected, invoices are generated based on delivered quantities, and any draft invoices are automatically posted.

On the batch transfer form, a "Print Invoices" button is shown once the batch is no longer in draft, waiting, or in progress. It gathers all invoices linked to the sales orders of the batch's pickings and opens the standard invoice report; if there is nothing to print, an error message is shown.

The module extends res.partner, stock.picking.batch, and stock.picking, and relies on the standard sales advance payment wizard to create invoices.

Depends on

stock_picking_batchsale

Required by other modules

Models and fields (3)
  • res.partner · extends an existing modelbatch_picking_auto_invoice
  • stock.picking · extends an existing model
  • stock.picking.batch · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/stock-logistics-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

To configure this module, you need to check 'Batch picking auto invoice' field of the partners for whom you want the invoice to be automatically generated when any batch that has a 'Picking' to which they belong is set to 'done' state.

  • Go to each of those partner, edit them, find 'Batch picking auto invoice' field under 'Sales & Purchase' tab and check it.

To use this module, you need to:

  • Go to Inventory \> Operations \> Batch Transfers.
  • Create a new batch and add some pickings such that their partners have the option 'Batch picking auto invoice' checked (See configuration section). Make sure the selected pickings are linked to a sales order.
  • Confirm the batch.
  • Set the batch to 'done' state. After that, invoices will be generated for all sales orders linked to the pickings of the batch.
  • Click on 'Print Invoices' button in the status bar and you will see a PDF report for all the generated invoices.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.