OdooWiki OCA HUB

Partner Invoicing Mode

partner_invoicing_mode folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: AGPL-3

This is a base module for implementing different invoicing mode for customers. It adds a selection field invoicing_mode in the Invoicing tab (if enterprise account_accountant is installed -> Accounting tab) of the partner with a default value (Odoo standard invoicing mode).

It can be used on its own to generate automatically (e.g.: each day) the invoices for standard invoicing mode.

In core, Odoo is grouping invoicing from a group of sale orders on:

  • Company
  • Partner
  • Currency

This module uses grouping on those keys:

  • Company
  • Invoiced partner
  • Currency
  • Payment term (as this can be selected on sale order level)

The following modules use it to install specific invoicing mode :

> - partner_invoicing_mode_at_shipping > - partner_invoicing_mode_monthly > - partner_invoicing_mode_weekly

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Adds an invoicing mode setting on customers and a scheduled job that automatically creates and posts invoices for sale orders that are ready to be invoiced. It is a base module used by other modules to offer different invoicing rhythms.

This module lets you decide, per customer, how invoices should be generated. On the customer form, in the Accounting tab, a new "Invoicing Mode" group appears with an invoicing mode (currently only "Standard"), a "one invoice per order" option, and a next invoice date that is hidden for the standard mode.

On sale orders, the invoicing mode is taken from the invoiced customer, and the "one invoice per order" option can be checked or unchecked directly on the order. When checked, that order is not grouped with other orders into a single invoice.

A scheduled job named "Generate Standard Invoices" runs daily (it is created inactive, so it must be enabled). It looks for sale orders that are still "to invoice" and belong to companies using the standard mode, groups them by company, invoiced customer, currency and payment term, then creates the invoices in the background. Each generated invoice is dated today and then posted automatically through a background job. A related action lets you open the invoice directly from the job.

In the Accounting settings, an "Invoicing Mode" section shows the last time the standard invoicing was executed. The module also changes how sale orders are grouped for invoicing, adding the invoiced customer and payment term and removing the sales contact.

Depends on

Models and fields (5)
  • queue.job · extends an existing model
  • sale.order · extends an existing modelinvoicing_mode, one_invoice_per_order
  • res.company · extends an existing modelinvoicing_mode_standard_last_execution (Last execution (standard))
  • res.partner · extends an existing modelinvoicing_mode, next_invoice_date, one_invoice_per_order
  • res.config.settings · extends an existing modelinvoicing_mode_standard_last_execution

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/account-invoicing.

terminal Installation and usage

OCA documentation · Odoo 19.0
  • To enable the invoices automatic generation, enable the developer mode, go to Settings \> Automation \> Scheduled Actions
  • Filter the archived actions and activate 'Generate Standard Invoices'.
  • Adapt the frequency you want to automatically generate invoices to your needs.
  • The field 'Next Invoice Date' on partner form indicates when the next invoice generation will take place.
  • To manually change the invoicing group (one invoice per order), go to the Sale Order \> Other Information \> Invoicing and Payments and check the 'One Invoice Per Order' box.

No verified information in OCA: Installation, Configuration.

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.