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. Utils
  3. MuK Batch Actions v 20.0
  4. Sales Conditions FAQ

MuK Batch Actions

by MuK IT http://www.mukit.at
Odoo
v 20.0 Third Party 291
Download for v 20.0 Deploy on Odoo.sh Live Preview
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
  • Documentation

Run big selections in batches, not in one request.

Server actions and reports from the Actions and Print menus run in slices of a size you choose, behind a progress bar — and each slice is its own transaction.

Runs on
✓  Community ✓  Enterprise
Hosting
Odoo.sh · on-premise
Demo
See it in action
Below the server timeout

One request per batch, so thousands of selected records never have to fit into a single call.

Progress you can watch

A progress bar counts the batches and estimates the time left while the run is under way.

One file per record

A batched report downloads a PDF for every selected record instead of one merged document.

Contacts  ›  Actions  ›  Tag as Prospect
A contact list behind a progress card reading Batch 5 out of 13, with the estimated time left and a progress bar at 38 percent
Every contact of the list selected, and the action running fifty at a time while the card counts the batches.
What it adds

The menus you know, run in slices

Nothing new to learn for the people who click. You flag an action or a report once, and from then on it runs in batches from the list, the kanban and the form.

Your batch size

Each server action sets how many records go to the server per request, one hundred unless you change it.

Select all, really all

With the whole domain selected, the ids are resolved on the server first and then sent in batches like any other selection.

A failure stops, it does not undo

Each batch commits on its own. If one fails, the run stops with the error and the batches before it stay saved.

Standard until you flag it

Actions and reports without Execute in Batch behave exactly as they do in standard Odoo.

Server actions

Two fields, next to the model

Turn on Execute in Batch on any server action in the Actions menu of its model and set the Batch Size. Run it on 640 contacts with a size of fifty and the server sees thirteen short requests instead of one long one — each small enough to finish well inside the timeout.

Settings  ›  Technical  ›  Server Actions
A server action form with Execute in Batch turned on and a Batch Size of 50 under the Model field
Execute in Batch and Batch Size sit right under the model; the rest of the action stays as it was.
Settings  ›  Technical  ›  Reports
The Quotation / Order report form with Execute in Batch turned on below the paper size
The quotation report flagged once; every print from the list now arrives as one file per order.
Reports

One PDF per record

Select twenty quotations, pick the report from the Print menu, and you get twenty files named after their orders — ready to file or send one by one, instead of a single document you have to split by hand.

Files, not pages

The toggle is offered on PDF and text reports. An HTML report opens in the browser, so it has none.

FREE MODULE

Help and support

What you get for free, and what has to be paid work.

Community support

Issues and merge requests are welcome on the public repository. They are read — but no response time is promised.

When you need it guaranteed

A mass update built for your process, or a fix on a deadline, is paid work — quoted up front. Write to sale@mukit.at.

Licence

LGPL-3. Use it, change it, ship it inside your own work — no licence key, no database count.

Want more?

MuK IT — Austrian Odoo partner, Vienna
Development

Modules written for your process, on your Odoo version.

Integration

Odoo joined up with the systems you already run.

Infrastructure

Hosting, deployment and upgrades you do not have to watch.

Training

Your team taught the parts of Odoo they actually use.

Support

An agreement, so an answer does not depend on who is free.

More from MuK IT

MuK Refresh
MuK Refresh

Views refreshed by hand, on a timer or from the server.

MuK List Mode
MuK List Mode

Switch a list between opening records and editing rows inline.

MuK Groups
MuK Groups

Expand or collapse every group of a view in one click.

MuK Webhooks
MuK Webhooks

Record changes sent out to the systems you connect.

Documentation

The full text is on the Documentation tab, and in doc/ inside the download.
Requirements

Odoo.sh or on-premise, Community or Enterprise.

Configuration

In debug mode, turn on Execute in Batch on a server action or a PDF report that is in the Actions or Print menu of its model.

Installation

Depends on muk_web_utils for the progress bar, nothing external.

Usage

Select records in a list, a kanban or a form and pick the action or report as usual; the progress bar does the rest.

Upgrade

The flags are fields on the actions and reports, so they carry over with the database.

Credits

MuK IT GmbH, Vienna. Author and maintainer.

Still running mass updates overnight?

Tell us which jobs run into the timeout and how many records they touch, and we will tell you what batching solves and what wants a scheduled job instead. MuK IT — Austrian Odoo partner, Vienna.

sale@mukit.at
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies Show
MuK Web Utils
Lines of code 843
Technical Name muk_web_actions
LicenseLGPL-3
Websitehttp://www.mukit.at

MuK Batch Actions

Runs server actions and reports from the Actions and Print menus in batches instead of in one request. A server action set to Execute in Batch processes the selected records in slices of a configurable size, and a report set to Execute in Batch downloads one file per record, both behind a progress bar. Each batch is its own transaction, so large selections stay below the server timeout and a failing batch keeps the batches before it saved.

Installation

To install this module, you need to:

Download the module and add it to your Odoo addons folder. Afterward, log on to your Odoo server and go to the Apps menu. Trigger the debug mode and update the list by clicking on the "Update Apps List" link. Now install the module by clicking on the install button.

Upgrade

To upgrade this module, you need to:

Download the module and add it to your Odoo addons folder. Restart the server and log on to your Odoo server. Select the Apps menu and upgrade the module by clicking on the upgrade button.

Configuration

Batching is set per action, in debug mode:

  • Server actions (Settings > Technical > Server Actions): turn on Execute in Batch and set the Batch Size, the number of records sent to the server per request. Such an action should not return an action to open, as it runs once per batch.
  • Reports (Settings > Technical > Reports): turn on Execute in Batch on a PDF or text report. HTML reports cannot be batched.

The action or report has to be in the Actions or Print menu of its model (Create Contextual Action or Add to the 'Print' menu).

Usage

  1. Select records in a list or kanban view, or open a single record, and pick the action from the Actions menu or the report from the Print menu.
  2. A progress bar shows the current batch and the estimated time left. Server actions run in slices of the batch size; reports download one file per record.
  3. When all records of the domain are selected, the ids are resolved on the server first, up to the active ids limit.
  4. If a batch fails, the run stops with the error; the batches before it stay saved.

Actions and reports without the flag keep the standard behaviour.

Credits

Contributors

  • Mathias Markl <mathias.markl@mukit.at>

Author & Maintainer

This module is maintained by the MuK IT GmbH.

MuK IT is an Austrian company specialized in customizing and extending Odoo. We develop custom solutions for your individual needs to help you focus on your strength and expertise to grow your business.

If you want to get in touch please contact us via mail (sale@mukit.at) or visit our website (https://mukit.at).

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, please use the developer contact information. They can usually be found in the description.
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