Skip to content
Open

Test #108

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
590 commits
Select commit Hold shift + click to select a range
0b7527c
Update translation files
weblate Feb 14, 2023
72ee0fa
[FIX] l10n_it_fatturapa_in: Skip partner creation if VAT is not valid
SirTakobi Feb 23, 2023
dd764bb
Merge PR #2916 into 12.0
OCA-git-bot Feb 27, 2023
227aff7
[UPD] Update l10n_it_fatturapa_pec.pot
Feb 27, 2023
33cee31
l10n_it_fatturapa_pec 12.0.2.1.1
OCA-git-bot Feb 27, 2023
22f83e1
l10n_it_sdi_channel 12.0.2.2.2
OCA-git-bot Feb 27, 2023
adc98c4
[UPD] addons table in README.md
OCA-git-bot Feb 27, 2023
a62c772
Update translation files
weblate Feb 27, 2023
8063dbb
Translated using Weblate (Italian)
primes2h Mar 3, 2023
0f2b7e0
[ADD][l10n_it_asset_history_import] add new module
matteoopenf Jan 30, 2023
139f981
Merge PR #3155 into 12.0
OCA-git-bot Mar 8, 2023
caed42c
[UPD] Update l10n_it_asset_history_import.pot
Mar 8, 2023
95b64e2
[UPD] addons table in README.md
OCA-git-bot Mar 8, 2023
0e80f6f
[UPD] README.rst
OCA-git-bot Mar 8, 2023
47ac3af
[ADD] setup.py
OCA-git-bot Mar 8, 2023
6d1cd91
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 12, 2023
9d8d2c0
[IMP] l10n_it_fatturapa_out: Show sending/delivering data
SirTakobi Mar 14, 2023
3901ff7
[IMP] l10n_it_sdi_channel: Show SdI response
SirTakobi Mar 14, 2023
87eb4b9
[IMP] l10n_it_fatturapa_pec: Use common Sending User
SirTakobi Mar 14, 2023
2d96925
[COV] l10n_it_sdi_channel: Test State tracking
SirTakobi Mar 15, 2023
b580ea2
Translated using Weblate (Italian)
francesco-ooops Mar 20, 2023
6e7b901
[IMP] l10n_it_account_balance_report: Allow to hide accounts codes
SirTakobi Mar 2, 2023
5396890
FIX l10n_it_fatturapa_out_rc - AttributeError: 'DatiPagamentoType' ob…
eLBati Jul 2, 2022
731b852
Updated from template
SirTakobi Mar 28, 2023
7e511ce
Merge PR #3241 into 12.0
OCA-git-bot Mar 28, 2023
af54e4f
Merge PR #3213 into 12.0
OCA-git-bot Mar 31, 2023
5568c0e
l10n_it_sdi_channel 12.0.2.2.3
OCA-git-bot Mar 31, 2023
8de9931
[UPD] addons table in README.md
OCA-git-bot Mar 31, 2023
b25abec
Merge PR #3188 into 12.0
OCA-git-bot Mar 31, 2023
c895913
[UPD] Update l10n_it_fatturapa_in.pot
Mar 31, 2023
e041082
l10n_it_fatturapa_in 12.0.3.1.5
OCA-git-bot Mar 31, 2023
5270ac3
[UPD] addons table in README.md
OCA-git-bot Mar 31, 2023
73aa198
Update translation files
weblate Mar 31, 2023
7d982a1
Merge PR #3200 into 12.0
OCA-git-bot Mar 31, 2023
80b30ce
[UPD] Update l10n_it_account_balance_report.pot
Mar 31, 2023
c00b653
l10n_it_account_balance_report 12.0.1.1.0
OCA-git-bot Mar 31, 2023
d1d1303
[UPD] addons table in README.md
OCA-git-bot Mar 31, 2023
59df19f
Update translation files
weblate Mar 31, 2023
315b899
Translated using Weblate (Italian)
mymage Apr 3, 2023
861530d
Translated using Weblate (Italian)
mymage Apr 5, 2023
fa3b91e
Translated using Weblate (Italian)
mymage Apr 5, 2023
76aad1d
Translated using Weblate (Italian)
mymage Apr 5, 2023
4050775
Translated using Weblate (Italian)
mymage Apr 5, 2023
1e7343c
Translated using Weblate (Italian)
mymage Apr 5, 2023
8ea6821
Translated using Weblate (Italian)
mymage Apr 5, 2023
7641746
Translated using Weblate (Italian)
mymage Apr 5, 2023
e92c7a1
Translated using Weblate (Italian)
francesco-ooops Apr 7, 2023
850328f
Translated using Weblate (Italian)
francesco-ooops Apr 7, 2023
641b916
Translated using Weblate (Italian)
francesco-ooops Apr 7, 2023
fc33ae2
Translated using Weblate (Italian)
mymage Apr 12, 2023
8b0bbb0
Translated using Weblate (Italian)
mymage Apr 12, 2023
8b36faf
Translated using Weblate (Portuguese (Brazil))
douglascstd Apr 14, 2023
0e75104
Translated using Weblate (Portuguese (Brazil))
douglascstd Apr 14, 2023
b46460d
Translated using Weblate (Italian)
mymage Apr 17, 2023
f6ed69c
Translated using Weblate (Italian)
mymage Apr 17, 2023
f18ef74
Translated using Weblate (Italian)
mymage Apr 17, 2023
0b6c55e
Translated using Weblate (Italian)
mymage Apr 17, 2023
e0125b3
Translated using Weblate (Italian)
mymage Apr 19, 2023
c3dc9ea
Translated using Weblate (Italian)
francesco-ooops Apr 21, 2023
13818c5
Translated using Weblate (Italian)
mymage Apr 21, 2023
e05d6ce
Translated using Weblate (Italian)
mymage Apr 21, 2023
39a70a5
Translated using Weblate (Italian)
mymage Apr 21, 2023
d01dc29
Translated using Weblate (Italian)
mymage Apr 21, 2023
cf4b56a
Translated using Weblate (Italian)
mymage Apr 21, 2023
762509f
Translated using Weblate (Italian)
mymage Apr 21, 2023
30491fd
Translated using Weblate (Italian)
mymage Apr 21, 2023
a0376a2
Translated using Weblate (Italian)
mymage Apr 21, 2023
355d8c0
Added translation using Weblate (Italian)
mymage Apr 26, 2023
ab7dade
Added translation using Weblate (Italian)
mymage Apr 26, 2023
970d29f
Added translation using Weblate (Italian)
mymage Apr 26, 2023
6cdb7a6
Added translation using Weblate (Italian)
mymage Apr 26, 2023
e9d4087
Added translation using Weblate (Italian)
mymage Apr 26, 2023
9514bb3
Added translation using Weblate (Italian)
mymage Apr 26, 2023
8221c13
Added translation using Weblate (Italian)
mymage Apr 26, 2023
36ef88a
Translated using Weblate (Italian)
mymage Apr 26, 2023
8d9f98f
Translated using Weblate (Italian)
mymage Apr 26, 2023
ba0f3b9
[FIX] l10n_it_fatturapa_in: Allow Billing user to import Electronic I…
SirTakobi Nov 28, 2022
66f1443
Translated using Weblate (Italian)
mymage Apr 26, 2023
3105cc9
[COV] l10n_it_ricevute_bancarie: Fix typo
SirTakobi Apr 26, 2023
1ecb360
Merge PR #2951 into 12.0
OCA-git-bot Apr 26, 2023
f006e32
[UPD] Update l10n_it_ricevute_bancarie.pot
Apr 26, 2023
59d38e4
[UPD] README.rst
OCA-git-bot Apr 26, 2023
bad824a
l10n_it_ricevute_bancarie 12.0.1.9.0
OCA-git-bot Apr 26, 2023
4de12b3
[UPD] addons table in README.md
OCA-git-bot Apr 26, 2023
935ecde
Translated using Weblate (Italian)
mymage Apr 26, 2023
4b6ea48
Translated using Weblate (Italian)
mymage Apr 26, 2023
965fb37
Translated using Weblate (Italian)
mymage Apr 26, 2023
f13a747
Translated using Weblate (Italian)
mymage Apr 26, 2023
33b39e9
Translated using Weblate (Italian)
mymage Apr 26, 2023
3a707fc
Translated using Weblate (Italian)
mymage Apr 26, 2023
dc9369d
Translated using Weblate (Italian)
mymage Apr 26, 2023
50c616e
Translated using Weblate (Italian)
mymage Apr 26, 2023
073af72
Translated using Weblate (Italian)
mymage Apr 26, 2023
1b8e90a
Translated using Weblate (Italian)
mymage Apr 26, 2023
fb0e6f8
Translated using Weblate (Italian)
mymage Apr 26, 2023
8bd113b
Translated using Weblate (Italian)
mymage Apr 26, 2023
e8cda2b
Translated using Weblate (Italian)
mymage Apr 26, 2023
569da76
Translated using Weblate (Italian)
mymage Apr 26, 2023
0ff7e17
Translated using Weblate (Italian)
mymage Apr 26, 2023
ad50072
Translated using Weblate (Italian)
mymage Apr 26, 2023
fe4b153
Translated using Weblate (Italian)
francesco-ooops Apr 26, 2023
ff26ad9
Translated using Weblate (Italian)
mymage Apr 26, 2023
52524c8
Translated using Weblate (Italian)
mymage Apr 26, 2023
28627e7
Translated using Weblate (Italian)
francesco-ooops Apr 26, 2023
f9d576c
Translated using Weblate (Italian)
mymage Apr 26, 2023
edf00a7
Translated using Weblate (Italian)
mymage Apr 26, 2023
dc861cd
Translated using Weblate (Italian)
mymage Apr 26, 2023
8711c68
Translated using Weblate (Italian)
mymage Apr 26, 2023
f9d3114
Translated using Weblate (Italian)
mymage Apr 26, 2023
e7d5172
Translated using Weblate (Italian)
mymage Apr 26, 2023
1210faf
Translated using Weblate (Italian)
mymage Apr 26, 2023
a811efe
Update translation files
weblate Apr 26, 2023
334f120
Translated using Weblate (Italian)
mymage Apr 27, 2023
a92c497
Translated using Weblate (Italian)
mymage Apr 27, 2023
117b126
Translated using Weblate (Italian)
mymage Apr 27, 2023
a61e012
Translated using Weblate (Italian)
mymage Apr 27, 2023
205ef80
Translated using Weblate (Italian)
mymage Apr 27, 2023
8c8181e
Translated using Weblate (Italian)
mymage Apr 27, 2023
d4c3ee6
Translated using Weblate (Italian)
mymage Apr 27, 2023
ba18acf
Translated using Weblate (Italian)
mymage Apr 27, 2023
392887f
Translated using Weblate (Italian)
mymage Apr 27, 2023
5aac77c
Translated using Weblate (Italian)
mymage Apr 27, 2023
1a8bd25
Translated using Weblate (Italian)
mymage Apr 27, 2023
be6ea8e
Translated using Weblate (Italian)
mymage Apr 27, 2023
fdb8eea
Translated using Weblate (Italian)
mymage Apr 28, 2023
bfcd719
Translated using Weblate (Italian)
primes2h Apr 28, 2023
388c16c
Translated using Weblate (Italian)
primes2h Apr 28, 2023
2b0e929
Translated using Weblate (Italian)
mymage May 1, 2023
c71465d
Translated using Weblate (Italian)
mymage May 1, 2023
9be763b
Translated using Weblate (Italian)
mymage May 1, 2023
e5e8687
Translated using Weblate (Italian)
mymage May 1, 2023
6481bbb
Translated using Weblate (Italian)
mymage May 1, 2023
6751fbd
Translated using Weblate (Italian)
mymage May 1, 2023
fd5e7f9
Translated using Weblate (Italian)
mymage May 1, 2023
e1bb0f5
Translated using Weblate (Italian)
primes2h May 2, 2023
24144ad
Translated using Weblate (Italian)
primes2h May 2, 2023
11d1cbe
Translated using Weblate (Italian)
primes2h May 2, 2023
bfdb33e
Translated using Weblate (Italian)
primes2h May 2, 2023
14337da
Translated using Weblate (Italian)
mymage May 3, 2023
1911c2e
Merge PR #2674 into 12.0
OCA-git-bot May 3, 2023
a66bf75
l10n_it_ddt 12.0.1.10.1
OCA-git-bot May 3, 2023
7960bd7
[UPD] addons table in README.md
OCA-git-bot May 3, 2023
72cfcbc
Merge PR #2934 into 12.0
OCA-git-bot May 3, 2023
d953ac9
l10n_it_fatturapa_sdicoop 12.0.2.2.1
OCA-git-bot May 3, 2023
ee32a0d
l10n_it_sdi_channel 12.0.2.2.4
OCA-git-bot May 3, 2023
abfe025
[UPD] addons table in README.md
OCA-git-bot May 3, 2023
e67ca71
Merge PR #3074 into 12.0
OCA-git-bot May 3, 2023
0b2244e
l10n_it_fatturapa_in 12.0.3.1.6
OCA-git-bot May 3, 2023
6217838
[UPD] addons table in README.md
OCA-git-bot May 3, 2023
ec56051
Merge PR #3071 into 12.0
OCA-git-bot May 3, 2023
748e899
[UPD] Update l10n_it_withholding_tax.pot
May 3, 2023
644f3f7
l10n_it_withholding_tax 12.0.2.1.6
OCA-git-bot May 3, 2023
d59f51e
[UPD] addons table in README.md
OCA-git-bot May 3, 2023
9d241ca
Update translation files
weblate May 3, 2023
5588400
Merge PR #3206 into 12.0
OCA-git-bot May 3, 2023
d44be3a
[UPD] Update l10n_it_fatturapa_out.pot
May 3, 2023
390bcea
[UPD] Update l10n_it_fatturapa_pec.pot
May 3, 2023
1fcd007
[UPD] Update l10n_it_sdi_channel.pot
May 3, 2023
3ba67ed
l10n_it_fatturapa_pec 12.0.2.2.0
OCA-git-bot May 3, 2023
98503f1
l10n_it_sdi_channel 12.0.2.3.0
OCA-git-bot May 3, 2023
b9c3f91
l10n_it_fatturapa_out 12.0.3.2.0
OCA-git-bot May 3, 2023
9d0a6d1
[UPD] addons table in README.md
OCA-git-bot May 3, 2023
20d893d
Update translation files
weblate May 3, 2023
b46403e
Update translation files
weblate May 3, 2023
d8048c5
Update translation files
weblate May 3, 2023
c65816e
Merge PR #3066 into 12.0
OCA-git-bot May 3, 2023
119a34f
[UPD] Update l10n_it_fatturapa_in.pot
May 3, 2023
e266401
[UPD] Update l10n_it_fatturapa_out_rc.pot
May 3, 2023
a14376e
l10n_it_fatturapa_out_rc 12.0.1.1.1
OCA-git-bot May 3, 2023
c3becb7
l10n_it_fatturapa_in 12.0.3.1.7
OCA-git-bot May 3, 2023
a07aa47
l10n_it_fatturapa_out 12.0.3.2.1
OCA-git-bot May 3, 2023
609b222
[UPD] addons table in README.md
OCA-git-bot May 3, 2023
0c3347c
Update translation files
weblate May 3, 2023
9c2e9e4
Update translation files
weblate May 3, 2023
2a50484
Translated using Weblate (Italian)
mymage May 8, 2023
4f5c5b6
Translated using Weblate (Italian)
mymage May 9, 2023
e2a0be8
Translated using Weblate (Italian)
mymage May 9, 2023
eb0ed9d
Translated using Weblate (Italian)
mymage May 9, 2023
a0b01e1
Translated using Weblate (Italian)
francesco-ooops May 10, 2023
1d7a0b5
Translated using Weblate (Italian)
francesco-ooops May 12, 2023
6a2f6c0
Translated using Weblate (Italian)
francesco-ooops May 12, 2023
03aeafe
Translated using Weblate (Italian)
francesco-ooops May 15, 2023
c2dfc25
Translated using Weblate (Italian)
francesco-ooops May 17, 2023
177693d
Translated using Weblate (Italian)
francesco-ooops May 17, 2023
13995d0
Merge PR #2853 into 12.0
OCA-git-bot May 19, 2023
df84e1d
l10n_it_fatturapa_out_rc 12.0.1.1.2
OCA-git-bot May 19, 2023
a7f22c6
[UPD] addons table in README.md
OCA-git-bot May 19, 2023
1bffb6e
[10][l10n-italy] ddt line is printed based on new method, in order to…
jackjack82 Jul 4, 2019
9dd323a
[10][l10n_it_ddt_mrp_kit] Nuovo modulo per fatturazione kit da ddt.
jackjack82 Jul 8, 2019
4a267a4
[IMP] l10n_it_ddt_mrp_kit: pre-commit stuff
SirTakobi May 19, 2023
9040fd2
Translated using Weblate (Italian)
francesco-ooops May 24, 2023
ab91526
Translated using Weblate (Italian)
mymage May 29, 2023
b853f95
[MIG] l10n_it_ddt_mrp_kit: Migration to 12.0
SirTakobi May 19, 2023
17c260b
Translated using Weblate (Italian)
mymage Jun 7, 2023
0dadd8f
Translated using Weblate (Italian)
mymage Jun 10, 2023
bc222b1
Translated using Weblate (Italian)
mymage Jun 12, 2023
27ee05b
Translated using Weblate (Italian)
mymage Jun 15, 2023
0433ea6
Translated using Weblate (Italian)
mymage Jun 15, 2023
3aa5645
Translated using Weblate (Italian)
mymage Jun 15, 2023
36c0b40
Translated using Weblate (Italian)
francesco-ooops Jun 15, 2023
6468f1a
[FIX] Test commented to skip API call for NUTS list downloading #3366
odooNextev Jun 16, 2023
9b3d5bc
Merge PR #3389 into 12.0
OCA-git-bot Jun 16, 2023
cd9f59c
Translated using Weblate (Italian)
mymage Jun 16, 2023
8161be7
[FIX] l10n_it_fatturapa_out: Only export phone_electronic_invoice
SirTakobi Jun 5, 2023
0737352
Merge PR #3365 into 12.0
OCA-git-bot Jun 26, 2023
4356086
[UPD] Update l10n_it_fatturapa_out.pot
Jun 26, 2023
49c0c11
l10n_it_fatturapa_out 12.0.3.2.2
OCA-git-bot Jun 26, 2023
40ba927
[UPD] addons table in README.md
OCA-git-bot Jun 26, 2023
e810dd3
Update translation files
weblate Jun 26, 2023
1685b40
[IMP] l10n_it_fatturapa_in: add TD27 TD28
TheMule71 Feb 3, 2023
17401b5
[COV] l10n_it_fatturapa_in: More self-invoices examples
SirTakobi May 30, 2023
82d70a3
Translated using Weblate (Italian)
mymage Jul 11, 2023
1f2e796
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
37d1951
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
ad83163
Merge PR #3340 into 12.0
OCA-git-bot Jul 17, 2023
c0b96f2
l10n_it_fatturapa_in 12.0.3.1.8
OCA-git-bot Jul 17, 2023
b72a1ae
[UPD] addons table in README.md
OCA-git-bot Jul 17, 2023
915d149
Merge PR #3320 into 12.0
OCA-git-bot Jul 17, 2023
96395ac
[UPD] Update l10n_it_ddt_mrp_kit.pot
Jul 17, 2023
4b8fb71
[UPD] addons table in README.md
OCA-git-bot Jul 17, 2023
a32b199
[UPD] README.rst
OCA-git-bot Jul 17, 2023
bdb608a
[ADD] setup.py
OCA-git-bot Jul 17, 2023
4040ae8
Translated using Weblate (Italian)
francesco-ooops Jul 17, 2023
403384d
Added translation using Weblate (Italian)
mymage Aug 1, 2023
bc8efa6
Translated using Weblate (Italian)
mymage Aug 1, 2023
b6fd31b
Translated using Weblate (Italian)
mymage Aug 1, 2023
c37d5ca
Translated using Weblate (Italian)
mymage Aug 1, 2023
51f50a9
[FIX] assets_management: Consider depreciation of all previous years
SirTakobi Nov 7, 2022
5f20d92
Merge PR #3010 into 12.0
OCA-git-bot Aug 4, 2023
b6e00e7
[UPD] Update assets_management.pot
Aug 4, 2023
ee85923
[UPD] README.rst
OCA-git-bot Aug 4, 2023
c13ff4e
assets_management 12.0.1.0.1
OCA-git-bot Aug 4, 2023
63cfcdc
[UPD] addons table in README.md
OCA-git-bot Aug 4, 2023
d6a19f4
Update translation files
weblate Aug 4, 2023
69c22ec
[FIX] account_vat_period_end_statement: Select previous Statement by …
SirTakobi Sep 16, 2022
62157c8
Translated using Weblate (Italian)
mymage Aug 10, 2023
3d3d367
Translated using Weblate (Italian)
mymage Aug 10, 2023
6d7fc99
Translated using Weblate (Italian)
mymage Aug 10, 2023
6cf466a
12.0 Fix portal fiscalcode label
FrancescoBallerini Aug 12, 2023
b68be39
Merge PR #3522 into 12.0
OCA-git-bot Aug 14, 2023
0e97128
l10n_it_website_portal_fiscalcode 12.0.1.0.3
OCA-git-bot Aug 14, 2023
e53cefb
[UPD] addons table in README.md
OCA-git-bot Aug 14, 2023
db0c728
Merge PR #2942 into 12.0
OCA-git-bot Aug 14, 2023
03ebe1f
[UPD] Update account_vat_period_end_statement.pot
Aug 14, 2023
3ecdaba
[UPD] README.rst
OCA-git-bot Aug 14, 2023
0e7e573
account_vat_period_end_statement 12.0.1.8.1
OCA-git-bot Aug 14, 2023
2b8f1e2
[UPD] addons table in README.md
OCA-git-bot Aug 14, 2023
1b7c8f7
Update translation files
weblate Aug 14, 2023
f7d2d2a
[IMP] l10n_it_fiscal_document_type: User can only read
eLBati May 27, 2022
334d31e
[COV] l10n_it_fiscal_document_type: Access
SirTakobi Aug 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 25 additions & 0 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.14.2-1-gff96cae
_src_path: https://github.com/OCA/oca-addons-repo-template.git
ci: GitHub
dependency_installation_mode: PIP
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
github_enable_codecov: true
github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: false
odoo_test_flavor: OCB
odoo_version: 12.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
repo_description: Addons concerning Odoo Italian Localization.
repo_name: Odoo Italia Modules
repo_slug: l10n-italy
repo_website: https://github.com/OCA/l10n-italy
travis_apt_packages: []
travis_apt_sources: []

