Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Productivity
  3. BPMN Workflow Engine: run approval process and process automation on Odoo records v 18.0
  4. Sales Conditions FAQ

BPMN Workflow Engine: run approval process and process automation on Odoo records

by Aerya IT Solutions https://aerya.net
Odoo

$ 108.47

In-App Purchases
v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Aerya Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions

BPMN Workflow Engine: run approval process and process automation on Odoo records

Turn a BPMN 2.0 process into a working approval workflow. Each record gets its own run: tasks arrive as Odoo activities, gateways route by record conditions, service steps update fields or send mail, and timers remind or escalate. A diagram on the record shows the current step and who did what.

User tasks as activities for a user, a group or the user in a field, with approve and reject
Exclusive and parallel gateways, service tasks, timers and escalations
Process view on every record and a dashboard of open and overdue tasks

Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.

The current step on the diagram

Screenshots of Odoo 18 Enterprise, German interface.

The problem

An expense above a limit needs the approval of a manager, then of finance. A new supplier needs a check before the first order. Most companies run these processes by e-mail and memory: somebody forwards a message, somebody forgets, and nobody can say where a request is stuck or how long it has waited.

A process drawn on a whiteboard is not a process that runs. The company wants the drawing to become the workflow: each record gets its own run, the right person gets the task, and the history says who did what and when.

What the module does

It runs the BPMN 2.0 processes drawn with BPMN Process Modeler (aerya_bpmn) on Odoo records. A process is bound to one model, and one instance runs per record. A generic Case model serves processes that have no natural record. User tasks become Odoo activities for a user, a group or the user in a field of the record, with approve and reject leading to different flows. Service tasks update fields, run a server action, send a mail template or create a related record. Gateways route by conditions or run steps in parallel, and timers remind or escalate.

How it works, step by step

  • Draw the process. Draw it with BPMN Process Modeler and choose its model on the empty canvas.
  • Set the steps. In the panel set the start, the assignees, the conditions and the service steps.
  • Choose how it starts. When a record is created, when it starts matching a filter, with the Start process action, or when a date field is reached. These use core automation rules, created when the process is deployed and removed when it is undeployed.
  • Deploy. Press Deploy. The checks name any problem, and the start rules are created. A deployed version is frozen.
  • Work on the records. User tasks appear as activities. The user completes them, or presses Approve or Reject.
  • Follow the progress. The Process action of the record shows the diagram with the current steps highlighted and the step history: who, when and how long.
  • Watch the dashboard. Open tasks, overdue tasks and the time per step are in the dashboard. My tasks lists what is waiting for you.

A worked example

A quotation above 5000 EUR needs the approval of management. The process starts when the quotation is created. The first task, check and approve, is an activity for the sales managers group. If the salesperson's manager rejects, the process ends as rejected. If they approve, an exclusive gateway asks whether the amount is above 5000: if yes, a second task goes to the management group, and if not, a service step marks the quotation as approved. A timer on the first task can send a reminder when the deadline passes. On the quotation, the Process action shows the diagram, where the process is, and how long each step took.

Features

The current step on the diagram

Open the Process action of a record: the diagram highlights the steps that are open and the steps already done, and the table lists who answered, when and how long it took. Approve or reject right there.

The current step on the diagram

Tasks where people already look

A user task becomes an Odoo activity on the record, with a due date. Required fields can be checked before the task is completed, and an approval task leads to different flows.

Tasks where people already look

Open work and time per step

The dashboard counts open and overdue tasks and shows the average time per step, so slow steps are easy to find.

Open work and time per step

Gateways, service tasks and timers

Exclusive gateways use conditions written with the domain editor of Odoo, plus a default flow. Parallel gateways split and join. Service tasks run an allowed server action, set field values, send a mail template or create a related record. A timer waits for a duration or a date field, or sits on a task to remind or escalate. A cron fires the timers and is safe to run twice.

A quotation approval process with an amount check and two approvals

Settings and options

ModelThe Odoo model the process runs on, or the generic Case model.
StartRecord created, record matches a filter, Start process action, or a date field.
User taskA user, a group or the user in a field. Optional required fields, deadline, approve and reject.
Run asThe process manager who deployed the process. Service tasks and conditions run with the rights of that user.
VersionsA deployed version is frozen. Instances finish on the version they started with.

What it does not do

  • Deployment stops with an error naming the element and its id for: inclusive and event-based gateways, sub-processes, call activities, tasks without a type, script, manual, send and receive tasks, message, error, signal, escalation, conditional, link, terminate and compensation events, repeating timers, message flows and several pools.
  • Moving running instances to a new version is not supported.
  • Service tasks and gateway conditions never run with elevated rights: they use the rights of the user shown as Run as. Give that user only what the process needs.
  • A server action must be allowed by an administrator before a service task can run it.

Requirements

Odoo versions17, 18, 19 and 20
EditionsCommunity and Enterprise
Odoo appsAutomation rules (base_automation) and Discuss (mail)
Modules of oursBPMN Process Modeler (aerya_bpmn), which draws the processes
LanguagesEnglish and German

Questions

Can a process run on any record?

On any Odoo model: a process is bound to one model, and each record gets its own run. A generic Case model serves processes without a natural record.

Who can do a task?

A user, a group, or the user in a field of the record. The user completes the task with their own rights.

What happens to running processes when I change the drawing?

A deployed version is frozen. Running instances finish on the version they started with.

What if a deadline passes?

A timer on the task can remind or escalate. The cron that fires the timers is safe to run twice.

Do I need the modeler?

Yes. The processes are drawn with BPMN Process Modeler, which is a separate module.

Explore our other apps

More modules by Aerya IT Solutions for Odoo 18, built to work together.

BPMN Process Modeler and Process Maps

BPMN 2.0 modeler and process library inside Odoo. Draw business processes, keep versions

39 EUR · View on the store →

Approval Request Workflow

Approval workflow for any request: employees send an approval request (purchases, travel

19 EUR · View on the store →

POS Kitchen Display Screen

Kitchen display system (KDS) for the restaurant kitchen

50 EUR · View on the store →

Expense Approval

Expense report approval by report total in sequential levels, with substitutes during absence

29 EUR · View on the store →

Questions or a custom quote?

Write to info@aerya.ro for questions about the module, its installation or custom development.

Aerya Aerya IT Solutions · Developed in the European Union · aerya.net
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
BPMN Process Modeler and Process Maps: draw, version and link business processes to Odoo
Lines of code 3586
Technical Name aerya_bpmn_workflow
LicenseOPL-1
Websitehttps://aerya.net
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with