Skip to content

Commit

Permalink
[IMP] server_action_mass_edit: pre-commit execution
Browse files Browse the repository at this point in the history
  • Loading branch information
rov-adhoc committed Jan 26, 2024
1 parent 6d341c8 commit 415c3ff
Show file tree
Hide file tree
Showing 11 changed files with 120 additions and 115 deletions.
109 changes: 57 additions & 52 deletions server_action_mass_edit/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,37 @@ Mass Editing
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github
:target: https://github.com/OCA/server-ux/tree/16.0/server_action_mass_edit
:target: https://github.com/OCA/server-ux/tree/17.0/server_action_mass_edit
:alt: OCA/server-ux
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit
:target: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-server_action_mass_edit
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-ux&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-ux&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides the following features:

* You can add, update or remove the values of more than one records on the fly at the same time.

* You can configure mass editing for any Odoo model.
- You can add, update or remove the values of more than one records on
the fly at the same time.
- You can configure mass editing for any Odoo model.

**Difference between the Odoo 13.0 CE Feature**

Since Odoo V13, a limited "mass Editing feature" is available in Odoo CE.
Since Odoo V13, a limited "mass Editing feature" is available in Odoo
CE.

This module provides the following extra features that are not in the Core
for the time being:
This module provides the following extra features that are not in the
Core for the time being:

* Possibility to mass edit many fields in a single action
* Possibility to add a group to limit the usage of this function to given
people
* Possibility to filter the items the user can mass update
* Possibility to mass edit any fields with any widget. (For exemple
color fields, image fields, etc...)
- Possibility to mass edit many fields in a single action
- Possibility to add a group to limit the usage of this function to
given people
- Possibility to filter the items the user can mass update
- Possibility to mass edit any fields with any widget. (For exemple
color fields, image fields, etc...)

**Table of contents**

Expand All @@ -56,87 +57,91 @@ for the time being:
Configuration
=============

* Go to *Settings / Technical / Actions / Server Actions* and configure the object and fields for Mass Editing.

* Select the object and add the fields of that object on which you want to apply mass editing.
- Go to *Settings / Technical / Actions / Server Actions* and configure
the object and fields for Mass Editing.
- Select the object and add the fields of that object on which you want
to apply mass editing.

.. image:: https://raw.githubusercontent.com/OCA/server-ux/16.0/server_action_mass_edit/static/description/mass_editing_form.png
:width: 70%

* *Add Action*: Click on *Create Contextual Action* to add mass editing in *Action* menu.
|image|

- *Add Action*: Click on *Create Contextual Action* to add mass editing
in *Action* menu.

**Options**

* You can add an extra message that will be displayed in the wizard.
- You can add an extra message that will be displayed in the wizard.
- This module plays nicely with server_action_domain, allowing you to
limit the mass editing action with a domain.

* This module plays nicely with `server_action_domain`, allowing you to limit
the mass editing action with a domain.
.. |image| image:: https://raw.githubusercontent.com/OCA/server-ux/17.0/server_action_mass_edit/static/description/mass_editing_form.png

Usage
=====

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

|image|

.. image:: https://raw.githubusercontent.com/OCA/server-ux/16.0/server_action_mass_edit/static/description/mass_editing-item_tree.png
:width: 70%
- Select *Set / Remove* action and write down the value to set or
remove the value for the given field.

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

.. image:: https://raw.githubusercontent.com/OCA/server-ux/16.0/server_action_mass_edit/static/description/mass_editing-wizard_form.png
:width: 70%
- This way you can set / remove the values of the fields.

* This way you can set / remove the values of the fields.
|image2|

.. image:: https://raw.githubusercontent.com/OCA/server-ux/16.0/server_action_mass_edit/static/description/mass_editing-item_tree-result.png
:width: 70%
.. |image| image:: https://raw.githubusercontent.com/OCA/server-ux/17.0/server_action_mass_edit/static/description/mass_editing-item_tree.png
.. |image1| image:: https://raw.githubusercontent.com/OCA/server-ux/17.0/server_action_mass_edit/static/description/mass_editing-wizard_form.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/server-ux/17.0/server_action_mass_edit/static/description/mass_editing-item_tree-result.png