4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[.eslintrc,*.{json,yml,yaml,rst,md}]
[*.{json,yml,yaml,rst,md}]
indent_size = 2

# Do not configure editor for libs and autogenerated content
[*/static/{lib,src/lib}/**,*/static/description/index.html,*/readme/../README.rst]
[{*/static/{lib,src/lib}/**,*/static/description/index.html,*/readme/../README.rst}]
charset = unset
end_of_line = unset
indent_size = unset
Expand Down
11 changes: 11 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
# E123,E133,E226,E241,E242 are ignored by default by pep8 and flake8
# F811 is legal in odoo 8 when we implement 2 interfaces for a method
# F601 pylint support this case with expected tests
# W503 changed by W504 and OCA prefers allow both
# E203: whitespace before ':' (black behaviour and not pep8 compliant)
ignore = E123,E133,E226,E241,E242,F811,F601,W503,W504,E203
max-line-length = 88
per-file-ignores=
__init__.py:F401

37 changes: 37 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: pre-commit

on:
pull_request:
branches:
- "12.0*"
push:
branches:
- "12.0"
- "12.0-ocabot-*"

jobs:
pre-commit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.6"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always
- name: Check that all files generated by pre-commit are in git
run: |
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
if [ "$newfiles" != "" ] ; then
echo "Please check-in the following files:"
echo "$newfiles"
exit 1
fi
69 changes: 69 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: "0 12 * * 0"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Stale PRs and issues policy
uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# General settings.
ascending: true
remove-stale-when-updated: true
# Pull Requests settings.
# 120+30 day stale policy for PRs
# * Except PRs marked as "no stale"
days-before-pr-stale: 120
days-before-pr-close: 30
exempt-pr-labels: "no stale"
stale-pr-label: "stale"
stale-pr-message: >
There hasn't been any activity on this pull request in the past 4 months, so
it has been marked as stale and it will be closed automatically if no
further activity occurs in the next 30 days.

