diff --git a/oca_custom/README.rst b/oca_custom/README.rst new file mode 100644 index 0000000..fe39545 --- /dev/null +++ b/oca_custom/README.rst @@ -0,0 +1,88 @@ +=================== +OCA Custom Settings +=================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:df0c7349e335de7ace652da62cd7743b27d7dc72eaec3da78766ff7f5fa0db54 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Foca--custom-lightgray.png?logo=github + :target: https://github.com/OCA/oca-custom/tree/18.0/oca_custom + :alt: OCA/oca-custom +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/oca-custom-18-0/oca-custom-18-0-oca_custom + :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/oca-custom&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Custom module for OCA Instance. + +**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 +------- + +* GRAP +* Akretion + +Contributors +------------ + +- Sylvain LE GAL (https://twitter.com/legalsylvain) + +- Benoit GUILLOT (benoit.guillot@akretion.com) + +- Stéphane Bidoul (stephane.bidoul@acsone.eu) + +- `Tecnativa `__: + + - Vicent Cubells + - Cristina Martin R. + - 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/oca-custom `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/oca_custom/__init__.py b/oca_custom/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/oca_custom/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/oca_custom/__manifest__.py b/oca_custom/__manifest__.py new file mode 100644 index 0000000..daaf8e8 --- /dev/null +++ b/oca_custom/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright (C) 2016-Today: Odoo Community Association (OCA) +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "OCA Custom Settings", + "summary": "Custom Settings for OCA Instance", + "version": "18.0.1.0.0", + "category": "Custom", + "website": "https://github.com/OCA/oca-custom", + "author": "GRAP, Akretion, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": [ + "github_connector", + 'document_knowledge' + ], + "data": [ + "views/res_partner.xml", + "views/document_knowledge.xml", + ], + "installable": True, +} diff --git a/oca_custom/i18n/oca_custom.pot b/oca_custom/i18n/oca_custom.pot new file mode 100644 index 0000000..948736d --- /dev/null +++ b/oca_custom/i18n/oca_custom.pot @@ -0,0 +1,40 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * oca_custom +# +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: oca_custom +#: model:ir.model,name:oca_custom.model_res_partner +msgid "Contact" +msgstr "" + +#. module: oca_custom +#: model:ir.model.fields,field_description:oca_custom.field_res_partner__display_name +msgid "Display Name" +msgstr "" + +#. module: oca_custom +#: model:ir.model.fields,field_description:oca_custom.field_res_partner__github_name +#: model:ir.model.fields,field_description:oca_custom.field_res_users__github_name +msgid "Github Technical Name" +msgstr "" + +#. module: oca_custom +#: model:ir.model.fields,field_description:oca_custom.field_res_partner__id +msgid "ID" +msgstr "" + +#. module: oca_custom +#: model:ir.model.fields,field_description:oca_custom.field_res_partner____last_update +msgid "Last Modified on" +msgstr "" diff --git a/oca_custom/models/__init__.py b/oca_custom/models/__init__.py new file mode 100644 index 0000000..91fed54 --- /dev/null +++ b/oca_custom/models/__init__.py @@ -0,0 +1 @@ +from . import res_partner diff --git a/oca_custom/models/res_partner.py b/oca_custom/models/res_partner.py new file mode 100644 index 0000000..a25c9f0 --- /dev/null +++ b/oca_custom/models/res_partner.py @@ -0,0 +1,11 @@ +# Copyright (C) 2016-Today: Odoo Community Association (OCA) +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class ResPartner(models.Model): + _inherit = "res.partner" + + github_name = fields.Char(readonly=False) diff --git a/oca_custom/pyproject.toml b/oca_custom/pyproject.toml new file mode 100644 index 0000000..4231d0c --- /dev/null +++ b/oca_custom/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/oca_custom/readme/CONTRIBUTORS.md b/oca_custom/readme/CONTRIBUTORS.md new file mode 100644 index 0000000..adbe09e --- /dev/null +++ b/oca_custom/readme/CONTRIBUTORS.md @@ -0,0 +1,12 @@ +- Sylvain LE GAL () + +- Benoit GUILLOT () + +- Stéphane Bidoul () + +- [Tecnativa](https://www.tecnativa.com): + + > - Vicent Cubells + > - Cristina Martin R. + > - Carlos Roca + > - Ernesto Tejeda diff --git a/oca_custom/readme/DESCRIPTION.md b/oca_custom/readme/DESCRIPTION.md new file mode 100644 index 0000000..91f7864 --- /dev/null +++ b/oca_custom/readme/DESCRIPTION.md @@ -0,0 +1 @@ +Custom module for OCA Instance. diff --git a/oca_custom/static/description/icon.png b/oca_custom/static/description/icon.png new file mode 100644 index 0000000..bb2e485 Binary files /dev/null and b/oca_custom/static/description/icon.png differ diff --git a/oca_custom/static/description/index.html b/oca_custom/static/description/index.html new file mode 100644 index 0000000..0189821 --- /dev/null +++ b/oca_custom/static/description/index.html @@ -0,0 +1,439 @@ + + + + + +OCA Custom Settings + + + +
+

OCA Custom Settings

+ + +

Beta License: AGPL-3 OCA/oca-custom Translate me on Weblate Try me on Runboat

+

Custom module for OCA Instance.

+

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

+
    +
  • GRAP
  • +
  • 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.

+

This module is part of the OCA/oca-custom project on GitHub.

+

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

+
+
+
+ + diff --git a/oca_custom/views/document_knowledge.xml b/oca_custom/views/document_knowledge.xml new file mode 100644 index 0000000..6b25a07 --- /dev/null +++ b/oca_custom/views/document_knowledge.xml @@ -0,0 +1,14 @@ + + + + ir_attachments_view_all + ir.attachment + + + + + [('res_model', 'not like', 'ir.%'), ('res_field', '!=', 0)], ('res_model', '!=', False)] + + + + diff --git a/oca_custom/views/res_partner.xml b/oca_custom/views/res_partner.xml new file mode 100644 index 0000000..ec7ffcc --- /dev/null +++ b/oca_custom/views/res_partner.xml @@ -0,0 +1,14 @@ + + + + res.partner.github.visible.form + res.partner + + + + + 0 + + + +