diff --git a/github_connector_oca/README.rst b/github_connector_oca/README.rst new file mode 100644 index 00000000..0c46195c --- /dev/null +++ b/github_connector_oca/README.rst @@ -0,0 +1,92 @@ +================================ +Github Connector - OCA extension +================================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:03c02bef4d7403aa062497013b5d30bc57219e5896b71601c4165187b8a027a7 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/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%2Finterface--github-lightgray.png?logo=github + :target: https://github.com/OCA/interface-github/tree/18.0/github_connector_oca + :alt: OCA/interface-github +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/interface-github-18-0/interface-github-18-0-github_connector_oca + :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/interface-github&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module extends the functionality of the github_connector_odoo +module and adds Odoo Community specific fields. + +At the moment only the Module maturity field is added. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +1. Sync the module as defined in the github_connector_odoo module. No + specific configuration is needed + +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 +------- + +* Road-Support + +Contributors +------------ + +- Roel Adriaans +- `Tecnativa `__: + + - Vicent Cubells + - Carlos Roca + - Ernesto Tejeda + +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. + +This module is part of the `OCA/interface-github `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/github_connector_oca/__init__.py b/github_connector_oca/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/github_connector_oca/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/github_connector_oca/__manifest__.py b/github_connector_oca/__manifest__.py new file mode 100644 index 00000000..c6ea2021 --- /dev/null +++ b/github_connector_oca/__manifest__.py @@ -0,0 +1,14 @@ +# Copyright 2018 Road-Support - Roel Adriaans +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Github Connector - OCA extension", + "summary": "Add OCA specific information to Odoo modules", + "version": "18.0.1.0.0", + "category": "Connector", + "license": "AGPL-3", + "author": "Odoo Community Association (OCA), Road-Support", + "website": "https://github.com/OCA/interface-github", + "depends": ["github_connector_odoo"], + "data": ["views/odoo_module_version.xml"], + "installable": True, +} diff --git a/github_connector_oca/i18n/github_connector_oca.pot b/github_connector_oca/i18n/github_connector_oca.pot new file mode 100644 index 00000000..c43bf740 --- /dev/null +++ b/github_connector_oca/i18n/github_connector_oca.pot @@ -0,0 +1,59 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * github_connector_oca +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.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: github_connector_oca +#: model:ir.model.fields.selection,name:github_connector_oca.selection__odoo_module_version__development_status__alpha +msgid "Alpha" +msgstr "" + +#. module: github_connector_oca +#: model:ir.model.fields.selection,name:github_connector_oca.selection__odoo_module_version__development_status__beta +msgid "Beta" +msgstr "" + +#. module: github_connector_oca +#: model:ir.model.fields,field_description:github_connector_oca.field_odoo_module_version__display_name +msgid "Display Name" +msgstr "" + +#. module: github_connector_oca +#: model:ir.model.fields,field_description:github_connector_oca.field_odoo_module_version__id +msgid "ID" +msgstr "" + +#. module: github_connector_oca +#: model:ir.model.fields,field_description:github_connector_oca.field_odoo_module_version____last_update +msgid "Last Modified on" +msgstr "" + +#. module: github_connector_oca +#: model:ir.model.fields.selection,name:github_connector_oca.selection__odoo_module_version__development_status__mature +msgid "Mature" +msgstr "" + +#. module: github_connector_oca +#: model:ir.model.fields,field_description:github_connector_oca.field_odoo_module_version__development_status +msgid "Module maturity" +msgstr "" + +#. module: github_connector_oca +#: model:ir.model,name:github_connector_oca.model_odoo_module_version +msgid "Odoo Module Version" +msgstr "" + +#. module: github_connector_oca +#: model:ir.model.fields.selection,name:github_connector_oca.selection__odoo_module_version__development_status__production/stable +msgid "Production/Stable" +msgstr "" diff --git a/github_connector_oca/i18n/it.po b/github_connector_oca/i18n/it.po new file mode 100644 index 00000000..bfcf6d57 --- /dev/null +++ b/github_connector_oca/i18n/it.po @@ -0,0 +1,62 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * github_connector_oca +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2025-10-13 10:42+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 5.10.4\n" + +#. module: github_connector_oca +#: model:ir.model.fields.selection,name:github_connector_oca.selection__odoo_module_version__development_status__alpha +msgid "Alpha" +msgstr "Alfa" + +#. module: github_connector_oca +#: model:ir.model.fields.selection,name:github_connector_oca.selection__odoo_module_version__development_status__beta +msgid "Beta" +msgstr "Beta" + +#. module: github_connector_oca +#: model:ir.model.fields,field_description:github_connector_oca.field_odoo_module_version__display_name +msgid "Display Name" +msgstr "Nome visualizzato" + +#. module: github_connector_oca +#: model:ir.model.fields,field_description:github_connector_oca.field_odoo_module_version__id +msgid "ID" +msgstr "ID" + +#. module: github_connector_oca +#: model:ir.model.fields,field_description:github_connector_oca.field_odoo_module_version____last_update +msgid "Last Modified on" +msgstr "Ultima modifica il" + +#. module: github_connector_oca +#: model:ir.model.fields.selection,name:github_connector_oca.selection__odoo_module_version__development_status__mature +msgid "Mature" +msgstr "Maturo" + +#. module: github_connector_oca +#: model:ir.model.fields,field_description:github_connector_oca.field_odoo_module_version__development_status +msgid "Module maturity" +msgstr "Maturità modulo" + +#. module: github_connector_oca +#: model:ir.model,name:github_connector_oca.model_odoo_module_version +msgid "Odoo Module Version" +msgstr "Versione modulo Odoo" + +#. module: github_connector_oca +#: model:ir.model.fields.selection,name:github_connector_oca.selection__odoo_module_version__development_status__production/stable +msgid "Production/Stable" +msgstr "Produzione/stabile" diff --git a/github_connector_oca/models/__init__.py b/github_connector_oca/models/__init__.py new file mode 100644 index 00000000..44cdce07 --- /dev/null +++ b/github_connector_oca/models/__init__.py @@ -0,0 +1 @@ +from . import odoo_module_version diff --git a/github_connector_oca/models/odoo_module_version.py b/github_connector_oca/models/odoo_module_version.py new file mode 100644 index 00000000..88534f66 --- /dev/null +++ b/github_connector_oca/models/odoo_module_version.py @@ -0,0 +1,28 @@ +# Copyright 2018 Road-Support - Roel Adriaans +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class OdooModuleVersion(models.Model): + _inherit = "odoo.module.version" + + _ODOO_DEVELOPMENT_STATUS_SELECTION = [ + ("alpha", "Alpha"), + ("beta", "Beta"), + ("production/stable", "Production/Stable"), + ("mature", "Mature"), + ] + + development_status = fields.Selection( + string="Module maturity", + selection=_ODOO_DEVELOPMENT_STATUS_SELECTION, + readonly=True, + ) + + @api.model + def manifest_2_odoo(self, info, repository_branch, module): + res = super().manifest_2_odoo(info, repository_branch, module) + if "development_status" in info: + res["development_status"] = info["development_status"].lower() + return res diff --git a/github_connector_oca/pyproject.toml b/github_connector_oca/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/github_connector_oca/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/github_connector_oca/readme/CONTRIBUTORS.md b/github_connector_oca/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..f8dbe3fa --- /dev/null +++ b/github_connector_oca/readme/CONTRIBUTORS.md @@ -0,0 +1,5 @@ +- Roel Adriaans \<\> +- [Tecnativa](https://www.tecnativa.com): + - Vicent Cubells + - Carlos Roca + - Ernesto Tejeda diff --git a/github_connector_oca/readme/DESCRIPTION.md b/github_connector_oca/readme/DESCRIPTION.md new file mode 100644 index 00000000..e84e7378 --- /dev/null +++ b/github_connector_oca/readme/DESCRIPTION.md @@ -0,0 +1,4 @@ +This module extends the functionality of the github_connector_odoo +module and adds Odoo Community specific fields. + +At the moment only the Module maturity field is added. diff --git a/github_connector_oca/readme/USAGE.md b/github_connector_oca/readme/USAGE.md new file mode 100644 index 00000000..c60dafb2 --- /dev/null +++ b/github_connector_oca/readme/USAGE.md @@ -0,0 +1,4 @@ +To use this module, you need to: + +1. Sync the module as defined in the github_connector_odoo module. No + specific configuration is needed diff --git a/github_connector_oca/static/description/icon.png b/github_connector_oca/static/description/icon.png new file mode 100644 index 00000000..4599a941 Binary files /dev/null and b/github_connector_oca/static/description/icon.png differ diff --git a/github_connector_oca/static/description/index.html b/github_connector_oca/static/description/index.html new file mode 100644 index 00000000..7b685b06 --- /dev/null +++ b/github_connector_oca/static/description/index.html @@ -0,0 +1,440 @@ + + + + + +Github Connector - OCA extension + + + +
+

Github Connector - OCA extension

+ + +

Beta License: AGPL-3 OCA/interface-github Translate me on Weblate Try me on Runboat

+

This module extends the functionality of the github_connector_odoo +module and adds Odoo Community specific fields.

+

At the moment only the Module maturity field is added.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Sync the module as defined in the github_connector_odoo module. No +specific configuration is needed
  2. +
+
+
+

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

+
    +
  • Road-Support
  • +
+
+
+

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.

+

This module is part of the OCA/interface-github project on GitHub.

+

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

+
+
+
+ + diff --git a/github_connector_oca/views/odoo_module_version.xml b/github_connector_oca/views/odoo_module_version.xml new file mode 100644 index 00000000..e53ced52 --- /dev/null +++ b/github_connector_oca/views/odoo_module_version.xml @@ -0,0 +1,18 @@ + + + + + + + odoo.module.version + + + + + + + +