Skip to content

Commit cd918c0

Browse files
committed
[BOT] post-merge updates
1 parent 4036ecf commit cd918c0

4 files changed

Lines changed: 257 additions & 89 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ addon | version | maintainers | summary
5252
[multi_step_wizard](multi_step_wizard/) | 18.0.1.0.1 | | Multi-Steps Wizards
5353
[sequence_check_digit](sequence_check_digit/) | 18.0.1.1.0 | | Adds a check digit on sequences
5454
[sequence_reset_period](sequence_reset_period/) | 18.0.1.0.0 | | Auto-generate yearly/monthly/weekly/daily sequence period ranges
55-
[server_action_mass_edit](server_action_mass_edit/) | 18.0.1.1.1 | | Mass Editing
55+
[server_action_mass_edit](server_action_mass_edit/) | 18.0.1.1.2 | | Mass Editing
5656
[server_action_mass_edit_onchange](server_action_mass_edit_onchange/) | 18.0.1.1.1 | | Extension of server_action_mass_edit
5757
[template_content_swapper](template_content_swapper/) | 18.0.1.0.0 | <a href='https://github.com/yostashiro'><img src='https://github.com/yostashiro.png' width='32' height='32' style='border-radius:50%;' alt='yostashiro'/></a> <a href='https://github.com/AungKoKoLin1997'><img src='https://github.com/AungKoKoLin1997.png' width='32' height='32' style='border-radius:50%;' alt='AungKoKoLin1997'/></a> | Template Content Swapper
5858

server_action_mass_edit/README.rst

Lines changed: 124 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Mass Editing
1111
!! This file is generated by oca-gen-addon-readme !!
1212
!! changes will be overwritten. !!
1313
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14-
!! source digest: sha256:c1f6aa8b7cc70dd834b9fc4bfdf6715a737a8a9ab1ea49f4867d5731ad8632f8
14+
!! source digest: sha256:bbd73285a308f7a02d1cb2a53b1e241379fc1d22a29ea198339933cc52a79903
1515
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1616
1717
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -33,54 +33,123 @@ Mass Editing
3333
|badge1| |badge2| |badge3| |badge4| |badge5|
3434

3535
This module allows to edit several records at the same time in any Odoo
36-
model
36+
model.
3737

38-
**Difference in comparison to the Odoo Feature**
38+
**Table of contents**
39+
40+
.. contents::
41+
:local:
42+
43+
Use Cases / Context
44+
===================
3945

40-
Since Odoo V13, a limited "mass Editing feature" is available in Odoo
46+
Context
47+
-------
48+
49+
Difference in comparison to the Odoo Feature*\*
50+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51+
52+
Since Odoo V13, a limited *Mass Editing* feature is available in Odoo
4153
CE.
4254

43-
This module provides the following extra features that are not in the
44-
Core for the time being:
55+
In the list view, when selecting multiple records, you can edit a field.
56+
Then, the system will ask you if you want to apply those changes on all
57+
selected records. |Odoo Mass Editing| |Odoo Mass Editing Confirmation|
58+
|Odoo Mass Editing Result|
4559

46-
- Possibility to mass edit many fields in a single action
47-
- Possibility to add a group to limit the usage of this function to
48-
given people
49-
- Possibility to filter the items the user can mass update
50-
- Possibility to mass edit any fields with any widget. (For exemple
51-
color fields, image fields, etc...)
60+
This module provides the following extra features :
5261

53-
**Table of contents**
62+
- Mass edit *many fields* in a single action
63+
- Add an access group to the *Mass Edit Action* to limit the usage of
64+
this action to specific users.
65+
- Filter the records the user can mass update
66+
- Mass edit any fields with any widget. (For example color fields, image
67+
fields, etc...)
5468

55-
.. contents::
56-
:local:
69+
Use Case
70+
--------
71+
72+
It can be useful to be able to edit the value of one or more fields on
73+
multiple records at the same time easily.
74+
75+
For example, if I want to identify some contacts as *Customers,* I need
76+
to change the value of the field ``customer_rank`` from 0 to 1. This
77+
field is not visible on the form view of a *Contact* so the only way to
78+
do it (without this module) would be to export the list and import the
79+
edited file.
80+
81+
Another example would be to give access to specific users, using access
82+
groups, to mass edit some fields on the invoices.
83+
84+
.. |Odoo Mass Editing| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-Odoo_Mass_Edit.png
85+
.. |Odoo Mass Editing Confirmation| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-Odoo_Mass_Edit_Confirmation.png
86+
.. |Odoo Mass Editing Result| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-Odoo_Mass_edit_Result.png
5787

5888
Configuration
5989
=============
6090

