Docs › Human Resources/Approvals › Approvals All in One with an Invoicing Gate

Approvals All in One with an Invoicing Gate
The Invoicing's own button waits for the approval rule that names it - installed by itself alongside Approval Workflow and Invoicing.
bambooforge_approvals_accountKey facts
- Not for
- Hold anything without a rule. The rule says which entries wait, with a condition written like a filter, and which ladder they climb.; Add a screen. It changes what the button does.
- Manual last updated
- 2026-11-11
With Approval Workflow and Invoicing installed on Odoo 20, the entry's own Confirm button waits for the approval an approval rule asks for: the first press raises the request, the button refuses while it waits, and goes through once it is approved. This small module installs by itself when both apps are there.
This page is the complete manual of that gate.
Overview
For whom. A company that runs Approval Workflow and Invoicing on Odoo 20 and wants some entries to wait for an approval before Confirm goes through: a vendor bill above 10,000, a customer credit note above 2,500. Approval Workflow holds the ladder of people who approve; this module puts the check in front of the button.
What it does
Stands in front of Confirm. An approval rule on Journal Entry whose Blocks is action_post stops the button for the entries its condition matches. The first press raises the request, on the rule's approval type, with the entry's amount and contact, and stops with its name and the step it went to.
Refuses while it waits, passes once approved. Pressed again while the request waits, the button stops and names the step. Once the request is approved, it goes through.
Names an earlier refusal. After a refusal, the next press raises a new request and says the earlier one was refused.
Keeps the request. It is written in a transaction of its own before the button stops, so the stop does not roll it back.
Journal entries too. On an entry the button reads Post; it is the same method.
The rules of the entry's company. With several companies ticked, a entry meets the rules of its own company.
An approval covers its amount. A entry that grew past the amount it was approved for raises a new request.
Installs by itself when Approval Workflow and Invoicing are both installed.
What it does not do
Hold anything without a rule. The rule says which entries wait, with a condition written like a filter, and which ladder they climb.
Add a screen. It changes what the button does.
What it needs
Approval Workflow (bambooforge_approvals) and Odoo's Invoicing (account) on Odoo 20, Community or Enterprise.
An approval rule on Journal Entry with Blocks set to action_post.
Concepts
Approval rule. On Approval Workflow: which entries wait, on which ladder, and which button they stand in front of (Blocks).
Gate. The check in front of Confirm: raise the request, refuse while it waits, pass once approved.
Request. One approval of one entry, raised by the gate, decided by the ladder.
Install and first run
Install Approval Workflow and Invoicing: this module installs by itself.
Expected: nothing new on the screens.
Open Approvals > Configuration > Approval Rules and press New. Applies To: Journal Entry; a Condition, such as Type is Vendor Bill and Total is above 10,000; an Approval Type; Amount Field: Total; Blocks: action_post.
Expected: the rule is saved, and the entries' Action menu offers Request approval.
Press Confirm on a entry the condition matches.
Expected: the message "... needs approval first: sent as ... to '...'", and the entry stays as it was.
Uninstalling
Uninstalling gives Confirm back to Odoo. The requests raised so far stay in Approval Workflow, with their trail.
Flows
What the person at the button sees.
How it works
When the gate stands
Each press of Confirm (action_post) asks Approval Workflow, for each entry:
the active rules on Journal Entry whose Blocks is action_post, of no company or of the company of the entry;
for each rule whose condition matches the entry: an approved request for at least its amount now lets it through; a waiting one stops it; none raises one and stops it.
The same check stands in front of every road that posts: the list's Post entries action (Confirm Entries from Odoo 18), the auto-post schedule, which writes the refusal on the entry and turns its auto-post off, and a credit note made by Reverse and Create Invoice. A payment posts an entry too: give a rule's condition a type (Vendor Bill, Customer Credit Note) so that payments are not caught.
The demo data's seed runner is the only code that passes the gate without a request: it carries an object no request can produce. No context key opens it.
Who reads and writes what
The request is raised in the name of whoever pressed %(button)s. The ladder is built without them, so they never approve it themselves.
Who may see and decide on the request is Approval Workflow's.
How we make sure it works
Before every release, 1 automated checks run against this app on Odoo 16, 17, 18, 19 and 20. Among them:
Account post other roads.
The complete list is in the source you receive.
For managers
This gate has no analysis of its own: its requests show under Approvals > Reporting, by type and outcome, with the days each approver takes.
Troubleshooting and FAQ
- "<entry> needs approval first: sent as <request> to '<step>'."
The first press on a entry the rule matches. The request waits on that step.
- "<entry> is waiting for approval: <request> is at '<step>'."
Pressed again while it waits. Ask the people on that step, or open the request.
- "... (an earlier request was refused: <request>)"
A new request was raised after a refusal. Read the refusal's reason on the earlier request.
- The request is not raised and the message is about access.
The person who pressed Confirm may not create a request: give them Approvals' User right (every internal user has it).
Questions people ask
- Do I have to install it?
It installs by itself when Approval Workflow and Invoicing are both there.
- Does it stop every entry?
Only those an active rule with Blocks action_post matches.
- Does a payment wait?
A payment posts its own entry without pressing Confirm. A rule whose condition matches it holds it too: give the condition a type.
- Can somebody skip it?
No context key opens the gate. Every road that posts passes it.
Support
Write to support@bambooforge.dev with your Odoo series, the rule and what the screen said.
Changelog
20.0.1.0.2
This manual.
Reference
Generated from the module's own code (version 20.0.1.0.2, series 20.0) on 2026-11-12; every menu, field, setting, scheduled action, group, rule, report and endpoint below is read from the files, not written by hand.
Models
account.move (extends Odoo's account.move)
Adds no fields.