Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions server_action_mass_edit/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
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](../static/description/OCA_mass_edit_menu.png)

In the field *Action To Do*, choose the new option *Mass Edit Records*.
![OCA Mass Editing Action to do](../static/description/OCA_mass_edit_action_to_do.png)

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 Action Model Name](../static/description/OCA_mass_edit_model_name.png)

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 Search More](../static/description/OCA_mass_edit_fields_search_more.png)

![OCA Mass Editing Field Search More Filter](../static/description/OCA_mass_edit_fields_filter.png)

Click on *Create Contextual Action* to add the Mass Editing in the *Action* menu.
![OCA Mass Editing Create Action](../static/description/OCA_mass_edit_create_action.png)

## 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 Menu V11 to V13](../static/description/OCA_mass_edit_v11_v13.png)

## Widget Option
This option allows you to choose the widget to be used in the mass editing action window.
![OCA Mass Editing Widget Option](../static/description/mass_editing_widget.png)

## Apply Domain
This option allows you to apply the default domain related to the selected field.
![OCA Mass Editing Domain Option](../static/description/mass_editing_domain.png)

## Adding a Message
You can add a *“Message”* to guide the users when using this action.
![OCA Mass Editing Message](../static/description/mass_editing_message.png)

## Adding Security Access Groups
Go to the *Security* tab and add the *Access Group(s)* who can use this action.
![OCA Mass Editing Security Tab](../static/description/OCA_mass_edit_security.png)


![OCA Mass Editing Security Groups](../static/description/OCA_mass_edit_security_groups.png)
![OCA Mass Editing Security Results](../static/description/OCA_mass_edit_security_result.png)

Now, only users from those groups will be able to see and use this action.
16 changes: 0 additions & 16 deletions server_action_mass_edit/readme/CONFIGURE.rst

This file was deleted.

23 changes: 23 additions & 0 deletions server_action_mass_edit/readme/CONTEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Difference in comparison to the Odoo Feature
Since Odoo V13, a limited *Mass Editing* feature is available in Odoo CE.

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 Edit feature](../static/description/Odoo_mass_edit.png)

![Odoo Mass Edit Confirmation](../static/description/Odoo_mass_edit_confirmation.png)

![Odoo Mass Edit Result](../static/description/Odoo_mass_edit_result.png)

### 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 Cases
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.
1 change: 1 addition & 0 deletions server_action_mass_edit/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module allows to edit several records at the same time in any Odoo model.
19 changes: 0 additions & 19 deletions server_action_mass_edit/readme/DESCRIPTION.rst

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.