diff --git a/misc_settings/README.rst b/misc_settings/README.rst new file mode 100644 index 0000000000..1a39391e50 --- /dev/null +++ b/misc_settings/README.rst @@ -0,0 +1,118 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +====================== +Miscellaneous Settings +====================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:10406e9dd97f908bcc55e16b612dd2b33f4f9687c0c63313bdea25180cfbecc0 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-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%2Fserver--ux-lightgray.png?logo=github + :target: https://github.com/OCA/server-ux/tree/19.0/misc_settings + :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-19-0/server-ux-19-0-misc_settings + :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=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Miscellaneous settings to be an anchor for your custom settings + +Use case : you want your users to find all the settings they need to +manage their activity over time on a single, dedicated page. + +|Miscellaneous settings screen| + +.. |Miscellaneous settings screen| image:: https://raw.githubusercontent.com/OCA/server-ux/19.0/misc_settings/static/description/screen.png + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +You can override like here + +.. code:: xml + + + res.config.settings + + + + +

My Section

+
+ Complete here +
+
+
+
+ +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 +------- + +* Akretion + +Contributors +------------ + +- `Akretion `__: + + - David BEAL + +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-bealdav| image:: https://github.com/bealdav.png?size=40px + :target: https://github.com/bealdav + :alt: bealdav + +Current `maintainer `__: + +|maintainer-bealdav| + +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/misc_settings/__init__.py b/misc_settings/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/misc_settings/__manifest__.py b/misc_settings/__manifest__.py new file mode 100644 index 0000000000..973c86e6c4 --- /dev/null +++ b/misc_settings/__manifest__.py @@ -0,0 +1,20 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Miscellaneous Settings", + "version": "19.0.1.0.0", + "category": "Tools", + "license": "AGPL-3", + "summary": "Miscellaneous settings to be an anchor for your custom settings", + "author": "Akretion,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/server-ux", + "maintainers": ["bealdav"], + "depends": [ + "base", + ], + "data": [ + "views/res_config_settings.xml", + ], + "application": True, + "installable": True, +} diff --git a/misc_settings/i18n/fr.po b/misc_settings/i18n/fr.po new file mode 100644 index 0000000000..bb8330f1c4 --- /dev/null +++ b/misc_settings/i18n/fr.po @@ -0,0 +1,28 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * misc_settings +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#. module: misc_settings +#: model_terms:ir.ui.view,arch_db:misc_settings.res_config_settings_view_form +msgid "Miscellaneous" +msgstr "Divers" + +#. module: misc_settings +#: model:ir.actions.act_window,name:misc_settings.action_misc_settings +msgid "Settings" +msgstr "Paramètres" diff --git a/misc_settings/i18n/it.po b/misc_settings/i18n/it.po new file mode 100644 index 0000000000..9645d0e58a --- /dev/null +++ b/misc_settings/i18n/it.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * misc_settings +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-06-24 14:37+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.17\n" + +#. module: misc_settings +#: model_terms:ir.ui.view,arch_db:misc_settings.res_config_settings_view_form +msgid "Miscellaneous" +msgstr "Varie" + +#. module: misc_settings +#: model:ir.actions.act_window,name:misc_settings.action_misc_settings +msgid "Settings" +msgstr "Impostazioni" diff --git a/misc_settings/i18n/misc_settings.pot b/misc_settings/i18n/misc_settings.pot new file mode 100644 index 0000000000..81ce5fda0c --- /dev/null +++ b/misc_settings/i18n/misc_settings.pot @@ -0,0 +1,24 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * misc_settings +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: misc_settings +#: model_terms:ir.ui.view,arch_db:misc_settings.res_config_settings_view_form +msgid "Miscellaneous" +msgstr "" + +#. module: misc_settings +#: model:ir.actions.act_window,name:misc_settings.action_misc_settings +msgid "Settings" +msgstr "" diff --git a/misc_settings/pyproject.toml b/misc_settings/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/misc_settings/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/misc_settings/readme/CONFIGURE.md b/misc_settings/readme/CONFIGURE.md new file mode 100644 index 0000000000..af53b726ad --- /dev/null +++ b/misc_settings/readme/CONFIGURE.md @@ -0,0 +1,17 @@ +You can override like here + +``` xml + + res.config.settings + + + + +

My Section

+
+ Complete here +
+
+
+
+``` diff --git a/misc_settings/readme/CONTRIBUTORS.md b/misc_settings/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..634c5b42e7 --- /dev/null +++ b/misc_settings/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- [Akretion](https://www.akretion.com): + - David BEAL diff --git a/misc_settings/readme/DESCRIPTION.md b/misc_settings/readme/DESCRIPTION.md new file mode 100644 index 0000000000..0a4dfd8f23 --- /dev/null +++ b/misc_settings/readme/DESCRIPTION.md @@ -0,0 +1,6 @@ +Miscellaneous settings to be an anchor for your custom settings + +Use case : you want your users to find all the settings they need to +manage their activity over time on a single, dedicated page. + +![Miscellaneous settings screen](../static/description/screen.png) diff --git a/misc_settings/static/description/icon.png b/misc_settings/static/description/icon.png new file mode 100644 index 0000000000..7e3bb2c447 Binary files /dev/null and b/misc_settings/static/description/icon.png differ diff --git a/misc_settings/static/description/index.html b/misc_settings/static/description/index.html new file mode 100644 index 0000000000..608280d217 --- /dev/null +++ b/misc_settings/static/description/index.html @@ -0,0 +1,457 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Miscellaneous Settings

+ +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runboat

+

Miscellaneous settings to be an anchor for your custom settings

+

Use case : you want your users to find all the settings they need to +manage their activity over time on a single, dedicated page.

+

Miscellaneous settings screen

+

Table of contents

+ +
+

Configuration

+

You can override like here

+
+<record id="res_config_settings_view_form" model="ir.ui.view">
+    <field name="model">res.config.settings</field>
+    <field name="priority" eval="200"/>
+    <field name="inherit_id" ref="misc_settings.res_config_settings_view_form"/>
+    <field name="arch" type="xml">
+        <xpath expr="//div[@data-key='misc_settings']" position="inside">
+            <h2>My Section</h2>
+            <div class="row mt16 o_settings_container" name="my_section">
+                Complete here
+            </div>
+        </xpath>
+    </field>
+</record>
+
+
+
+

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

+
    +
  • Akretion
  • +
+
+
+

Contributors

+ +
+
+

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:

+

bealdav

+

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/misc_settings/static/description/screen.png b/misc_settings/static/description/screen.png new file mode 100644 index 0000000000..6e8bc14560 Binary files /dev/null and b/misc_settings/static/description/screen.png differ diff --git a/misc_settings/views/res_config_settings.xml b/misc_settings/views/res_config_settings.xml new file mode 100644 index 0000000000..7aeefbe010 --- /dev/null +++ b/misc_settings/views/res_config_settings.xml @@ -0,0 +1,28 @@ + + + + res.config.settings + + + + + + + + + + + Settings + + res.config.settings + form + {'module' : 'misc_settings', 'bin_size': False} + + + +