If you want this PR to never become stale, please ask a PSC member to apply
the "no stale" label.
# Issues settings.
# 180+30 day stale policy for open issues
# * Except Issues marked as "no stale"
days-before-issue-stale: 180
days-before-issue-close: 30
exempt-issue-labels: "no stale,needs more information"
stale-issue-label: "stale"
stale-issue-message: >
There hasn't been any activity on this issue in the past 6 months, so it has
been marked as stale and it will be closed automatically if no further
activity occurs in the next 30 days.

If you want this issue to never become stale, please ask a PSC member to
apply the "no stale" label.

# 15+30 day stale policy for issues pending more information
# * Issues that are pending more information
# * Except Issues marked as "no stale"
- name: Needs more information stale issues policy
uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true
only-labels: "needs more information"
exempt-issue-labels: "no stale"
days-before-stale: 15
days-before-close: 30
days-before-pr-stale: -1
days-before-pr-close: -1
remove-stale-when-updated: true
stale-issue-label: "stale"
stale-issue-message: >
This issue needs more information and there hasn't been any activity
recently, so it has been marked as stale and it will be closed automatically
if no further activity occurs in the next 30 days.

If you think this is a mistake, please ask a PSC member to remove the "needs
more information" label.
67 changes: 67 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: tests

on:
pull_request:
branches:
- "12.0*"
push:
branches:
- "12.0"
- "12.0-ocabot-*"

