From a52501dc8a92c257576066ad68fb684322f7b528 Mon Sep 17 00:00:00 2001 From: Carmen Bianca Bakker Date: Wed, 9 Mar 2022 11:32:54 +0100 Subject: [PATCH 1/2] =?UTF-8?q?[MOV]=20easy=5Fmy=5Fcoop=5Fapi=20=E2=86=92?= =?UTF-8?q?=20cooperator=5Fapi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carmen Bianca Bakker --- .../README.rst | 12 +- .../__init__.py | 0 .../__manifest__.py | 4 +- .../controllers/__init__.py | 0 .../controllers/controllers.py | 0 .../demo/demo.xml | 0 cooperator_api/i18n/cooperator_api.pot | 292 ++++++++++++++++++ .../models/__init__.py | 0 .../models/auth_api_key.py | 0 .../models/external_id_mixin.py | 0 .../models/subscription_request.py | 0 .../readme/CONTRIBUTORS.rst | 0 .../readme/DESCRIPTION.rst | 0 .../readme/ROADMAP.rst | 0 .../readme/USAGE.rst | 0 .../security/ir_rule.xml | 0 .../services/__init__.py | 0 .../services/abstract_emc_service.py | 0 .../services/account_invoice_service.py | 0 .../services/account_payment_service.py | 0 .../services/ping_service.py | 0 .../services/schemas.py | 0 .../services/subscription_request_service.py | 0 .../static/description/index.html | 40 +-- .../tests/__init__.py | 0 .../tests/common.py | 2 +- .../tests/test_account_invoice.py | 0 .../tests/test_account_payment.py | 0 .../tests/test_external_id_mixin.py | 0 .../tests/test_ping.py | 0 .../tests/test_registry.py | 5 +- .../tests/test_subscription_requests.py | 0 .../views/external_id_mixin_views.xml | 0 easy_my_coop_api/i18n/easy_my_coop_api.pot | 292 ------------------ easy_my_coop_api_logs/__manifest__.py | 2 +- easy_my_coop_api_logs/readme/DESCRIPTION.rst | 2 +- .../cooperator_api/odoo/addons/cooperator_api | 1 + setup/cooperator_api/setup.py | 6 + .../odoo/addons/easy_my_coop_api | 1 - setup/easy_my_coop_api/setup.py | 11 - 40 files changed, 321 insertions(+), 349 deletions(-) rename {easy_my_coop_api => cooperator_api}/README.rst (88%) rename {easy_my_coop_api => cooperator_api}/__init__.py (100%) rename {easy_my_coop_api => cooperator_api}/__manifest__.py (89%) rename {easy_my_coop_api => cooperator_api}/controllers/__init__.py (100%) rename {easy_my_coop_api => cooperator_api}/controllers/controllers.py (100%) rename {easy_my_coop_api => cooperator_api}/demo/demo.xml (100%) create mode 100644 cooperator_api/i18n/cooperator_api.pot rename {easy_my_coop_api => cooperator_api}/models/__init__.py (100%) rename {easy_my_coop_api => cooperator_api}/models/auth_api_key.py (100%) rename {easy_my_coop_api => cooperator_api}/models/external_id_mixin.py (100%) rename {easy_my_coop_api => cooperator_api}/models/subscription_request.py (100%) rename {easy_my_coop_api => cooperator_api}/readme/CONTRIBUTORS.rst (100%) rename {easy_my_coop_api => cooperator_api}/readme/DESCRIPTION.rst (100%) rename {easy_my_coop_api => cooperator_api}/readme/ROADMAP.rst (100%) rename {easy_my_coop_api => cooperator_api}/readme/USAGE.rst (100%) rename {easy_my_coop_api => cooperator_api}/security/ir_rule.xml (100%) rename {easy_my_coop_api => cooperator_api}/services/__init__.py (100%) rename {easy_my_coop_api => cooperator_api}/services/abstract_emc_service.py (100%) rename {easy_my_coop_api => cooperator_api}/services/account_invoice_service.py (100%) rename {easy_my_coop_api => cooperator_api}/services/account_payment_service.py (100%) rename {easy_my_coop_api => cooperator_api}/services/ping_service.py (100%) rename {easy_my_coop_api => cooperator_api}/services/schemas.py (100%) rename {easy_my_coop_api => cooperator_api}/services/subscription_request_service.py (100%) rename {easy_my_coop_api => cooperator_api}/static/description/index.html (90%) rename {easy_my_coop_api => cooperator_api}/tests/__init__.py (100%) rename {easy_my_coop_api => cooperator_api}/tests/common.py (98%) rename {easy_my_coop_api => cooperator_api}/tests/test_account_invoice.py (100%) rename {easy_my_coop_api => cooperator_api}/tests/test_account_payment.py (100%) rename {easy_my_coop_api => cooperator_api}/tests/test_external_id_mixin.py (100%) rename {easy_my_coop_api => cooperator_api}/tests/test_ping.py (100%) rename {easy_my_coop_api => cooperator_api}/tests/test_registry.py (76%) rename {easy_my_coop_api => cooperator_api}/tests/test_subscription_requests.py (100%) rename {easy_my_coop_api => cooperator_api}/views/external_id_mixin_views.xml (100%) delete mode 100644 easy_my_coop_api/i18n/easy_my_coop_api.pot create mode 120000 setup/cooperator_api/odoo/addons/cooperator_api create mode 100644 setup/cooperator_api/setup.py delete mode 120000 setup/easy_my_coop_api/odoo/addons/easy_my_coop_api delete mode 100644 setup/easy_my_coop_api/setup.py diff --git a/easy_my_coop_api/README.rst b/cooperator_api/README.rst similarity index 88% rename from easy_my_coop_api/README.rst rename to cooperator_api/README.rst index f6ee9aee2..b9305a345 100644 --- a/easy_my_coop_api/README.rst +++ b/cooperator_api/README.rst @@ -1,6 +1,6 @@ -================ -Easy My Coop API -================ +=============== +Cooperators API +=============== .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! @@ -14,7 +14,7 @@ Easy My Coop API :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github - :target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_api + :target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/cooperator_api :alt: coopiteasy/vertical-cooperative |badge1| |badge2| |badge3| @@ -59,7 +59,7 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -80,6 +80,6 @@ Contributors Maintainers ~~~~~~~~~~~ -This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. +This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. You are welcome to contribute. diff --git a/easy_my_coop_api/__init__.py b/cooperator_api/__init__.py similarity index 100% rename from easy_my_coop_api/__init__.py rename to cooperator_api/__init__.py diff --git a/easy_my_coop_api/__manifest__.py b/cooperator_api/__manifest__.py similarity index 89% rename from easy_my_coop_api/__manifest__.py rename to cooperator_api/__manifest__.py index 2d2a30772..523d4fec0 100644 --- a/easy_my_coop_api/__manifest__.py +++ b/cooperator_api/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { - "name": "Easy My Coop API", + "name": "Cooperators API", "version": "12.0.1.0.1", "depends": [ "base_rest", @@ -16,7 +16,7 @@ "website": "https://coopiteasy.be", "license": "AGPL-3", "summary": """ - Open Easy My Coop to the world: RESTful API. + Open Cooperators to the world: RESTful API. """, "data": [ "security/ir_rule.xml", diff --git a/easy_my_coop_api/controllers/__init__.py b/cooperator_api/controllers/__init__.py similarity index 100% rename from easy_my_coop_api/controllers/__init__.py rename to cooperator_api/controllers/__init__.py diff --git a/easy_my_coop_api/controllers/controllers.py b/cooperator_api/controllers/controllers.py similarity index 100% rename from easy_my_coop_api/controllers/controllers.py rename to cooperator_api/controllers/controllers.py diff --git a/easy_my_coop_api/demo/demo.xml b/cooperator_api/demo/demo.xml similarity index 100% rename from easy_my_coop_api/demo/demo.xml rename to cooperator_api/demo/demo.xml diff --git a/cooperator_api/i18n/cooperator_api.pot b/cooperator_api/i18n/cooperator_api.pot new file mode 100644 index 000000000..ddbe1c16e --- /dev/null +++ b/cooperator_api/i18n/cooperator_api.pot @@ -0,0 +1,292 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * cooperator_api +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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: cooperator_api +#: model_terms:ir.ui.view,arch_db:cooperator_api.invoice_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.product_template_form_view +#: model_terms:ir.ui.view,arch_db:cooperator_api.subscription_request_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.view_account_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.view_account_journal_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.view_account_payment_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.view_partner_form +msgid "API" +msgstr "" + +#. module: cooperator_api +#: sql_constraint:account.account:0 +#: sql_constraint:account.invoice:0 +#: sql_constraint:account.journal:0 +#: sql_constraint:account.payment:0 +#: sql_constraint:external.id.mixin:0 +#: sql_constraint:product.template:0 +#: sql_constraint:res.partner:0 +#: sql_constraint:subscription.request:0 +msgid "API External ID must be unique!" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_auth_api_key +msgid "API Key" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_account_account +msgid "Account" +msgstr "" + +#. module: cooperator_api +#: selection:subscription.request,source:0 +msgid "CRM" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/ping_service.py:24 +#, python-format +msgid "Called ping on ping API" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/ping_service.py:21 +#, python-format +msgid "Called search on ping API" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_res_partner +msgid "Contact" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_external_id_mixin__display_name +msgid "Display Name" +msgstr "" + +#. module: cooperator_api +#: selection:subscription.request,source:0 +msgid "Easy My Coop API" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_account_account___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_account_bank_statement_import_journal_creation___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_account_invoice___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_account_journal___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_account_payment___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_external_id_mixin___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_product_product___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_product_template___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_res_partner___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_res_users___api_external_id +#: model:ir.model.fields,field_description:cooperator_api.field_subscription_request___api_external_id +msgid "External ID" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_account_account__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_account_bank_statement_import_journal_creation__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_account_invoice__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_account_journal__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_account_payment__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_external_id_mixin__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_product_product__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_product_template__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_res_partner__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_res_users__external_id_generated +#: model:ir.model.fields,field_description:cooperator_api.field_subscription_request__external_id_generated +msgid "External ID Generated" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_external_id_mixin +msgid "External ID Mixin" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_account_account__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_account_bank_statement_import_journal_creation__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_account_invoice__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_account_journal__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_account_payment__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_external_id_mixin__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_product_product__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_product_template__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_res_partner__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_res_users__external_id_sequence_id +#: model:ir.model.fields,field_description:cooperator_api.field_subscription_request__external_id_sequence_id +msgid "External ID Sequence" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_account_account__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_account_bank_statement_import_journal_creation__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_account_invoice__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_account_journal__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_account_payment__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_external_id_mixin__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_product_product__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_product_template__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_res_partner__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_res_users__first_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_subscription_request__first_api_export_date +msgid "First API Export Date" +msgstr "" + +#. module: cooperator_api +#: model_terms:ir.ui.view,arch_db:cooperator_api.invoice_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.product_template_form_view +#: model_terms:ir.ui.view,arch_db:cooperator_api.subscription_request_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.view_account_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.view_account_journal_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.view_account_payment_form +#: model_terms:ir.ui.view,arch_db:cooperator_api.view_partner_form +msgid "Generate external ID" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_external_id_mixin__id +msgid "ID" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_account_invoice +msgid "Invoice" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_account_journal +msgid "Journal" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_account_account__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_account_bank_statement_import_journal_creation__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_account_invoice__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_account_journal__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_account_payment__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_external_id_mixin__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_product_product__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_product_template__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_res_partner__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_res_users__last_api_export_date +#: model:ir.model.fields,field_description:cooperator_api.field_subscription_request__last_api_export_date +msgid "Last API Export Date" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_external_id_mixin____last_update +msgid "Last Modified on" +msgstr "" + +#. module: cooperator_api +#: selection:subscription.request,source:0 +msgid "Manual" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_auth_api_key__name +msgid "Name" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/subscription_request_service.py:129 +#, python-format +msgid "No country for isocode %s" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/account_payment_service.py:52 +#, python-format +msgid "No invoice %s on platform" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/account_invoice_service.py:34 +#, python-format +msgid "No invoice found for id %s" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/account_payment_service.py:44 +#, python-format +msgid "No journal %s on platform" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/subscription_request_service.py:138 +#, python-format +msgid "No share for id %s" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/subscription_request_service.py:36 +#: code:addons/cooperator_api/services/subscription_request_service.py:69 +#, python-format +msgid "No subscription request for id %s" +msgstr "" + +#. module: cooperator_api +#: selection:subscription.request,source:0 +msgid "Operation" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/account_payment_service.py:64 +#, python-format +msgid "Payment method must be one of %s" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_account_payment +msgid "Payments" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_product_template +msgid "Product Template" +msgstr "" + +#. module: cooperator_api +#: model:ir.model.fields,field_description:cooperator_api.field_subscription_request__source +msgid "Source" +msgstr "" + +#. module: cooperator_api +#: model:ir.model,name:cooperator_api.model_subscription_request +msgid "Subscription Request" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/models/subscription_request.py:31 +#, python-format +msgid "Subscription are marked as paid through the capital release request payments " +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/models/subscription_request.py:37 +#, python-format +msgid "Unknown state." +msgstr "" + +#. module: cooperator_api +#: selection:subscription.request,source:0 +msgid "Website" +msgstr "" + +#. module: cooperator_api +#: code:addons/cooperator_api/services/schemas.py:13 +#, python-format +msgid "{} does not match format '%Y-%m-%d'" +msgstr "" + diff --git a/easy_my_coop_api/models/__init__.py b/cooperator_api/models/__init__.py similarity index 100% rename from easy_my_coop_api/models/__init__.py rename to cooperator_api/models/__init__.py diff --git a/easy_my_coop_api/models/auth_api_key.py b/cooperator_api/models/auth_api_key.py similarity index 100% rename from easy_my_coop_api/models/auth_api_key.py rename to cooperator_api/models/auth_api_key.py diff --git a/easy_my_coop_api/models/external_id_mixin.py b/cooperator_api/models/external_id_mixin.py similarity index 100% rename from easy_my_coop_api/models/external_id_mixin.py rename to cooperator_api/models/external_id_mixin.py diff --git a/easy_my_coop_api/models/subscription_request.py b/cooperator_api/models/subscription_request.py similarity index 100% rename from easy_my_coop_api/models/subscription_request.py rename to cooperator_api/models/subscription_request.py diff --git a/easy_my_coop_api/readme/CONTRIBUTORS.rst b/cooperator_api/readme/CONTRIBUTORS.rst similarity index 100% rename from easy_my_coop_api/readme/CONTRIBUTORS.rst rename to cooperator_api/readme/CONTRIBUTORS.rst diff --git a/easy_my_coop_api/readme/DESCRIPTION.rst b/cooperator_api/readme/DESCRIPTION.rst similarity index 100% rename from easy_my_coop_api/readme/DESCRIPTION.rst rename to cooperator_api/readme/DESCRIPTION.rst diff --git a/easy_my_coop_api/readme/ROADMAP.rst b/cooperator_api/readme/ROADMAP.rst similarity index 100% rename from easy_my_coop_api/readme/ROADMAP.rst rename to cooperator_api/readme/ROADMAP.rst diff --git a/easy_my_coop_api/readme/USAGE.rst b/cooperator_api/readme/USAGE.rst similarity index 100% rename from easy_my_coop_api/readme/USAGE.rst rename to cooperator_api/readme/USAGE.rst diff --git a/easy_my_coop_api/security/ir_rule.xml b/cooperator_api/security/ir_rule.xml similarity index 100% rename from easy_my_coop_api/security/ir_rule.xml rename to cooperator_api/security/ir_rule.xml diff --git a/easy_my_coop_api/services/__init__.py b/cooperator_api/services/__init__.py similarity index 100% rename from easy_my_coop_api/services/__init__.py rename to cooperator_api/services/__init__.py diff --git a/easy_my_coop_api/services/abstract_emc_service.py b/cooperator_api/services/abstract_emc_service.py similarity index 100% rename from easy_my_coop_api/services/abstract_emc_service.py rename to cooperator_api/services/abstract_emc_service.py diff --git a/easy_my_coop_api/services/account_invoice_service.py b/cooperator_api/services/account_invoice_service.py similarity index 100% rename from easy_my_coop_api/services/account_invoice_service.py rename to cooperator_api/services/account_invoice_service.py diff --git a/easy_my_coop_api/services/account_payment_service.py b/cooperator_api/services/account_payment_service.py similarity index 100% rename from easy_my_coop_api/services/account_payment_service.py rename to cooperator_api/services/account_payment_service.py diff --git a/easy_my_coop_api/services/ping_service.py b/cooperator_api/services/ping_service.py similarity index 100% rename from easy_my_coop_api/services/ping_service.py rename to cooperator_api/services/ping_service.py diff --git a/easy_my_coop_api/services/schemas.py b/cooperator_api/services/schemas.py similarity index 100% rename from easy_my_coop_api/services/schemas.py rename to cooperator_api/services/schemas.py diff --git a/easy_my_coop_api/services/subscription_request_service.py b/cooperator_api/services/subscription_request_service.py similarity index 100% rename from easy_my_coop_api/services/subscription_request_service.py rename to cooperator_api/services/subscription_request_service.py diff --git a/easy_my_coop_api/static/description/index.html b/cooperator_api/static/description/index.html similarity index 90% rename from easy_my_coop_api/static/description/index.html rename to cooperator_api/static/description/index.html index 684798971..234cb5744 100644 --- a/easy_my_coop_api/static/description/index.html +++ b/cooperator_api/static/description/index.html @@ -4,12 +4,12 @@ -Easy My Coop API +Cooperators API -
-

Easy My Coop API

+
+

Cooperators API

-

Beta License: AGPL-3 coopiteasy/vertical-cooperative

+

Beta License: AGPL-3 coopiteasy/vertical-cooperative

Open Easy My Coop to the world: RESTful API.

Table of contents

@@ -413,7 +391,7 @@

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 smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -433,7 +411,7 @@

Contributors

Maintainers

-

This module is part of the coopiteasy/vertical-cooperative project on GitHub.

+

This module is part of the coopiteasy/vertical-cooperative project on GitHub.

You are welcome to contribute.

diff --git a/easy_my_coop_api/tests/__init__.py b/cooperator_api/tests/__init__.py similarity index 100% rename from easy_my_coop_api/tests/__init__.py rename to cooperator_api/tests/__init__.py diff --git a/easy_my_coop_api/tests/common.py b/cooperator_api/tests/common.py similarity index 98% rename from easy_my_coop_api/tests/common.py rename to cooperator_api/tests/common.py index fcacac119..812e67275 100644 --- a/easy_my_coop_api/tests/common.py +++ b/cooperator_api/tests/common.py @@ -21,7 +21,7 @@ class BaseEMCRestCase(BaseRestCase): def setUpClass(cls, *args, **kwargs): super().setUpClass(*args, **kwargs) cls.AuthApiKey = cls.env["auth.api.key"] - cls.api_key_test = cls.env.ref("easy_my_coop_api.auth_api_key_manager_emc_demo") + cls.api_key_test = cls.env.ref("cooperator_api.auth_api_key_manager_emc_demo") cls._chart_template_create() cls._add_chart_of_accounts() cls._journals_setup() diff --git a/easy_my_coop_api/tests/test_account_invoice.py b/cooperator_api/tests/test_account_invoice.py similarity index 100% rename from easy_my_coop_api/tests/test_account_invoice.py rename to cooperator_api/tests/test_account_invoice.py diff --git a/easy_my_coop_api/tests/test_account_payment.py b/cooperator_api/tests/test_account_payment.py similarity index 100% rename from easy_my_coop_api/tests/test_account_payment.py rename to cooperator_api/tests/test_account_payment.py diff --git a/easy_my_coop_api/tests/test_external_id_mixin.py b/cooperator_api/tests/test_external_id_mixin.py similarity index 100% rename from easy_my_coop_api/tests/test_external_id_mixin.py rename to cooperator_api/tests/test_external_id_mixin.py diff --git a/easy_my_coop_api/tests/test_ping.py b/cooperator_api/tests/test_ping.py similarity index 100% rename from easy_my_coop_api/tests/test_ping.py rename to cooperator_api/tests/test_ping.py diff --git a/easy_my_coop_api/tests/test_registry.py b/cooperator_api/tests/test_registry.py similarity index 76% rename from easy_my_coop_api/tests/test_registry.py rename to cooperator_api/tests/test_registry.py index 05966d1f0..f7a772bf7 100644 --- a/easy_my_coop_api/tests/test_registry.py +++ b/cooperator_api/tests/test_registry.py @@ -12,12 +12,11 @@ class TestControllerRegistry(BaseRestCase): def test_controller_registry(self): - controllers = controllers_per_module["easy_my_coop_api"] + controllers = controllers_per_module["cooperator_api"] self.assertEqual(len(controllers), 1) self.assertIn( ( - "odoo.addons.easy_my_coop_api" - ".controllers.controllers.UserController", + "odoo.addons.cooperator_api.controllers.controllers.UserController", UserController, ), controllers, diff --git a/easy_my_coop_api/tests/test_subscription_requests.py b/cooperator_api/tests/test_subscription_requests.py similarity index 100% rename from easy_my_coop_api/tests/test_subscription_requests.py rename to cooperator_api/tests/test_subscription_requests.py diff --git a/easy_my_coop_api/views/external_id_mixin_views.xml b/cooperator_api/views/external_id_mixin_views.xml similarity index 100% rename from easy_my_coop_api/views/external_id_mixin_views.xml rename to cooperator_api/views/external_id_mixin_views.xml diff --git a/easy_my_coop_api/i18n/easy_my_coop_api.pot b/easy_my_coop_api/i18n/easy_my_coop_api.pot deleted file mode 100644 index fbe741463..000000000 --- a/easy_my_coop_api/i18n/easy_my_coop_api.pot +++ /dev/null @@ -1,292 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * easy_my_coop_api -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.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: easy_my_coop_api -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.invoice_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.product_template_form_view -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.subscription_request_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.view_account_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.view_account_journal_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.view_account_payment_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.view_partner_form -msgid "API" -msgstr "" - -#. module: easy_my_coop_api -#: sql_constraint:account.account:0 -#: sql_constraint:account.invoice:0 -#: sql_constraint:account.journal:0 -#: sql_constraint:account.payment:0 -#: sql_constraint:external.id.mixin:0 -#: sql_constraint:product.template:0 -#: sql_constraint:res.partner:0 -#: sql_constraint:subscription.request:0 -msgid "API External ID must be unique!" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_auth_api_key -msgid "API Key" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_account_account -msgid "Account" -msgstr "" - -#. module: easy_my_coop_api -#: selection:subscription.request,source:0 -msgid "CRM" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/ping_service.py:24 -#, python-format -msgid "Called ping on ping API" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/ping_service.py:21 -#, python-format -msgid "Called search on ping API" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_res_partner -msgid "Contact" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_external_id_mixin__display_name -msgid "Display Name" -msgstr "" - -#. module: easy_my_coop_api -#: selection:subscription.request,source:0 -msgid "Easy My Coop API" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_account___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_bank_statement_import_journal_creation___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_invoice___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_journal___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_payment___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_external_id_mixin___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_product___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_template___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_partner___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_users___api_external_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_subscription_request___api_external_id -msgid "External ID" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_account__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_bank_statement_import_journal_creation__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_invoice__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_journal__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_payment__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_external_id_mixin__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_product__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_template__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_partner__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_users__external_id_generated -#: model:ir.model.fields,field_description:easy_my_coop_api.field_subscription_request__external_id_generated -msgid "External ID Generated" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_external_id_mixin -msgid "External ID Mixin" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_account__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_bank_statement_import_journal_creation__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_invoice__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_journal__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_payment__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_external_id_mixin__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_product__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_template__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_partner__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_users__external_id_sequence_id -#: model:ir.model.fields,field_description:easy_my_coop_api.field_subscription_request__external_id_sequence_id -msgid "External ID Sequence" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_account__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_bank_statement_import_journal_creation__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_invoice__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_journal__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_payment__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_external_id_mixin__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_product__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_template__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_partner__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_users__first_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_subscription_request__first_api_export_date -msgid "First API Export Date" -msgstr "" - -#. module: easy_my_coop_api -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.invoice_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.product_template_form_view -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.subscription_request_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.view_account_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.view_account_journal_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.view_account_payment_form -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api.view_partner_form -msgid "Generate external ID" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_external_id_mixin__id -msgid "ID" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_account_invoice -msgid "Invoice" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_account_journal -msgid "Journal" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_account__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_bank_statement_import_journal_creation__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_invoice__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_journal__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_account_payment__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_external_id_mixin__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_product__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_product_template__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_partner__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_res_users__last_api_export_date -#: model:ir.model.fields,field_description:easy_my_coop_api.field_subscription_request__last_api_export_date -msgid "Last API Export Date" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_external_id_mixin____last_update -msgid "Last Modified on" -msgstr "" - -#. module: easy_my_coop_api -#: selection:subscription.request,source:0 -msgid "Manual" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_auth_api_key__name -msgid "Name" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/subscription_request_service.py:129 -#, python-format -msgid "No country for isocode %s" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/account_payment_service.py:52 -#, python-format -msgid "No invoice %s on platform" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/account_invoice_service.py:34 -#, python-format -msgid "No invoice found for id %s" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/account_payment_service.py:44 -#, python-format -msgid "No journal %s on platform" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/subscription_request_service.py:138 -#, python-format -msgid "No share for id %s" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/subscription_request_service.py:36 -#: code:addons/easy_my_coop_api/services/subscription_request_service.py:69 -#, python-format -msgid "No subscription request for id %s" -msgstr "" - -#. module: easy_my_coop_api -#: selection:subscription.request,source:0 -msgid "Operation" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/account_payment_service.py:64 -#, python-format -msgid "Payment method must be one of %s" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_account_payment -msgid "Payments" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_product_template -msgid "Product Template" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model.fields,field_description:easy_my_coop_api.field_subscription_request__source -msgid "Source" -msgstr "" - -#. module: easy_my_coop_api -#: model:ir.model,name:easy_my_coop_api.model_subscription_request -msgid "Subscription Request" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/models/subscription_request.py:31 -#, python-format -msgid "Subscription are marked as paid through the capital release request payments " -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/models/subscription_request.py:37 -#, python-format -msgid "Unknown state." -msgstr "" - -#. module: easy_my_coop_api -#: selection:subscription.request,source:0 -msgid "Website" -msgstr "" - -#. module: easy_my_coop_api -#: code:addons/easy_my_coop_api/services/schemas.py:13 -#, python-format -msgid "{} does not match format '%Y-%m-%d'" -msgstr "" - diff --git a/easy_my_coop_api_logs/__manifest__.py b/easy_my_coop_api_logs/__manifest__.py index 33b25aaa0..739040c43 100644 --- a/easy_my_coop_api_logs/__manifest__.py +++ b/easy_my_coop_api_logs/__manifest__.py @@ -11,7 +11,7 @@ "website": "https://coopiteasy.be", "license": "AGPL-3", "summary": """ - Helpers to log calls in and out of easy_my_coop_api. + Helpers to log calls in and out of cooperators_api. """, "data": [ "security/ir.model.access.csv", diff --git a/easy_my_coop_api_logs/readme/DESCRIPTION.rst b/easy_my_coop_api_logs/readme/DESCRIPTION.rst index 968935a71..4f555b253 100644 --- a/easy_my_coop_api_logs/readme/DESCRIPTION.rst +++ b/easy_my_coop_api_logs/readme/DESCRIPTION.rst @@ -1 +1 @@ -Helpers to log calls in and out of easy_my_coop_api. +Helpers to log calls in and out of cooperators_api. diff --git a/setup/cooperator_api/odoo/addons/cooperator_api b/setup/cooperator_api/odoo/addons/cooperator_api new file mode 120000 index 000000000..a98adfa00 --- /dev/null +++ b/setup/cooperator_api/odoo/addons/cooperator_api @@ -0,0 +1 @@ +../../../../cooperator_api \ No newline at end of file diff --git a/setup/cooperator_api/setup.py b/setup/cooperator_api/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/cooperator_api/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/setup/easy_my_coop_api/odoo/addons/easy_my_coop_api b/setup/easy_my_coop_api/odoo/addons/easy_my_coop_api deleted file mode 120000 index b93fe16d5..000000000 --- a/setup/easy_my_coop_api/odoo/addons/easy_my_coop_api +++ /dev/null @@ -1 +0,0 @@ -../../../../easy_my_coop_api \ No newline at end of file diff --git a/setup/easy_my_coop_api/setup.py b/setup/easy_my_coop_api/setup.py deleted file mode 100644 index aaecbce17..000000000 --- a/setup/easy_my_coop_api/setup.py +++ /dev/null @@ -1,11 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, - odoo_addons={ - 'depends_override': { - 'auth_api_key': 'odoo12-addon-auth-api-key==12.0.2.1.1', - } - } -) From 7d03349981e1a2233c0a628d969c2ee88709b47f Mon Sep 17 00:00:00 2001 From: Carmen Bianca Bakker Date: Wed, 9 Mar 2022 13:38:35 +0100 Subject: [PATCH 2/2] =?UTF-8?q?[MOV]=20easy=5Fmy=5Fcoop=5Fapi=5Flogs=20?= =?UTF-8?q?=E2=86=92=20cooperator=5Fapi=5Flogs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carmen Bianca Bakker --- cooperator_api/__manifest__.py | 2 +- .../README.rst | 14 +-- .../__init__.py | 0 .../__manifest__.py | 2 +- .../i18n/cooperator_api_logs.pot | 116 ++++++++++++++++++ .../models/__init__.py | 0 .../models/emc_api_log.py | 0 .../readme/CONTRIBUTORS.rst | 0 .../readme/DESCRIPTION.rst | 0 .../security/ir.model.access.csv | 2 +- .../static/description/index.html | 42 ++----- .../views/emc_api_log_views.xml | 0 .../i18n/easy_my_coop_api_logs.pot | 116 ------------------ easy_my_coop_connector/__manifest__.py | 2 +- .../odoo/addons/cooperator_api_logs | 1 + .../setup.py | 0 .../odoo/addons/easy_my_coop_api_logs | 1 - 17 files changed, 138 insertions(+), 160 deletions(-) rename {easy_my_coop_api_logs => cooperator_api_logs}/README.rst (78%) rename {easy_my_coop_api_logs => cooperator_api_logs}/__init__.py (100%) rename {easy_my_coop_api_logs => cooperator_api_logs}/__manifest__.py (94%) create mode 100644 cooperator_api_logs/i18n/cooperator_api_logs.pot rename {easy_my_coop_api_logs => cooperator_api_logs}/models/__init__.py (100%) rename {easy_my_coop_api_logs => cooperator_api_logs}/models/emc_api_log.py (100%) rename {easy_my_coop_api_logs => cooperator_api_logs}/readme/CONTRIBUTORS.rst (100%) rename {easy_my_coop_api_logs => cooperator_api_logs}/readme/DESCRIPTION.rst (100%) rename {easy_my_coop_api_logs => cooperator_api_logs}/security/ir.model.access.csv (68%) rename {easy_my_coop_api_logs => cooperator_api_logs}/static/description/index.html (88%) rename {easy_my_coop_api_logs => cooperator_api_logs}/views/emc_api_log_views.xml (100%) delete mode 100644 easy_my_coop_api_logs/i18n/easy_my_coop_api_logs.pot create mode 120000 setup/cooperator_api_logs/odoo/addons/cooperator_api_logs rename setup/{easy_my_coop_api_logs => cooperator_api_logs}/setup.py (100%) delete mode 120000 setup/easy_my_coop_api_logs/odoo/addons/easy_my_coop_api_logs diff --git a/cooperator_api/__manifest__.py b/cooperator_api/__manifest__.py index 523d4fec0..f39de238b 100644 --- a/cooperator_api/__manifest__.py +++ b/cooperator_api/__manifest__.py @@ -8,7 +8,7 @@ "depends": [ "base_rest", "cooperator", - "easy_my_coop_api_logs", + "cooperator_api_logs", "auth_api_key", # todo conf running_env = dev ], "author": "Coop IT Easy SCRLfs", diff --git a/easy_my_coop_api_logs/README.rst b/cooperator_api_logs/README.rst similarity index 78% rename from easy_my_coop_api_logs/README.rst rename to cooperator_api_logs/README.rst index 2a9d7532f..2258e4aa9 100644 --- a/easy_my_coop_api_logs/README.rst +++ b/cooperator_api_logs/README.rst @@ -1,6 +1,6 @@ -===================== -Easy My Coop API Logs -===================== +==================== +Cooperators API Logs +==================== .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! @@ -14,12 +14,12 @@ Easy My Coop API Logs :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-coopiteasy%2Fvertical--cooperative-lightgray.png?logo=github - :target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/easy_my_coop_api_logs + :target: https://github.com/coopiteasy/vertical-cooperative/tree/12.0/cooperator_api_logs :alt: coopiteasy/vertical-cooperative |badge1| |badge2| |badge3| -Helpers to log calls in and out of easy_my_coop_api. +Helpers to log calls in and out of cooperators_api. **Table of contents** @@ -32,7 +32,7 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -53,6 +53,6 @@ Contributors Maintainers ~~~~~~~~~~~ -This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. +This module is part of the `coopiteasy/vertical-cooperative `_ project on GitHub. You are welcome to contribute. diff --git a/easy_my_coop_api_logs/__init__.py b/cooperator_api_logs/__init__.py similarity index 100% rename from easy_my_coop_api_logs/__init__.py rename to cooperator_api_logs/__init__.py diff --git a/easy_my_coop_api_logs/__manifest__.py b/cooperator_api_logs/__manifest__.py similarity index 94% rename from easy_my_coop_api_logs/__manifest__.py rename to cooperator_api_logs/__manifest__.py index 739040c43..350e75523 100644 --- a/easy_my_coop_api_logs/__manifest__.py +++ b/cooperator_api_logs/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { - "name": "Easy My Coop API Logs", + "name": "Cooperators API Logs", "version": "12.0.0.0.1", "depends": [], "author": "Coop IT Easy SCRLfs", diff --git a/cooperator_api_logs/i18n/cooperator_api_logs.pot b/cooperator_api_logs/i18n/cooperator_api_logs.pot new file mode 100644 index 000000000..73502afaa --- /dev/null +++ b/cooperator_api_logs/i18n/cooperator_api_logs.pot @@ -0,0 +1,116 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * cooperator_api_logs +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__create_uid +msgid "Created by" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__create_date +msgid "Created on" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__datetime +msgid "Datetime" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__display_name +msgid "Display Name" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.actions.act_window,name:cooperator_api_logs.emc_api_log_action +#: model:ir.ui.menu,name:cooperator_api_logs.emc_api_log_menu +msgid "EMC API Logs" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__headers +msgid "Headers" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__id +msgid "ID" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__ip +msgid "IP" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log____last_update +msgid "Last Modified on" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__write_date +msgid "Last Updated on" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model,name:cooperator_api_logs.model_emc_api_log +msgid "Logs call to EMC API" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__method +msgid "Method" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__path +msgid "Path" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__payload +msgid "Payload" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__response +msgid "Response" +msgstr "" + +#. module: cooperator_api_logs +#: model:ir.model.fields,field_description:cooperator_api_logs.field_emc_api_log__status +msgid "Status" +msgstr "" + +#. module: cooperator_api_logs +#: model_terms:ir.ui.view,arch_db:cooperator_api_logs.emc_api_log_view_form +msgid "headers" +msgstr "" + +#. module: cooperator_api_logs +#: model_terms:ir.ui.view,arch_db:cooperator_api_logs.emc_api_log_view_form +msgid "payload" +msgstr "" + +#. module: cooperator_api_logs +#: model_terms:ir.ui.view,arch_db:cooperator_api_logs.emc_api_log_view_form +msgid "response" +msgstr "" + diff --git a/easy_my_coop_api_logs/models/__init__.py b/cooperator_api_logs/models/__init__.py similarity index 100% rename from easy_my_coop_api_logs/models/__init__.py rename to cooperator_api_logs/models/__init__.py diff --git a/easy_my_coop_api_logs/models/emc_api_log.py b/cooperator_api_logs/models/emc_api_log.py similarity index 100% rename from easy_my_coop_api_logs/models/emc_api_log.py rename to cooperator_api_logs/models/emc_api_log.py diff --git a/easy_my_coop_api_logs/readme/CONTRIBUTORS.rst b/cooperator_api_logs/readme/CONTRIBUTORS.rst similarity index 100% rename from easy_my_coop_api_logs/readme/CONTRIBUTORS.rst rename to cooperator_api_logs/readme/CONTRIBUTORS.rst diff --git a/easy_my_coop_api_logs/readme/DESCRIPTION.rst b/cooperator_api_logs/readme/DESCRIPTION.rst similarity index 100% rename from easy_my_coop_api_logs/readme/DESCRIPTION.rst rename to cooperator_api_logs/readme/DESCRIPTION.rst diff --git a/easy_my_coop_api_logs/security/ir.model.access.csv b/cooperator_api_logs/security/ir.model.access.csv similarity index 68% rename from easy_my_coop_api_logs/security/ir.model.access.csv rename to cooperator_api_logs/security/ir.model.access.csv index 7c6ed3102..70317652d 100644 --- a/easy_my_coop_api_logs/security/ir.model.access.csv +++ b/cooperator_api_logs/security/ir.model.access.csv @@ -1,2 +1,2 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_emc_api_log_group_system,access_emc_api_log_group_system,easy_my_coop_api_logs.model_emc_api_log,base.group_system,1,0,1,0 +access_emc_api_log_group_system,access_emc_api_log_group_system,cooperator_api_logs.model_emc_api_log,base.group_system,1,0,1,0 diff --git a/easy_my_coop_api_logs/static/description/index.html b/cooperator_api_logs/static/description/index.html similarity index 88% rename from easy_my_coop_api_logs/static/description/index.html rename to cooperator_api_logs/static/description/index.html index 8c23c1a79..b33888584 100644 --- a/easy_my_coop_api_logs/static/description/index.html +++ b/cooperator_api_logs/static/description/index.html @@ -4,12 +4,12 @@ -Easy My Coop API Logs +Cooperators API Logs -
-

Easy My Coop API Logs

+
+

Cooperators API Logs

-

Beta License: AGPL-3 coopiteasy/vertical-cooperative

-

Helpers to log calls in and out of easy_my_coop_api.

+

Beta License: AGPL-3 coopiteasy/vertical-cooperative

+

Helpers to log calls in and out of cooperators_api.

Table of contents

    @@ -386,7 +364,7 @@

    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 smashing it by providing a detailed and welcomed -feedback.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

@@ -406,7 +384,7 @@

Contributors

Maintainers

-

This module is part of the coopiteasy/vertical-cooperative project on GitHub.

+

This module is part of the coopiteasy/vertical-cooperative project on GitHub.

You are welcome to contribute.

diff --git a/easy_my_coop_api_logs/views/emc_api_log_views.xml b/cooperator_api_logs/views/emc_api_log_views.xml similarity index 100% rename from easy_my_coop_api_logs/views/emc_api_log_views.xml rename to cooperator_api_logs/views/emc_api_log_views.xml diff --git a/easy_my_coop_api_logs/i18n/easy_my_coop_api_logs.pot b/easy_my_coop_api_logs/i18n/easy_my_coop_api_logs.pot deleted file mode 100644 index e1709a696..000000000 --- a/easy_my_coop_api_logs/i18n/easy_my_coop_api_logs.pot +++ /dev/null @@ -1,116 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * easy_my_coop_api_logs -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 12.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: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__create_uid -msgid "Created by" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__create_date -msgid "Created on" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__datetime -msgid "Datetime" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__display_name -msgid "Display Name" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.actions.act_window,name:easy_my_coop_api_logs.emc_api_log_action -#: model:ir.ui.menu,name:easy_my_coop_api_logs.emc_api_log_menu -msgid "EMC API Logs" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__headers -msgid "Headers" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__id -msgid "ID" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__ip -msgid "IP" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log____last_update -msgid "Last Modified on" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__write_date -msgid "Last Updated on" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model,name:easy_my_coop_api_logs.model_emc_api_log -msgid "Logs call to EMC API" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__method -msgid "Method" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__path -msgid "Path" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__payload -msgid "Payload" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__response -msgid "Response" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model:ir.model.fields,field_description:easy_my_coop_api_logs.field_emc_api_log__status -msgid "Status" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api_logs.emc_api_log_view_form -msgid "headers" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api_logs.emc_api_log_view_form -msgid "payload" -msgstr "" - -#. module: easy_my_coop_api_logs -#: model_terms:ir.ui.view,arch_db:easy_my_coop_api_logs.emc_api_log_view_form -msgid "response" -msgstr "" - diff --git a/easy_my_coop_connector/__manifest__.py b/easy_my_coop_connector/__manifest__.py index fd3fcebe7..08a2329fa 100644 --- a/easy_my_coop_connector/__manifest__.py +++ b/easy_my_coop_connector/__manifest__.py @@ -7,7 +7,7 @@ "version": "12.0.0.0.1", "depends": [ "cooperator", - "easy_my_coop_api_logs", + "cooperator_api_logs", ], "author": "Coop IT Easy SCRLfs", "category": "Connector", diff --git a/setup/cooperator_api_logs/odoo/addons/cooperator_api_logs b/setup/cooperator_api_logs/odoo/addons/cooperator_api_logs new file mode 120000 index 000000000..1f3db72c6 --- /dev/null +++ b/setup/cooperator_api_logs/odoo/addons/cooperator_api_logs @@ -0,0 +1 @@ +../../../../cooperator_api_logs \ No newline at end of file diff --git a/setup/easy_my_coop_api_logs/setup.py b/setup/cooperator_api_logs/setup.py similarity index 100% rename from setup/easy_my_coop_api_logs/setup.py rename to setup/cooperator_api_logs/setup.py diff --git a/setup/easy_my_coop_api_logs/odoo/addons/easy_my_coop_api_logs b/setup/easy_my_coop_api_logs/odoo/addons/easy_my_coop_api_logs deleted file mode 120000 index fbe1a747b..000000000 --- a/setup/easy_my_coop_api_logs/odoo/addons/easy_my_coop_api_logs +++ /dev/null @@ -1 +0,0 @@ -../../../../easy_my_coop_api_logs \ No newline at end of file