OdooWiki OCA HUB

Mass Editing

server_action_mass_edit folder_open OCA/server-ux open_in_new
Tools License: AGPL-3

This module allows to edit several records at the same time in any Odoo model.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets users edit many records at once from a list view: you configure a 'Mass Edit Records' server action that lists the fields to change, then a pop-up wizard applies the new values to all selected records.

This module adds a new kind of server action called 'Mass Edit Records'. You create it in Settings > Technical > Actions > Server Actions, choose the target model, and on a new 'Fields' tab you list which fields the wizard should offer. For each field you can set a display widget, an optional filter (domain) for relational fields, and whether the field's default filter should apply. A 'Message' tab lets you show a custom note in the wizard.

When the action is run on selected records, a pop-up wizard opens. For every configured field it shows a choice: 'Don't touch', 'Set', 'Remove' (or 'Add' for many2many and one2many fields). Only the fields you change are written to the selected records. The wizard also tells you how many records will be processed, warns you if some selected records cannot be processed, and shows a red message if none can.

Business rules enforced by the module: - Fields must belong to the action's model, otherwise a validation error is raised. - A field cannot have both a custom filter and 'Apply Domain' at the same time. - Changing the model clears the configured field lines. - System fields and read-only fields are not offered.

It works on any model, and the demo shows examples for users and countries.

Depends on

base
Models and fields (4)
  • ir.ui.view · extends an existing modelmass_server_action_id
  • ir.actions.server · extends an existing modelstate, mass_edit_message (Message), mass_edit_line_ids, mass_edit_apply_domain_in_lines (Apply domain in lines)
  • mass.editing.wizard · new modelmessage, selected_item_qty, remaining_item_qty, operation_description_info, operation_description_danger, operation_description_warning
  • ir.actions.server.mass.edit.line · new modelfield_id (Field), model_id, sequence, apply_domain, field_domain (Domain), widget_option, field_relation, server_action_id (Server Action)

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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/server-ux.

terminal Installation and usage

OCA documentation · Odoo 19.0

As a user from the access group Administration / Settings, in debug mode, go to Settings / Technical / Actions / Server Actions and create a new Server Action.

In the field Type, choose the new option Mass Edit Records.

Select the model on which you want to configure this action and give a name to your server action.

TIP! Name your action “Mass Edit : Object Functional Name” E.g. Mass Edit : Contact (or Partner)

Add the fields you want to be able to edit.

You can search and filter all the fields available by clicking on Search more.

Click on Create Contextual Action to add the Mass Editing action in the Action menu.

Widget Option

This option allows you to choose the widget to be used in the Mass Editing Action Window.

Apply Domain

This option allows you to apply the default Domain related to the selected field.

Adding a Message

You can add a “Message” to guide the users when using this action.

Adding security access group

Go to the field Allowed Groups and add the Access Group(s) who can use this action.

Now, only users from those groups will be able to see and use this action.

  • Go for Mass Editing: select the records which you want to modify and click on Action to open mass editing popup.
  • Select Set / Remove action and write down the value to set or remove the value for the given field.
  • This way you can set / remove the values of the fields.

No verified information in OCA: Installation.

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.