Stock batch picking account
This module extends the functionality of stock_picking_batch_extended to support the creation of invoices automatically when a batch is set to 'Done' state and to allow you to print the invoices of the sales orders linked to the pickings of the batch.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Automatically creates and posts customer invoices when a batch transfer is completed, for customers flagged to be auto-invoiced. Adds a Print Invoices button on the batch transfer form.
This module links warehouse batch transfers to invoicing. On the customer form, a new field 'Batch Picking Auto Invoice' (Yes/No, default No) lets you decide whether that customer's sales orders should be invoiced automatically when their pickings are validated inside a batch.
When a batch transfer is set to Done, the system looks at the pickings in the batch whose customer has this option set to Yes. For those, it takes the related sales orders that are still 'to invoice', creates invoices based on delivered quantities, and immediately posts them (they are no longer left in draft).
A 'Print Invoices' button appears in the header of the batch transfer form once the batch is no longer draft, in progress or assigned. It gathers all invoices linked to the sales orders of the batch's pickings and prints them using the standard invoice report. If there is nothing to print, an error message 'Nothing to print.' is shown.
The module touches res.partner, stock.picking.batch and stock.picking, and depends on the batch picking and sales apps.
Depends on
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 16.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-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/stock-logistics-workflow.
terminal Installation and usage
OCA documentation · Odoo 16.0Configuration
Source · Odoo 16.0To 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 thoes partner, edit them, find 'Batch picking auto invoice' field under 'Sales & Purchase' tab and check it.
Usage
Source · Odoo 16.0To use this module, you need to:
- Go to Inventory > Batch Picking.
- 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.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.