diff --git a/README.md b/README.md index 5ccc7d621..0ee8afbce 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ addon | version | maintainers | summary [web_edit_user_filter](web_edit_user_filter/) | 14.0.1.0.1 | | Edit User Filters [web_environment_ribbon](web_environment_ribbon/) | 14.0.1.0.0 | | Web Environment Ribbon [web_field_required_invisible_manager](web_field_required_invisible_manager/) | 14.0.2.2.1 | [![ilyasProgrammer](https://github.com/ilyasProgrammer.png?size=30px)](https://github.com/ilyasProgrammer) | Web Field Required Invisible Readonly Managerr +[web_fix_modules_load](web_fix_modules_load/) | 14.0.1.0.0 | [![simahawk](https://github.com/simahawk.png?size=30px)](https://github.com/simahawk) | Fix translations loading from frontend with many modules [web_group_expand](web_group_expand/) | 14.0.1.0.0 | | Group Expand Buttons [web_ir_actions_act_multi](web_ir_actions_act_multi/) | 14.0.1.0.1 | | Enables triggering of more than one action on ActionManager [web_ir_actions_act_view_reload](web_ir_actions_act_view_reload/) | 14.0.1.0.2 | | Enables reload of the current view via ActionManager diff --git a/setup/_metapackage/VERSION.txt b/setup/_metapackage/VERSION.txt index 797dfa397..9c808aa55 100644 --- a/setup/_metapackage/VERSION.txt +++ b/setup/_metapackage/VERSION.txt @@ -1 +1 @@ -14.0.20231120.0 \ No newline at end of file +14.0.20231127.0 \ No newline at end of file diff --git a/setup/_metapackage/setup.py b/setup/_metapackage/setup.py index a7c7a5ac2..cff2b3068 100644 --- a/setup/_metapackage/setup.py +++ b/setup/_metapackage/setup.py @@ -26,6 +26,7 @@ setuptools.setup( 'odoo14-addon-web_edit_user_filter', 'odoo14-addon-web_environment_ribbon', 'odoo14-addon-web_field_required_invisible_manager', + 'odoo14-addon-web_fix_modules_load', 'odoo14-addon-web_group_expand', 'odoo14-addon-web_ir_actions_act_multi', 'odoo14-addon-web_ir_actions_act_view_reload', diff --git a/web_fix_modules_load/README.rst b/web_fix_modules_load/README.rst index 771ac7742..709577dfe 100644 --- a/web_fix_modules_load/README.rst +++ b/web_fix_modules_load/README.rst @@ -1 +1,95 @@ -bot, please! \ No newline at end of file +======================= +Fix translation loading +======================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:3e57b291b46beb88e4c7462994e58785f830fb637b7a76b67ad2862bccb7da44 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png + :target: https://odoo-community.org/page/development-status + :alt: Alpha +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github + :target: https://github.com/OCA/web/tree/14.0/web_fix_modules_load + :alt: OCA/web +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_fix_modules_load + :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/web&target_branch=14.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Odoo loads translations and module info using their names. +When you have a lot of modules installed (eg: 500+) +this can lead to very big GET requests (more than 12k) which, in most of the cases, +will be blocked by the web server (eg: nginx) because they are too big. + +This module tries to fix this by using modules' ids instead of names +reducing dramatically the size of such requests. + +.. IMPORTANT:: + This is an alpha version, the data model and design can change at any time without warning. + Only for development or testing purpose, do not use in production. + `More details on development status `_ + +**Table of contents** + +.. contents:: + :local: + +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 +~~~~~~~ + +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Simone Orsi + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +.. |maintainer-simahawk| image:: https://github.com/simahawk.png?size=40px + :target: https://github.com/simahawk + :alt: simahawk + +Current `maintainer `__: + +|maintainer-simahawk| + +This module is part of the `OCA/web `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_fix_modules_load/static/description/icon.png b/web_fix_modules_load/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/web_fix_modules_load/static/description/icon.png differ diff --git a/web_fix_modules_load/static/description/index.html b/web_fix_modules_load/static/description/index.html new file mode 100644 index 000000000..e82f30048 --- /dev/null +++ b/web_fix_modules_load/static/description/index.html @@ -0,0 +1,434 @@ + + + + + + +Fix translation loading + + + +
+

Fix translation loading

+ + +

Alpha License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

+

Odoo loads translations and module info using their names. +When you have a lot of modules installed (eg: 500+) +this can lead to very big GET requests (more than 12k) which, in most of the cases, +will be blocked by the web server (eg: nginx) because they are too big.

+

This module tries to fix this by using modules’ ids instead of names +reducing dramatically the size of such requests.

+
+

Important

+

This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

+
+

Table of contents

+ +
+

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

+
    +
  • Camptocamp
  • +
+
+ +
+

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.

+

Current maintainer:

+

simahawk

+

This module is part of the OCA/web project on GitHub.

+

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

+
+
+
+ +