jobs:
unreleased-deps:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- uses: actions/checkout@v2
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
result=0
# reject non-comment lines that contain a / (i.e. URLs, relative paths)
grep "^[^#].*/" ${reqfile} || result=$?
if [ $result -eq 0 ] ; then
echo "Unreleased dependencies found in ${reqfile}."
exit 1
fi
fi
done
test:
runs-on: ubuntu-20.04
container: ${{ matrix.container }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.6-ocb12.0:latest
name: test with OCB
makepot: "true"
services:
postgres:
image: postgres:9.6
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
POSTGRES_DB: odoo
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install addons and dependencies
run: oca_install_addons
- name: Check licenses
run: manifestoo -d . check-licenses
- name: Check development status
run: manifestoo -d . check-dev-status --default-dev-status=Beta
- name: Initialize test db
run: oca_init_test_database
- name: Run tests
run: oca_run_tests
- uses: codecov/codecov-action@v1
- name: Update .pot files
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
20 changes: 18 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
/.venv
/.pytest_cache

# C extensions
*.so
Expand All @@ -20,6 +22,7 @@ var/
*.egg-info/
.installed.cfg
*.egg
*.eggs

# Installer logs
pip-log.txt
Expand All @@ -39,6 +42,19 @@ coverage.xml
# Pycharm
.idea

# Eclipse
.settings

# Visual Studio cache/options directory
.vs/
.vscode

# OSX Files
.DS_Store

# Django stuff:
*.log

# Mr Developer
.mr.developer.cfg
.project
Expand All @@ -54,5 +70,5 @@ docs/_build/
*~
*.swp

# OSX Files
*.DS_Store
# OCA rules
!static/lib/
59 changes: 59 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
# We don't want to mess with tool-generated files
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
/static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
python: python3.6
repos:
- repo: https://github.com/oca/maintainer-tools
rev: ab1d7f6
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://github.com/OCA/l10n-italy"]
- repo: https://github.com/acsone/setuptools-odoo
rev: 3.1.8
hooks:
- id: setuptools-odoo-make-default
- id: setuptools-odoo-get-requirements
args:
- --output
- requirements.txt
- --header
- "# generated from manifests external_dependencies"
- repo: https://github.com/OCA/mirrors-flake8
rev: v3.4.1
hooks:
- id: flake8
name: flake8 excluding __init__.py
exclude: __init__\.py
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.5.3
hooks:
- id: pylint
name: pylint with optional checks
args:
- --rcfile=.pylintrc
- --exit-zero
verbose: true
additional_dependencies: &pylint_deps
- pylint-odoo==3.5.0
- id: pylint
name: pylint with mandatory checks
args:
- --rcfile=.pylintrc-mandatory
additional_dependencies: *pylint_deps

Loading