From 66eaf3a58d480a15587208598325a3c9e50973b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Wed, 10 Apr 2024 01:15:06 -0300 Subject: [PATCH] [TMP] disabled uninstallable modules --- .github/workflows/test.yml | 5 +++++ .pre-commit-config.yaml | 11 +++++++++++ l10n_br_account_nfe/__manifest__.py | 2 +- l10n_br_delivery_nfe/__manifest__.py | 2 +- l10n_br_fiscal_closing/__manifest__.py | 1 + l10n_br_ie_search/__manifest__.py | 1 + l10n_br_nfe/__manifest__.py | 2 +- l10n_br_nfse/__manifest__.py | 1 + l10n_br_nfse_barueri/__manifest__.py | 1 + l10n_br_nfse_focus/__manifest__.py | 1 + l10n_br_nfse_ginfes/__manifest__.py | 1 + l10n_br_nfse_paulistana/__manifest__.py | 1 + l10n_br_pos_nfce/__manifest__.py | 2 +- requirements.txt | 4 ---- .../odoo/addons/l10n_br_account_nfe | 1 - setup/l10n_br_account_nfe/setup.py | 6 ------ .../odoo/addons/l10n_br_delivery_nfe | 1 - setup/l10n_br_delivery_nfe/setup.py | 6 ------ .../odoo/addons/l10n_br_fiscal_closing | 1 - setup/l10n_br_fiscal_closing/setup.py | 6 ------ setup/l10n_br_ie_search/odoo/addons/l10n_br_ie_search | 1 - setup/l10n_br_ie_search/setup.py | 6 ------ setup/l10n_br_nfe/odoo/addons/l10n_br_nfe | 1 - setup/l10n_br_nfe/setup.py | 6 ------ setup/l10n_br_nfse/odoo/addons/l10n_br_nfse | 1 - setup/l10n_br_nfse/setup.py | 6 ------ .../odoo/addons/l10n_br_nfse_barueri | 1 - setup/l10n_br_nfse_barueri/setup.py | 6 ------ .../l10n_br_nfse_focus/odoo/addons/l10n_br_nfse_focus | 1 - setup/l10n_br_nfse_focus/setup.py | 6 ------ .../odoo/addons/l10n_br_nfse_ginfes | 1 - setup/l10n_br_nfse_ginfes/setup.py | 6 ------ .../odoo/addons/l10n_br_nfse_paulistana | 1 - setup/l10n_br_nfse_paulistana/setup.py | 6 ------ setup/l10n_br_pos_nfce/odoo/addons/l10n_br_pos_nfce | 1 - setup/l10n_br_pos_nfce/setup.py | 6 ------ 36 files changed, 27 insertions(+), 85 deletions(-) delete mode 120000 setup/l10n_br_account_nfe/odoo/addons/l10n_br_account_nfe delete mode 100644 setup/l10n_br_account_nfe/setup.py delete mode 120000 setup/l10n_br_delivery_nfe/odoo/addons/l10n_br_delivery_nfe delete mode 100644 setup/l10n_br_delivery_nfe/setup.py delete mode 120000 setup/l10n_br_fiscal_closing/odoo/addons/l10n_br_fiscal_closing delete mode 100644 setup/l10n_br_fiscal_closing/setup.py delete mode 120000 setup/l10n_br_ie_search/odoo/addons/l10n_br_ie_search delete mode 100644 setup/l10n_br_ie_search/setup.py delete mode 120000 setup/l10n_br_nfe/odoo/addons/l10n_br_nfe delete mode 100644 setup/l10n_br_nfe/setup.py delete mode 120000 setup/l10n_br_nfse/odoo/addons/l10n_br_nfse delete mode 100644 setup/l10n_br_nfse/setup.py delete mode 120000 setup/l10n_br_nfse_barueri/odoo/addons/l10n_br_nfse_barueri delete mode 100644 setup/l10n_br_nfse_barueri/setup.py delete mode 120000 setup/l10n_br_nfse_focus/odoo/addons/l10n_br_nfse_focus delete mode 100644 setup/l10n_br_nfse_focus/setup.py delete mode 120000 setup/l10n_br_nfse_ginfes/odoo/addons/l10n_br_nfse_ginfes delete mode 100644 setup/l10n_br_nfse_ginfes/setup.py delete mode 120000 setup/l10n_br_nfse_paulistana/odoo/addons/l10n_br_nfse_paulistana delete mode 100644 setup/l10n_br_nfse_paulistana/setup.py delete mode 120000 setup/l10n_br_pos_nfce/odoo/addons/l10n_br_pos_nfce delete mode 100644 setup/l10n_br_pos_nfce/setup.py diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7b2441ca9a9..14e88950d2a7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,8 +36,10 @@ jobs: matrix: include: - container: ghcr.io/oca/oca-ci/py3.8-odoo14.0:latest + exclude: "l10n_br_account_nfe,l10n_br_fiscal_closing,l10n_br_delivery_nfe,l10n_br_ie_search,l10n_br_nfe,l10n_br_nfse,l10n_br_nfse_barueri,l10n_br_nfse_focus,l10n_br_nfse_ginfes,l10n_br_nfse_paulistana,l10n_br_pos_nfce" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.8-ocb14.0:latest + exclude: "l10n_br_account_nfe,l10n_br_fiscal_closing,l10n_br_delivery_nfe,l10n_br_ie_search,l10n_br_nfe,l10n_br_nfse,l10n_br_nfse_barueri,l10n_br_nfse_focus,l10n_br_nfse_ginfes,l10n_br_nfse_paulistana,l10n_br_pos_nfce" name: test with OCB makepot: "true" services: @@ -49,6 +51,9 @@ jobs: POSTGRES_DB: odoo ports: - 5432:5432 + env: + INCLUDE: "${{ matrix.include }}" + EXCLUDE: "${{ matrix.exclude }}" steps: - uses: actions/checkout@v3 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f104d65ef1f..98698d7cd117 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,17 @@ exclude: | (?x) # NOT INSTALLABLE ADDONS + ^l10n_br_account_nfe/| + ^l10n_br_fiscal_closing/| + ^l10n_br_delivery_nfe/| + ^l10n_br_ie_search/| + ^l10n_br_nfe/| + ^l10n_br_nfse/| + ^l10n_br_nfse_barueri/| + ^l10n_br_nfse_focus/| + ^l10n_br_nfse_ginfes/| + ^l10n_br_nfse_paulistana/| + ^l10n_br_pos_nfce/| # END NOT INSTALLABLE ADDONS ^l10n_br_nfe_spec/models/v4_0/| # (don't reformat generated code) ^l10n_br_cte_spec/models/v4_0/| # (don't reformat generated code) diff --git a/l10n_br_account_nfe/__manifest__.py b/l10n_br_account_nfe/__manifest__.py index 297f60840c76..04350b4efae1 100644 --- a/l10n_br_account_nfe/__manifest__.py +++ b/l10n_br_account_nfe/__manifest__.py @@ -24,6 +24,6 @@ "views/account_payment_mode.xml", ], "post_init_hook": "post_init_hook", - "installable": True, + "installable": False, "auto_install": True, } diff --git a/l10n_br_delivery_nfe/__manifest__.py b/l10n_br_delivery_nfe/__manifest__.py index 35286730b2e3..2c87a2ef5d6e 100644 --- a/l10n_br_delivery_nfe/__manifest__.py +++ b/l10n_br_delivery_nfe/__manifest__.py @@ -15,6 +15,6 @@ # Views "views/nfe_document_view.xml" ], - "installable": True, + "installable": False, "auto_install": True, } diff --git a/l10n_br_fiscal_closing/__manifest__.py b/l10n_br_fiscal_closing/__manifest__.py index b5fe8c04b458..85d54b8647c7 100644 --- a/l10n_br_fiscal_closing/__manifest__.py +++ b/l10n_br_fiscal_closing/__manifest__.py @@ -21,4 +21,5 @@ "erpbrasil.base>=2.3.0", ] }, + "installable": False, } diff --git a/l10n_br_ie_search/__manifest__.py b/l10n_br_ie_search/__manifest__.py index 5f69a9c17c59..1467a3d146cc 100644 --- a/l10n_br_ie_search/__manifest__.py +++ b/l10n_br_ie_search/__manifest__.py @@ -19,4 +19,5 @@ "erpbrasil.edoc>=2.5.2", ] }, + "installable": False, } diff --git a/l10n_br_nfe/__manifest__.py b/l10n_br_nfe/__manifest__.py index 4cbc4037a85d..32623d0bfd30 100644 --- a/l10n_br_nfe/__manifest__.py +++ b/l10n_br_nfe/__manifest__.py @@ -48,7 +48,7 @@ "demo/company_demo.xml", ], "post_init_hook": "post_init_hook", - "installable": True, + "installable": False, "auto_install": False, "external_dependencies": { "python": [ diff --git a/l10n_br_nfse/__manifest__.py b/l10n_br_nfse/__manifest__.py index d18049303932..52e45d216aaf 100644 --- a/l10n_br_nfse/__manifest__.py +++ b/l10n_br_nfse/__manifest__.py @@ -34,4 +34,5 @@ "demo/product_demo.xml", "demo/fiscal_document_demo.xml", ], + "installable": False, } diff --git a/l10n_br_nfse_barueri/__manifest__.py b/l10n_br_nfse_barueri/__manifest__.py index 33afcf9929f0..f40b4a00bfa5 100644 --- a/l10n_br_nfse_barueri/__manifest__.py +++ b/l10n_br_nfse_barueri/__manifest__.py @@ -23,4 +23,5 @@ "depends": [ "l10n_br_nfse", ], + "installable": False, } diff --git a/l10n_br_nfse_focus/__manifest__.py b/l10n_br_nfse_focus/__manifest__.py index 5b42b87b592b..e6e33258c732 100644 --- a/l10n_br_nfse_focus/__manifest__.py +++ b/l10n_br_nfse_focus/__manifest__.py @@ -23,4 +23,5 @@ "views/res_company.xml", "data/l10n_br_nfse_focus_cron.xml", ], + "installable": False, } diff --git a/l10n_br_nfse_ginfes/__manifest__.py b/l10n_br_nfse_ginfes/__manifest__.py index 7336259f1b6d..49e20985888b 100644 --- a/l10n_br_nfse_ginfes/__manifest__.py +++ b/l10n_br_nfse_ginfes/__manifest__.py @@ -23,4 +23,5 @@ "depends": [ "l10n_br_nfse", ], + "installable": False, } diff --git a/l10n_br_nfse_paulistana/__manifest__.py b/l10n_br_nfse_paulistana/__manifest__.py index e282f1ba8542..38de803771d1 100644 --- a/l10n_br_nfse_paulistana/__manifest__.py +++ b/l10n_br_nfse_paulistana/__manifest__.py @@ -24,4 +24,5 @@ "depends": [ "l10n_br_nfse", ], + "installable": False, } diff --git a/l10n_br_pos_nfce/__manifest__.py b/l10n_br_pos_nfce/__manifest__.py index ebdb30896789..d6fec33ee95c 100644 --- a/l10n_br_pos_nfce/__manifest__.py +++ b/l10n_br_pos_nfce/__manifest__.py @@ -34,5 +34,5 @@ "static/src/xml/Screens/ReceiptScreen/NfceItemReceipt.xml", "static/src/xml/Screens/ReceiptScreen/ReceiptScreen.xml", ], - "installable": True, + "installable": False, } diff --git a/requirements.txt b/requirements.txt index f178e0f9c6a7..510aff04f57e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,13 +3,9 @@ brazilcep email-validator erpbrasil.assinatura>=1.7.0 erpbrasil.base>=2.3.0 -erpbrasil.edoc.pdf erpbrasil.edoc>=2.5.2 erpbrasil.transmissao>=1.1.0 nfelib>=2.0.0 -nfselib.barueri -nfselib.ginfes -nfselib.paulistana num2words phonenumbers pyyaml diff --git a/setup/l10n_br_account_nfe/odoo/addons/l10n_br_account_nfe b/setup/l10n_br_account_nfe/odoo/addons/l10n_br_account_nfe deleted file mode 120000 index 2b6759847200..000000000000 --- a/setup/l10n_br_account_nfe/odoo/addons/l10n_br_account_nfe +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_account_nfe \ No newline at end of file diff --git a/setup/l10n_br_account_nfe/setup.py b/setup/l10n_br_account_nfe/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_account_nfe/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_delivery_nfe/odoo/addons/l10n_br_delivery_nfe b/setup/l10n_br_delivery_nfe/odoo/addons/l10n_br_delivery_nfe deleted file mode 120000 index 376eb33384da..000000000000 --- a/setup/l10n_br_delivery_nfe/odoo/addons/l10n_br_delivery_nfe +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_delivery_nfe \ No newline at end of file diff --git a/setup/l10n_br_delivery_nfe/setup.py b/setup/l10n_br_delivery_nfe/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_delivery_nfe/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_fiscal_closing/odoo/addons/l10n_br_fiscal_closing b/setup/l10n_br_fiscal_closing/odoo/addons/l10n_br_fiscal_closing deleted file mode 120000 index a7ec55eca12b..000000000000 --- a/setup/l10n_br_fiscal_closing/odoo/addons/l10n_br_fiscal_closing +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_fiscal_closing \ No newline at end of file diff --git a/setup/l10n_br_fiscal_closing/setup.py b/setup/l10n_br_fiscal_closing/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_fiscal_closing/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_ie_search/odoo/addons/l10n_br_ie_search b/setup/l10n_br_ie_search/odoo/addons/l10n_br_ie_search deleted file mode 120000 index 9c90979a1625..000000000000 --- a/setup/l10n_br_ie_search/odoo/addons/l10n_br_ie_search +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_ie_search \ No newline at end of file diff --git a/setup/l10n_br_ie_search/setup.py b/setup/l10n_br_ie_search/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_ie_search/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_nfe/odoo/addons/l10n_br_nfe b/setup/l10n_br_nfe/odoo/addons/l10n_br_nfe deleted file mode 120000 index b8dff8e49788..000000000000 --- a/setup/l10n_br_nfe/odoo/addons/l10n_br_nfe +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_nfe \ No newline at end of file diff --git a/setup/l10n_br_nfe/setup.py b/setup/l10n_br_nfe/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_nfe/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_nfse/odoo/addons/l10n_br_nfse b/setup/l10n_br_nfse/odoo/addons/l10n_br_nfse deleted file mode 120000 index b8f66ff687e5..000000000000 --- a/setup/l10n_br_nfse/odoo/addons/l10n_br_nfse +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_nfse \ No newline at end of file diff --git a/setup/l10n_br_nfse/setup.py b/setup/l10n_br_nfse/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_nfse/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_nfse_barueri/odoo/addons/l10n_br_nfse_barueri b/setup/l10n_br_nfse_barueri/odoo/addons/l10n_br_nfse_barueri deleted file mode 120000 index 86962aadc565..000000000000 --- a/setup/l10n_br_nfse_barueri/odoo/addons/l10n_br_nfse_barueri +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_nfse_barueri \ No newline at end of file diff --git a/setup/l10n_br_nfse_barueri/setup.py b/setup/l10n_br_nfse_barueri/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_nfse_barueri/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_nfse_focus/odoo/addons/l10n_br_nfse_focus b/setup/l10n_br_nfse_focus/odoo/addons/l10n_br_nfse_focus deleted file mode 120000 index 0376a709f02c..000000000000 --- a/setup/l10n_br_nfse_focus/odoo/addons/l10n_br_nfse_focus +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_nfse_focus \ No newline at end of file diff --git a/setup/l10n_br_nfse_focus/setup.py b/setup/l10n_br_nfse_focus/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_nfse_focus/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_nfse_ginfes/odoo/addons/l10n_br_nfse_ginfes b/setup/l10n_br_nfse_ginfes/odoo/addons/l10n_br_nfse_ginfes deleted file mode 120000 index f44df05d62df..000000000000 --- a/setup/l10n_br_nfse_ginfes/odoo/addons/l10n_br_nfse_ginfes +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_nfse_ginfes \ No newline at end of file diff --git a/setup/l10n_br_nfse_ginfes/setup.py b/setup/l10n_br_nfse_ginfes/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_nfse_ginfes/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_nfse_paulistana/odoo/addons/l10n_br_nfse_paulistana b/setup/l10n_br_nfse_paulistana/odoo/addons/l10n_br_nfse_paulistana deleted file mode 120000 index 7f52f3facca5..000000000000 --- a/setup/l10n_br_nfse_paulistana/odoo/addons/l10n_br_nfse_paulistana +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_nfse_paulistana \ No newline at end of file diff --git a/setup/l10n_br_nfse_paulistana/setup.py b/setup/l10n_br_nfse_paulistana/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_nfse_paulistana/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -) diff --git a/setup/l10n_br_pos_nfce/odoo/addons/l10n_br_pos_nfce b/setup/l10n_br_pos_nfce/odoo/addons/l10n_br_pos_nfce deleted file mode 120000 index 0006b87c84f3..000000000000 --- a/setup/l10n_br_pos_nfce/odoo/addons/l10n_br_pos_nfce +++ /dev/null @@ -1 +0,0 @@ -../../../../l10n_br_pos_nfce \ No newline at end of file diff --git a/setup/l10n_br_pos_nfce/setup.py b/setup/l10n_br_pos_nfce/setup.py deleted file mode 100644 index 28c57bb64031..000000000000 --- a/setup/l10n_br_pos_nfce/setup.py +++ /dev/null @@ -1,6 +0,0 @@ -import setuptools - -setuptools.setup( - setup_requires=['setuptools-odoo'], - odoo_addon=True, -)