diff --git a/edi_partner_oca/README.rst b/edi_partner_oca/README.rst new file mode 100644 index 000000000..1c455805d --- /dev/null +++ b/edi_partner_oca/README.rst @@ -0,0 +1,83 @@ +============ +EDI Partners +============ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:402c72cf354f15d32f132bb78b159c6e60cfdf31d7ff68bda16ee2435dca1d3e + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fedi--framework-lightgray.png?logo=github + :target: https://github.com/OCA/edi-framework/tree/18.0/edi_partner_oca + :alt: OCA/edi-framework +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/edi-framework-18-0/edi-framework-18-0-edi_partner_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/edi-framework&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module intends to create a base to be extended by local edi rules +for partner. + +**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 +------------ + +- Jacques-Etienne Baudoux +- Duong (Tran Quoc) + +Other credits +------------- + +The creation of this module was financially supported by Camptocamp + +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/edi-framework `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/edi_partner_oca/__init__.py b/edi_partner_oca/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/edi_partner_oca/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/edi_partner_oca/__manifest__.py b/edi_partner_oca/__manifest__.py new file mode 100644 index 000000000..b61186b84 --- /dev/null +++ b/edi_partner_oca/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright 2024 Jacques-Etienne Baudoux (BCIM) +# Copyright 2024 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "EDI Partners", + "summary": """ + EDI framework configuration and base logic for partners""", + "version": "18.0.1.0.0", + "license": "AGPL-3", + "author": "Camptocamp,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/edi-framework", + "depends": [ + "contacts", + "edi_oca", + ], + "data": ["views/partner_views.xml"], +} diff --git a/edi_partner_oca/i18n/edi_partner_oca.pot b/edi_partner_oca/i18n/edi_partner_oca.pot new file mode 100644 index 000000000..eb6f878f7 --- /dev/null +++ b/edi_partner_oca/i18n/edi_partner_oca.pot @@ -0,0 +1,79 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * edi_partner_oca +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.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: edi_partner_oca +#: model:ir.model,name:edi_partner_oca.model_res_partner +msgid "Contact" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__edi_disable_auto +msgid "Disable auto" +msgstr "" + +#. module: edi_partner_oca +#: model_terms:ir.ui.view,arch_db:edi_partner_oca.view_partner_form +msgid "EDI" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__origin_edi_endpoint_id +msgid "EDI origin endpoint" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__origin_exchange_type_id +msgid "EDI origin exchange type" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__origin_exchange_record_id +msgid "EDI origin record" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,help:edi_partner_oca.field_res_partner__origin_exchange_record_id +msgid "EDI record that originated this document." +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__edi_config +msgid "Edi Config" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__edi_has_form_config +msgid "Edi Has Form Config" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__exchange_record_ids +msgid "Exchange Record" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__exchange_record_count +msgid "Exchange Record Count" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,help:edi_partner_oca.field_res_partner__origin_edi_endpoint_id +msgid "Record generated via this endpoint" +msgstr "" + +#. module: edi_partner_oca +#: model:ir.model.fields,help:edi_partner_oca.field_res_partner__edi_disable_auto +msgid "When marked, EDI automatic processing will be avoided" +msgstr "" diff --git a/edi_partner_oca/i18n/it.po b/edi_partner_oca/i18n/it.po new file mode 100644 index 000000000..a74ad55a5 --- /dev/null +++ b/edi_partner_oca/i18n/it.po @@ -0,0 +1,82 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * edi_partner_oca +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-07-29 08:58+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.6.2\n" + +#. module: edi_partner_oca +#: model:ir.model,name:edi_partner_oca.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__edi_disable_auto +msgid "Disable auto" +msgstr "Disabilita automatico" + +#. module: edi_partner_oca +#: model_terms:ir.ui.view,arch_db:edi_partner_oca.view_partner_form +msgid "EDI" +msgstr "EDI" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__origin_edi_endpoint_id +msgid "EDI origin endpoint" +msgstr "Endpoint origine EDI" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__origin_exchange_type_id +msgid "EDI origin exchange type" +msgstr "Tipo scambio origine EDI" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__origin_exchange_record_id +msgid "EDI origin record" +msgstr "Record origine EDI" + +#. module: edi_partner_oca +#: model:ir.model.fields,help:edi_partner_oca.field_res_partner__origin_exchange_record_id +msgid "EDI record that originated this document." +msgstr "Record EDI che ha generato questo documento." + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__edi_config +msgid "Edi Config" +msgstr "Configurazione EDI" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__edi_has_form_config +msgid "Edi Has Form Config" +msgstr "EDI ha una maschera di configurazione" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__exchange_record_ids +msgid "Exchange Record" +msgstr "Record di scambio" + +#. module: edi_partner_oca +#: model:ir.model.fields,field_description:edi_partner_oca.field_res_partner__exchange_record_count +msgid "Exchange Record Count" +msgstr "Conteggio record di scambio" + +#. module: edi_partner_oca +#: model:ir.model.fields,help:edi_partner_oca.field_res_partner__origin_edi_endpoint_id +msgid "Record generated via this endpoint" +msgstr "Record generato attraverso questo endpoint" + +#. module: edi_partner_oca +#: model:ir.model.fields,help:edi_partner_oca.field_res_partner__edi_disable_auto +msgid "When marked, EDI automatic processing will be avoided" +msgstr "Quando selezionata, l'elaborazione EDI automatica verrĂ  evitata" diff --git a/edi_partner_oca/models/__init__.py b/edi_partner_oca/models/__init__.py new file mode 100644 index 000000000..91fed54d4 --- /dev/null +++ b/edi_partner_oca/models/__init__.py @@ -0,0 +1 @@ +from . import res_partner diff --git a/edi_partner_oca/models/res_partner.py b/edi_partner_oca/models/res_partner.py new file mode 100644 index 000000000..fb33b50d0 --- /dev/null +++ b/edi_partner_oca/models/res_partner.py @@ -0,0 +1,10 @@ +# Copyright 2024 Jacques-Etienne Baudoux (BCIM) +# Copyright 2024 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import models + + +class ResPartner(models.Model): + _name = "res.partner" + _inherit = ["res.partner", "edi.exchange.consumer.mixin"] diff --git a/edi_partner_oca/pyproject.toml b/edi_partner_oca/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/edi_partner_oca/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/edi_partner_oca/readme/CONTRIBUTORS.md b/edi_partner_oca/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..bb1de9878 --- /dev/null +++ b/edi_partner_oca/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- Jacques-Etienne Baudoux \ +- Duong (Tran Quoc) \ +- Ricardo Almeida Soares \ diff --git a/edi_partner_oca/readme/CREDITS.md b/edi_partner_oca/readme/CREDITS.md new file mode 100644 index 000000000..35e239a00 --- /dev/null +++ b/edi_partner_oca/readme/CREDITS.md @@ -0,0 +1 @@ +The creation of this module was financially supported by Camptocamp diff --git a/edi_partner_oca/readme/DESCRIPTION.md b/edi_partner_oca/readme/DESCRIPTION.md new file mode 100644 index 000000000..41eda9f6b --- /dev/null +++ b/edi_partner_oca/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module intends to create a base to be extended by local edi rules +for partner. diff --git a/edi_partner_oca/static/description/icon.png b/edi_partner_oca/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/edi_partner_oca/static/description/icon.png differ diff --git a/edi_partner_oca/static/description/index.html b/edi_partner_oca/static/description/index.html new file mode 100644 index 000000000..1c555d9a9 --- /dev/null +++ b/edi_partner_oca/static/description/index.html @@ -0,0 +1,430 @@ + + + + + +EDI Partners + + + +
+

EDI Partners

+ + +

Beta License: AGPL-3 OCA/edi-framework Translate me on Weblate Try me on Runboat

+

This module intends to create a base to be extended by local edi rules +for partner.

+

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

Contributors

+ +
+
+

Other credits

+

The creation of this module was financially supported by 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.

+

This module is part of the OCA/edi-framework project on GitHub.

+

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

+
+
+
+ + diff --git a/edi_partner_oca/views/partner_views.xml b/edi_partner_oca/views/partner_views.xml new file mode 100644 index 000000000..4b7386aa6 --- /dev/null +++ b/edi_partner_oca/views/partner_views.xml @@ -0,0 +1,28 @@ + + + + res.partner.form - edi_partner_oca + res.partner + + + + + +
+ +
+
+
+