61-
- In developer mode, go to *Settings / Technical / Actions / Server
62-
Actions*
63-
- Create a new server action
64-
- Name the server action (ie. *Product Template Category Mass Editing*)
65-
- Choose Type *Mass Edit Records*
66-
- Select the model
67-
- Add the security groups allowed to use this action
68-
- Add the fields you want to be mass edited
91+
As a user from the access group *Administration / Settings*, in debug
92+
mode, go to *Settings / Technical / Actions / Server Actions* and create
93+
a new *Server Action.* |OCA Mass Editing Menu|
94+
95+
In the field *Type,* choose the new option *Mass Edit Records*. |OCA
96+
Mass Editing Type|
6997

70-
|Configuration|
98+
Select the model on which you want to configure this action and give a
99+
name to your server action.
71100

72-
- *Add Action*: Click on *Create Contextual Action* to add mass editing
73-
in *Action* menu.
101+
| TIP!
102+
| Name your action “\ *Mass Edit : Object Functional Name*\ ”
103+
| E.g. *Mass Edit : Contact (or Partner)* |OCA Mass Editing Model|
74104
75-
**Options**
105+
Add the fields you want to be able to edit.
76106

77-
- You can setup the widget option to be displayed (ie many2many_tags,
78-
selection_image...)
79-
- You can tick Apply Domain allowing you to limit the mass editing
80-
action with a domain.
81-
- You can add an extra message that will be displayed in the wizard.
107+
You can search and filter all the fields available by clicking on
108+
*Search more.* |OCA Mass Editing Field| |OCA Mass Editing Field Filter|
82109

83-
.. |Configuration| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/mass_editing_form.png
110+
Click on *Create Contextual Action* to add the Mass Editing action in
111+
the *Action* menu. |OCA Mass Editing Create Contextual Action|
112+
113+
Widget Option
114+
-------------
115+
116+
This option allows you to choose the widget to be used in the Mass
117+
Editing Action Window. |OCA Mass Editing Widget|
118+
119+
Apply Domain
120+
------------
121+
122+
This option allows you to apply the default Domain related to the
123+
selected field. |OCA Mass Editing Domain|
124+
125+
Adding a Message
126+
~~~~~~~~~~~~~~~~
127+
128+
You can add a *“Message”* to guide the users when using this action.
129+
|OCA Mass Editing Message|
130+
131+
Adding security access group
132+
----------------------------
133+
134+
Go to the field *Allowed Groups* and add the Access Group(s) who can use
135+
this action. |OCA Mass Editing Security| |OCA Mass Editing Securtiy
136+
Groups| |Odoo Mass Editing Security Result|
137+
138+
Now, only users from those groups will be able to see and use this
139+
action.
140+
141+
.. |OCA Mass Editing Menu| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Menu.png
142+
.. |OCA Mass Editing Type| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Type.png
143+
.. |OCA Mass Editing Model| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Model.png
144+
.. |OCA Mass Editing Field| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Field.png
145+
.. |OCA Mass Editing Field Filter| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Field_Filter.png
146+
.. |OCA Mass Editing Create Contextual Action| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Create_Action.png
147+
.. |OCA Mass Editing Widget| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Widget.png
148+
.. |OCA Mass Editing Domain| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Domain.png
149+
.. |OCA Mass Editing Message| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Message.png
150+
.. |OCA Mass Editing Security| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Security.png
151+
.. |OCA Mass Editing Securtiy Groups| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Security_Groups.png
152+
.. |Odoo Mass Editing Security Result| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/18-OCA_Mass_Edit_Security_Result.png
84153

85154
Usage
86155
=====
@@ -108,6 +177,28 @@ Known issues / Roadmap
108177

109178
- Auto add fields that are used in related domains if apply_domain=True
110179

180+
Changelog
181+
=========
182+
183+
V11 to V13 Access
184+
-----------------
185+
186+
The module was previously named ``mass_editing`` (from v6.1 to version
187+
15) See :
188+
https://odoo-community.org/shop/mass-editing-1568?search=mass_editing#attr=5526
189+
190+
From version 16+, it is named ``server_action_mass_edit`` See:
191+
https://odoo-community.org/shop/mass-editing-11388?search=server_action_mass_edit#attr=22115
192+
193+
Access to the feature in V11 to V13
194+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
195+
196+
As a user from the access group *Administration / Settings*, go to
197+
*Settings / Mass Operations / Mass Editing.* |OCA Mass Editing Access
198+
V11 to V13|
199+
200+
.. |OCA Mass Editing Access V11 to V13| image:: https://raw.githubusercontent.com/OCA/server-ux/18.0/server_action_mass_edit/static/description/OCA_mass_edit_v11_v13.png
201+
111202
Bug Tracker
112203
===========
113204

server_action_mass_edit/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
33
{
44
"name": "Mass Editing",
5-
"version": "18.0.1.1.1",
5+
"version": "18.0.1.1.2",
66
"author": "Serpent Consulting Services Pvt. Ltd., "
77
"Tecnativa, "
88
"GRAP, "

0 commit comments

Comments
 (0)