Skip to Content
Menu
v 17.0 Third Party 2403
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 502
Technical Name server_action_mass_edit
LicenseAGPL-3
Websitehttps://github.com/OCA/server-ux
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Odoo Community Association

Mass Editing

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runboat

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

Table of contents

Use Cases / Context

Context

Difference in comparison to the Odoo Feature

Since Odoo V13, a limited Mass Editing

In the list view, when selecting multiple records, you can edit a field. Then, the system will ask you if you want to apply those changes on all selected records. Odoo Mass Editing Odoo Mass Editing Confirmation Odoo Mass Editing Result

This module provides the following extra features :

  • Mass edit many fields in a single action
  • Add an access group to the Mass Edit Action to limit the usage of this action to specific users.
  • Filter the records the user can mass update
  • Mass edit any fields with any widget. (For example color fields, image fields, etc…)

Use Case

It can be useful to be able to edit the value of one or more fields on multiple records at the same time easily.

For example, if I want to identify some contacts as Customers, I need to change the value of the field customer_rank from 0 to 1. This field is not visible on the form view of a Contact so the only way to do it (without this module) would be to export the list and import the edited file.

Another example would be to give access to specific users, using access groups, to mass edit some fields on the invoices.

Configuration

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. OCA Mass Editing Menu

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

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) OCA Mass Editing Model

Add the fields you want to be able to edit.

You can search and filter all the fields available by clicking on Search more. OCA Mass Editing Field OCA Mass Editing Field Filters

Click on Create Contextual Action to add the mass editing in the Action menu. OCA Mass Editing Create Action

V11 to V13 Access

Access to the feature in V11 to V13

As a user from the access group Administration / Settings, go to Settings / Mass Operations / Mass Editing. OCA Mass Editing Access V11 to V13

Widget Option

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

Apply Domain

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

Adding a Message

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

Adding security access group

Go to the field Allowed Groups and add the Access group(s) who can use this action. OCA Mass Editing Security OCA Mass Editing Security Groups OCA Mass Editing Security Results

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

Usage

  • Go for Mass Editing: select the records which you want to modify and click on Action to open mass editing popup.

Action

  • Select Set / Remove action and write down the value to set or remove the value for the given field.

Wizard Form

  • This way you can set / remove the values of the fields.

Wizard Result

Known issues / Roadmap

  • Auto add fields that are used in related domains if apply_domain=True

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Serpent Consulting Services Pvt. Ltd.
  • Tecnativa
  • GRAP
  • Iván Todorovich

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/server-ux project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

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.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
Release date of version 18
by
Hany Salem
on 12/2/24, 6:03 AM

Any estimate on the release date of version 18 of this app , please 


by
We Do
on 9/30/24, 8:52 AM

This Bug Appear when Install Module on Odoo.sh Version 17 - Please Review It

UncaughtPromiseError > TypeError

Uncaught Promise > commands is not iterable

TypeError: commands is not iterable

    at Proxy._applyCommands (https://shome1995-homesweet.odoo.com/web/assets/5743713/web.assets_web.min.js:6327:65)

    at Proxy._discard (https://shome1995-homesweet.odoo.com/web/assets/5743713/web.assets_web.min.js:6364:283)

    at Proxy._discard (https://shome1995-homesweet.odoo.com/web/assets/5743713/web.assets_web.min.js:6110:142)

    at https://shome1995-homesweet.odoo.com/web/assets/5743713/web.assets_web.min.js:6068:39

    at always (https://shome1995-homesweet.odoo.com/web/assets/5743713/web.assets_web.min.js:3917:42)


Can this module be used to mass edit one to many fields, for example I want to set attributes to several products (multiple lines) or remove all attributes from multiple records
by
Tarek Allam
on 8/8/24, 3:19 AM