From 415c3ff37613463de00eb370c264d783ce31ff8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roc=C3=ADo=20Vega?= Date: Fri, 26 Jan 2024 16:24:15 -0300 Subject: [PATCH] [IMP] server_action_mass_edit: pre-commit execution --- server_action_mass_edit/README.rst | 109 +++++++++--------- server_action_mass_edit/pyproject.toml | 3 + server_action_mass_edit/readme/CONFIGURE.md | 15 +++ server_action_mass_edit/readme/CONFIGURE.rst | 16 --- .../readme/CONTRIBUTORS.md | 12 ++ .../readme/CONTRIBUTORS.rst | 14 --- server_action_mass_edit/readme/DESCRIPTION.md | 20 ++++ .../readme/DESCRIPTION.rst | 19 --- .../readme/{ROADMAP.rst => ROADMAP.md} | 0 server_action_mass_edit/readme/USAGE.md | 13 +++ server_action_mass_edit/readme/USAGE.rst | 14 --- 11 files changed, 120 insertions(+), 115 deletions(-) create mode 100644 server_action_mass_edit/pyproject.toml create mode 100644 server_action_mass_edit/readme/CONFIGURE.md delete mode 100644 server_action_mass_edit/readme/CONFIGURE.rst create mode 100644 server_action_mass_edit/readme/CONTRIBUTORS.md delete mode 100644 server_action_mass_edit/readme/CONTRIBUTORS.rst create mode 100644 server_action_mass_edit/readme/DESCRIPTION.md delete mode 100644 server_action_mass_edit/readme/DESCRIPTION.rst rename server_action_mass_edit/readme/{ROADMAP.rst => ROADMAP.md} (100%) create mode 100644 server_action_mass_edit/readme/USAGE.md delete mode 100644 server_action_mass_edit/readme/USAGE.rst diff --git a/server_action_mass_edit/README.rst b/server_action_mass_edit/README.rst index cd382822ea..177d55c85a 100644 --- a/server_action_mass_edit/README.rst +++ b/server_action_mass_edit/README.rst @@ -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** @@ -56,45 +57,49 @@ 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 =========== @@ -102,7 +107,7 @@ 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -110,7 +115,7 @@ Credits ======= Authors -~~~~~~~ +------- * Serpent Consulting Services Pvt. Ltd. * Tecnativa @@ -118,25 +123,25 @@ Authors * Iván Todorovich Contributors -~~~~~~~~~~~~ +------------ -* Oihane Crucelaegui -* Serpent Consulting Services Pvt. Ltd. -* Jay Vora -* Juan Negrete -* Raul Martin -* Aitor Bouzas -* Sylvain LE GAL (https://twitter.com/legalsylvain) -* Iván Todorovich +- Oihane Crucelaegui +- Serpent Consulting Services Pvt. Ltd. +- Jay Vora +- Juan Negrete +- Raul Martin +- Aitor Bouzas +- Sylvain LE GAL (https://twitter.com/legalsylvain) +- Iván Todorovich +- `Tecnativa `__ -* `Tecnativa `_ + - Jairo Llopis + - Víctor Martínez - * Jairo Llopis - * Víctor Martínez -* Tatiana Deribina +- Tatiana Deribina Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -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 `_ project on GitHub. +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. diff --git a/server_action_mass_edit/pyproject.toml b/server_action_mass_edit/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/server_action_mass_edit/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/server_action_mass_edit/readme/CONFIGURE.md b/server_action_mass_edit/readme/CONFIGURE.md new file mode 100644 index 0000000000..3696ed9e9a --- /dev/null +++ b/server_action_mass_edit/readme/CONFIGURE.md @@ -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. diff --git a/server_action_mass_edit/readme/CONFIGURE.rst b/server_action_mass_edit/readme/CONFIGURE.rst deleted file mode 100644 index 5af6457d4e..0000000000 --- a/server_action_mass_edit/readme/CONFIGURE.rst +++ /dev/null @@ -1,16 +0,0 @@ -* 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 - :width: 70% - -* *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. diff --git a/server_action_mass_edit/readme/CONTRIBUTORS.md b/server_action_mass_edit/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..384fc2e3ac --- /dev/null +++ b/server_action_mass_edit/readme/CONTRIBUTORS.md @@ -0,0 +1,12 @@ +- Oihane Crucelaegui \<\> +- Serpent Consulting Services Pvt. Ltd. \<\> +- Jay Vora \<\> +- Juan Negrete \<\> +- Raul Martin \<\> +- Aitor Bouzas \<\> +- Sylvain LE GAL () +- Iván Todorovich \<\> +- [Tecnativa](https://www.tecnativa.com) + - Jairo Llopis + - Víctor Martínez +- Tatiana Deribina \<\> diff --git a/server_action_mass_edit/readme/CONTRIBUTORS.rst b/server_action_mass_edit/readme/CONTRIBUTORS.rst deleted file mode 100644 index ce841adced..0000000000 --- a/server_action_mass_edit/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,14 +0,0 @@ -* Oihane Crucelaegui -* Serpent Consulting Services Pvt. Ltd. -* Jay Vora -* Juan Negrete -* Raul Martin -* Aitor Bouzas -* Sylvain LE GAL (https://twitter.com/legalsylvain) -* Iván Todorovich - -* `Tecnativa `_ - - * Jairo Llopis - * Víctor Martínez -* Tatiana Deribina diff --git a/server_action_mass_edit/readme/DESCRIPTION.md b/server_action_mass_edit/readme/DESCRIPTION.md new file mode 100644 index 0000000000..6c63140330 --- /dev/null +++ b/server_action_mass_edit/readme/DESCRIPTION.md @@ -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...) diff --git a/server_action_mass_edit/readme/DESCRIPTION.rst b/server_action_mass_edit/readme/DESCRIPTION.rst deleted file mode 100644 index b9e2a77a77..0000000000 --- a/server_action_mass_edit/readme/DESCRIPTION.rst +++ /dev/null @@ -1,19 +0,0 @@ -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...) diff --git a/server_action_mass_edit/readme/ROADMAP.rst b/server_action_mass_edit/readme/ROADMAP.md similarity index 100% rename from server_action_mass_edit/readme/ROADMAP.rst rename to server_action_mass_edit/readme/ROADMAP.md diff --git a/server_action_mass_edit/readme/USAGE.md b/server_action_mass_edit/readme/USAGE.md new file mode 100644 index 0000000000..5440693aa4 --- /dev/null +++ b/server_action_mass_edit/readme/USAGE.md @@ -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) diff --git a/server_action_mass_edit/readme/USAGE.rst b/server_action_mass_edit/readme/USAGE.rst deleted file mode 100644 index e919bd50c3..0000000000 --- a/server_action_mass_edit/readme/USAGE.rst +++ /dev/null @@ -1,14 +0,0 @@ -* *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 - :width: 70% - -* 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 - :width: 70% - -* This way you can set / remove the values of the fields. - -.. image:: ../static/description/mass_editing-item_tree-result.png - :width: 70%