OdooWiki OCA HUB

Stock Picking Batch Invoice Frequency

stock_picking_batch_invoice_frequency folder_open OCA/stock-logistics-workflow open_in_new
Inventory/Delivery License: AGPL-3

This module extends the functionality of stock picking batch and to allow invoicing sale orders with invoice frequency by checking 'Automatic Invoicing Batch'

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds an option on invoice frequencies so that, when a batch of deliveries is validated, invoices for the related sales orders are created and posted automatically.

This module links delivery batches to automatic invoicing. On each invoice frequency record (the setting that decides how often a customer is invoiced), a new toggle called "Automatic batch invoicing" appears. Only users with invoicing rights see it, and it is shown both in the list of frequencies and on the frequency form.

When the toggle is switched on for a frequency, any sales order using that frequency becomes eligible for automatic invoicing. The trigger is the validation of a delivery batch: as the batch is completed, the system looks at the sales orders behind the deliveries in that batch, keeps only those that are still waiting to be invoiced and whose frequency has the option enabled, then creates the customer invoices and posts them immediately.

  • New field on sale.invoice.frequency: "Automatic batch invoicing".
  • The behaviour is added to stock.picking.batch when its completion action runs, and to stock.picking validation, so invoices are generated only in that batch context.
  • Sales orders that are not yet flagged as "to invoice", or whose frequency does not have the option, are ignored.
  • No new menus or reports are added; the change is a setting plus an automatic action during batch validation.

Depends on

sale_stockstock_picking_batchsale_invoice_frequency
Models and fields (3)
  • stock.picking · extends an existing model
  • stock.picking.batch · extends an existing model
  • sale.invoice.frequency · extends an existing modelautomatic_batch_invoicing

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: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 18.0

To configure this module, you need to:

  • Go to Inventory > Configuration > Settings > Operations.
  • Activate Batch Transfers

To use this module, you need to:

  • Go to Sales > Configuration > Invoicing Frequency.
  • Choose one or create it. Then activate Automatic Batch Invoicing.
  • Go to Sales > Orders > Orders and create new order.
  • Choose the previously set Invoicing Frequency.
  • Add some storable products and confirm sale order.
  • Go to Inventory > Operations > Batch Transfers and create new batch.
  • Add pickings from sale order and Confirm the batch.
  • Validate batch.
  • Invoices from sale orders have been created.

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.