Known issues / Roadmap
======================

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

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-ux/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 <https://github.com/OCA/server-ux/issues/new?body=module:%20server_action_mass_edit%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/server-ux/issues/new?body=module:%20server_action_mass_edit%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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
~~~~~~~~~~~~
------------

* Oihane Crucelaegui <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>
* Jay Vora <[email protected]>
* Juan Negrete <[email protected]>
* Raul Martin <[email protected]>
* Aitor Bouzas <[email protected]>
* Sylvain LE GAL (https://twitter.com/legalsylvain)
* Iván Todorovich <[email protected]>
- Oihane Crucelaegui <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[email protected]>
- Jay Vora <[email protected]>
- Juan Negrete <[email protected]>
- Raul Martin <[email protected]>
- Aitor Bouzas <[email protected]>
- Sylvain LE GAL (https://twitter.com/legalsylvain)
- Iván Todorovich <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__

* `Tecnativa <https://www.tecnativa.com>`_
- Jairo Llopis
- Víctor Martínez

* Jairo Llopis
* Víctor Martínez
* Tatiana Deribina <[email protected]>
- Tatiana Deribina <[email protected]>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -148,6 +153,6 @@ 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 <https://github.com/OCA/server-ux/tree/16.0/server_action_mass_edit>`_ project on GitHub.
This module is part of the `OCA/server-ux <https://github.com/OCA/server-ux/tree/17.0/server_action_mass_edit>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions server_action_mass_edit/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
15 changes: 15 additions & 0 deletions server_action_mass_edit/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- Go to *Settings / Technical / Actions / Server Actions* and configure
the object and fields for Mass Editing.
- Select the object and add the fields of that object on which you want
to apply mass editing.

![image](../static/description/mass_editing_form.png)

- *Add Action*: Click on *Create Contextual Action* to add mass editing
in *Action* menu.

**Options**

- You can add an extra message that will be displayed in the wizard.
- This module plays nicely with server_action_domain, allowing you to
limit the mass editing action with a domain.
16 changes: 0 additions & 16 deletions server_action_mass_edit/readme/CONFIGURE.rst

This file was deleted.

12 changes: 12 additions & 0 deletions server_action_mass_edit/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- Oihane Crucelaegui \<<[email protected]>\>
- Serpent Consulting Services Pvt. Ltd. \<<[email protected]>\>
- Jay Vora \<<[email protected]>\>
- Juan Negrete \<<[email protected]>\>
- Raul Martin \<<[email protected]>\>
- Aitor Bouzas \<<[email protected]>\>
- Sylvain LE GAL (<https://twitter.com/legalsylvain>)
- Iván Todorovich \<<[email protected]>\>
- [Tecnativa](https://www.tecnativa.com)
- Jairo Llopis
- Víctor Martínez
- Tatiana Deribina \<<[email protected]>\>
14 changes: 0 additions & 14 deletions server_action_mass_edit/readme/CONTRIBUTORS.rst

This file was deleted.

20 changes: 20 additions & 0 deletions server_action_mass_edit/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
This module provides the following features:

- You can add, update or remove the values of more than one records on
the fly at the same time.
- You can configure mass editing for any Odoo model.

**Difference between the Odoo 13.0 CE Feature**

Since Odoo V13, a limited "mass Editing feature" is available in Odoo
CE.

This module provides the following extra features that are not in the
Core for the time being:

- Possibility to mass edit many fields in a single action
- Possibility to add a group to limit the usage of this function to
given people
- Possibility to filter the items the user can mass update
- Possibility to mass edit any fields with any widget. (For exemple
color fields, image fields, etc...)
19 changes: 0 additions & 19 deletions server_action_mass_edit/readme/DESCRIPTION.rst

This file was deleted.

File renamed without changes.
13 changes: 13 additions & 0 deletions server_action_mass_edit/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- *Go for Mass Editing*: select the records which you want to modify and
click on *Action* to open mass editing popup.

![image](../static/description/mass_editing-item_tree.png)

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

![image](../static/description/mass_editing-wizard_form.png)

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

![image](../static/description/mass_editing-item_tree-result.png)
14 changes: 0 additions & 14 deletions server_action_mass_edit/readme/USAGE.rst

This file was deleted.

0 comments on commit 415c3ff

Please sign in to comment.