Skip to content

Commit

Permalink
[TMP] disabled uninstallable modules
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Apr 10, 2024
1 parent 748ada5 commit cc89cbf
Show file tree
Hide file tree
Showing 27 changed files with 21 additions and 63 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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_delivery_nfe,l10n_br_nfe,l10n_br_nfse,l10n_br_nfse_barueri,l10n_br_nfse_focus,l10n_br_nfse_ginfes,l10n_br_nfse_paulistana"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.8-ocb14.0:latest
exclude: "l10n_br_account_nfe,l10n_br_delivery_nfe,l10n_br_nfe,l10n_br_nfse,l10n_br_nfse_barueri,l10n_br_nfse_focus,l10n_br_nfse_ginfes,l10n_br_nfse_paulistana"
name: test with OCB
makepot: "true"
services:
Expand All @@ -49,6 +51,9 @@ jobs:
POSTGRES_DB: odoo
ports:
- 5432:5432
env:
INCLUDE: "${{ matrix.include }}"
EXCLUDE: "${{ matrix.exclude }}"
steps:
- uses: actions/checkout@v3
with:
Expand Down
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
^l10n_br_account_nfe/|
^l10n_br_delivery_nfe/|
^l10n_br_nfe/|
^l10n_br_nfse/|
^l10n_br_nfse_barueri/|
^l10n_br_nfse_focus/|
^l10n_br_nfse_ginfes/|
^l10n_br_nfse_paulistana/|
# 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)
Expand Down
2 changes: 1 addition & 1 deletion l10n_br_account_nfe/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"views/account_payment_mode.xml",
],
"post_init_hook": "post_init_hook",
"installable": True,
"installable": False,
"auto_install": True,
}
2 changes: 1 addition & 1 deletion l10n_br_delivery_nfe/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
# Views
"views/nfe_document_view.xml"
],
"installable": True,
"installable": False,
"auto_install": True,
}
2 changes: 1 addition & 1 deletion l10n_br_nfe/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"demo/company_demo.xml",
],
"post_init_hook": "post_init_hook",
"installable": True,
"installable": False,
"auto_install": False,
"external_dependencies": {
"python": [
Expand Down
1 change: 1 addition & 0 deletions l10n_br_nfse/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@
"demo/product_demo.xml",
"demo/fiscal_document_demo.xml",
],
"installable": False,
}
1 change: 1 addition & 0 deletions l10n_br_nfse_barueri/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
"depends": [
"l10n_br_nfse",
],
"installable": False,
}
1 change: 1 addition & 0 deletions l10n_br_nfse_focus/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
"views/res_company.xml",
"data/l10n_br_nfse_focus_cron.xml",
],
"installable": False,
}
1 change: 1 addition & 0 deletions l10n_br_nfse_ginfes/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@
"depends": [
"l10n_br_nfse",
],
"installable": False,
}
1 change: 1 addition & 0 deletions l10n_br_nfse_paulistana/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
"depends": [
"l10n_br_nfse",
],
"installable": False,
}
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion setup/l10n_br_account_nfe/odoo/addons/l10n_br_account_nfe

This file was deleted.

6 changes: 0 additions & 6 deletions setup/l10n_br_account_nfe/setup.py

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions setup/l10n_br_delivery_nfe/setup.py

This file was deleted.

1 change: 0 additions & 1 deletion setup/l10n_br_nfe/odoo/addons/l10n_br_nfe

This file was deleted.

6 changes: 0 additions & 6 deletions setup/l10n_br_nfe/setup.py

This file was deleted.

1 change: 0 additions & 1 deletion setup/l10n_br_nfse/odoo/addons/l10n_br_nfse

This file was deleted.

6 changes: 0 additions & 6 deletions setup/l10n_br_nfse/setup.py

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions setup/l10n_br_nfse_barueri/setup.py

This file was deleted.

1 change: 0 additions & 1 deletion setup/l10n_br_nfse_focus/odoo/addons/l10n_br_nfse_focus

This file was deleted.

6 changes: 0 additions & 6 deletions setup/l10n_br_nfse_focus/setup.py

This file was deleted.

1 change: 0 additions & 1 deletion setup/l10n_br_nfse_ginfes/odoo/addons/l10n_br_nfse_ginfes

This file was deleted.

6 changes: 0 additions & 6 deletions setup/l10n_br_nfse_ginfes/setup.py

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions setup/l10n_br_nfse_paulistana/setup.py

This file was deleted.

0 comments on commit cc89cbf

Please sign in to comment.