OdooWiki OCA HUB

Sale Automatic Workflow Force Invoiced

sale_automatic_workflow_force_invoiced folder_open OCA/sale-workflow open_in_new
Sales Management License: AGPL-3

This module allows to automatically check the Force Invoice checkbox is sale orders depending on a domain.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a "Force Invoice" option to sale automatic workflows, so confirmed orders matching a chosen filter are automatically marked as force invoiced.

This module extends the automatic sales workflow configuration so that a workflow can automatically flag orders as force invoiced.

  • On the workflow process screen (Sales > Configuration > Sales Automatic Workflow), a new "Force Invoice" checkbox appears, together with a filter field where you pick a saved search filter on sale orders. The filter's domain is shown and can be edited.
  • When the automatic workflow job runs, if Force Invoice is enabled, it searches sale orders matching the filter plus the workflow, and sets the "Force Invoiced" flag on them. Errors on one order are logged and do not stop the others.
  • A default filter is provided: orders in state sale or done, not already force invoiced, and with no invoices.
  • A validation rule prevents enabling Force Invoice together with Create Invoice, Validate Invoice or Register Payment on the same workflow; Odoo raises an error if they are combined.
  • The checkbox is also visible in the workflow list view.

It touches sale.workflow.process, automatic.workflow.job and sale.order.

Models and fields (2)
  • sale.workflow.process · extends an existing modelforce_invoice, force_invoice_order_filter_id, force_invoice_order_filter_domain (Force Invoice Order Filter Domain)
  • automatic.workflow.job · 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/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

To install this module, you need to:

  • Only install

To configure this module, you need to:

  • Go to Sales > Configuration > Automatic Workflow.
  • Select an Automatic Workflow and check the "Force Invoice" opction.
  • Set a domain.

To use this module, you need to:

  • Select an Automatic Workflow with the Force Invoice option activated in the Automatic Workflow field located in the Automation Information tab.
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.