8000 [pull] 14.0 from OCA:14.0 by pull[bot] · Pull Request #1 · yoki31/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[pull] 14.0 from OCA:14.0 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 932 commits into
base: 14.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
932 commits
Select commit Hold shift + click to select a range
1cd581b
[UPD] README.rst
OCA-git-bot Jul 14, 2020
ebde200
Added translation using Weblate (Spanish)
claudiagn Sep 16, 2020
573c6e2
Translated using Weblate (Spanish)
claudiagn Sep 16, 2020
a2eb340
Added translation using Weblate (French)
ypapouin Oct 6, 2020
eb0b9ce
Translated using Weblate (French)
ypapouin Oct 6, 2020
7c27933
Added translation using Weblate (Catalan)
claudiagn Feb 17, 2021
368b7d6
Translated using Weblate (Catalan)
claudiagn Feb 17, 2021
61f6a8d
web_edit_user_filter 12.0.1.0.2
OCA-git-bot Mar 9, 2021
aea65b5
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 15, 2021
b288df5
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Mar 15, 2021
c97e91e
[IMP] web_edit_user_filter: black, isort, prettier
robyf70 Sep 5, 2021
ca2e322
Merge PR #2576 into 14.0
OCA-git-bot Oct 18, 2023
df3a5cc
[BOT] post-merge updates
OCA-git-bot Oct 18, 2023
8173c33
[FIX] web_widget_domain_editor_dialog: keep context
Oct 18, 2023
121d954
Merge PR #2642 into 14.0
OCA-git-bot Oct 18, 2023
c11eef7
[BOT] post-merge updates
OCA-git-bot Oct 18, 2023
b38dda6
[14.0][MIG] web_edit_user_filter: Migration to 14.0
robyf70 Sep 5, 2021
d75b136
Merge PR #2017 into 14.0
OCA-git-bot Oct 18, 2023
bd9f1b5
[UPD] Update web_edit_user_filter.pot
Oct 18, 2023
41529c1
[BOT] post-merge updates
OCA-git-bot Oct 18, 2023
5ae07aa
web_edit_user_filter: Fix selection of facet
grindtildeath Oct 19, 2023
cf1921e
Merge PR #2644 into 14.0
OCA-git-bot Oct 23, 2023
9621efd
[BOT] post-merge updates
OCA-git-bot Oct 23, 2023
36028ce
[ADD] web_widget_uom
GSLabIt Nov 22, 2021
aed7646
Merge PR #2091 into 14.0
OCA-git-bot Oct 25, 2023
67044f1
[UPD] Update web_widget_uom.pot
Oct 25, 2023
3aeeccf
[BOT] post-merge updates
OCA-git-bot Oct 25, 2023
3c125a9
[IMP] update dotfiles
OCA-git-bot Oct 27, 2023
6630410
Translated using Weblate (Italian)
mymage Oct 23, 2023
b8a9e6d
Translated using Weblate (Spanish (Argentina))
ibuioli Oct 27, 2023
ee19af1
[FIX] all: fix pre-commit new checks
aleuffre Oct 30, 2023
4a5dca6
Merge PR #2649 into 14.0
OCA-git-bot Oct 30, 2023
a8216cf
[UPD] Update web_create_write_confirm.pot
Oct 30, 2023
3af2722
[UPD] Update web_field_required_invisible_manager.pot
Oct 30, 2023
be58f1a
[UPD] Update web_m2x_options_manager.pot
Oct 30, 2023
d42df8b
[BOT] post-merge updates
OCA-git-bot Oct 30, 2023
86fbe97
Update translation files
weblate Oct 30, 2023
cb518d5
Update translation files
weblate Oct 30, 2023
c9c5fa7
Translated using Weblate (Italian)
francesco-ooops Nov 2, 2023
c3f14b3
[FIX] web_field_required_invisible_manager: fix depend. domain compute
ilyasProgrammer Nov 6, 2023
1bf7130
[FIX] drag_drop element cannot be seen, if check for undefined value
KKamaa Dec 27, 2022
356bedb
[FIX] isort, black, prettier
KKamaa Dec 27, 2022
af22512
Merge PR #2369 into 14.0
OCA-git-bot Nov 10, 2023
2f46029
[BOT] post-merge updates
OCA-git-bot Nov 10, 2023
e8cc077
[IMP] web_notify
DavidJForgeFlow Nov 17, 2023
2ac9d01
Merge PR #2673 into 14.0
OCA-git-bot Nov 17, 2023
c652bb3
[BOT] post-merge updates
OCA-git-bot Nov 17, 2023
215125c
[REF] copier update v1.17.2 -> v1.19.2
ilyasProgrammer Nov 20, 2023
50cc4cd
Merge pull request #2678 from ilyasProgrammer/14.0-copier-update
pedrobaeza Nov 20, 2023
96df04e
[ADD] web_button_invisible
ilyasProgrammer Sep 29, 2023
703ea34
Merge PR #2631 into 14.0
OCA-git-bot Nov 20, 2023
935490b
[UPD] Update web_button_visibility.pot
Nov 20, 2023
fe40fb9
[BOT] post-merge updates
OCA-git-bot Nov 20, 2023
b28289c
Added translation using Weblate (Italian)
francesco-ooops Nov 21, 2023
c796974
Translated using Weblate (Italian)
francesco-ooops Nov 21, 2023
29cbcd5
Translated using Weblate (Italian)
francesco-ooops Nov 21, 2023
3bff933
Added translation using Weblate (Catalan)
eugenichafer Nov 21, 2023
742efb2
Translated using Weblate (Catalan)
eugenichafer Nov 21, 2023
cc038b0
Merge PR #2659 into 14.0
OCA-git-bot Nov 23, 2023
d515170
[BOT] post-merge updates
OCA-git-bot Nov 23, 2023
1c9471f
Translated using Weblate (Italian)
mymage Nov 27, 2023
688481b
Translated using Weblate (Italian)
mymage Nov 27, 2023
2e20402
Translated using Weblate (Italian)
mymage Nov 27, 2023
9d7c147
Translated using Weblate (Italian)
mymage Nov 27, 2023
795ef06
Translated using Weblate (Italian)
mymage Nov 27, 2023
119c67e
Add web_fix_modules_load
simahawk Oct 4, 2022
6da6fe1
Merge PR #2312 into 14.0
OCA-git-bot Nov 27, 2023
14341c5
[UPD] Update web_fix_modules_load.pot
Nov 27, 2023
f0c313c
[BOT] post-merge updates
OCA-git-bot Nov 27, 2023
d089d6a
Translated using Weblate (Italian)
mymage Dec 6, 2023
d9c56b1
[IMP] web_field_required_invisible_manager: consider rel. fields with…
ilyasProgrammer Dec 11, 2023
ed1ac14
Merge PR #2689 into 14.0
OCA-git-bot Dec 12, 2023
e54255e
[BOT] post-merge updates
OCA-git-bot Dec 12, 2023
d133a88
[IMP] web_field_required_invisible_manager: added menus and views
ilyasProgrammer Dec 19, 2023
e550982
Merge PR #2699 into 14.0
OCA-git-bot Dec 21, 2023
cd6cf0e
[UPD] Update web_field_required_invisible_manager.pot
Dec 21, 2023
0f71976
[BOT] post-merge updates
OCA-git-bot Dec 21, 2023
4c337c3
Update translation files
weblate Dec 21, 2023
f63c4ff
[ADD] web_tooltip_field
cuongnmtm Mar 3, 2023
fc63411
Translated using Weblate (Italian)
francesco-ooops Dec 22, 2023
99940c6
[ADD] web_assets_warmup
jbaudoux Sep 15, 2023
12ff724
[IMP] web_assets_warmup: Add database lock in post_load_hook
mt-software-de Oct 4, 2023
79d66cd
Merge PR #2614 into 14.0
OCA-git-bot Jan 12, 2024
4f77a2d
[UPD] Update web_assets_warmup.pot
Jan 12, 2024
f10d729
[BOT] post-merge updates
OCA-git-bot Jan 12, 2024
1fba800
[FIX] web_field_required_invisible_manager: decode only bytes
ilyasProgrammer Jan 22, 2024
edfb614
Merge PR #2728 into 14.0
OCA-git-bot Jan 23, 2024
880be42
[BOT] post-merge updates
OCA-git-bot Jan 23, 2024
3917886
[14.0][ADD] New module web_custom_modifier
abenzbiria Dec 29, 2023
0d3f420
[IMP] web_field_required_invisible_manager: compatibility with tier v…
ilyasProgrammer Feb 6, 2024
8fb0101
Merge PR #2739 into 14.0
OCA-git-bot Feb 12, 2024
f82791a
[UPD] Update web_field_required_invisible_manager.pot
Feb 12, 2024
69211f0
[BOT] post-merge updates
OCA-git-bot Feb 12, 2024
5377fca
Translated using Weblate (Italian)
mymage Feb 12, 2024
b2cb505
Translated using Weblate (Italian)
mymage Feb 12, 2024
30bb395
Update translation files
weblate Feb 12, 2024
59cce05
Translated using Weblate (Italian)
francesco-ooops Feb 13, 2024
2a5e514
[IMP] web_notify: allow passing custom parameters to notifications
SilvioC2C Feb 16, 2024
fa63850
Merge PR #2749 into 14.0
OCA-git-bot Feb 19, 2024
5487dcc
[BOT] post-merge updates
OCA-git-bot Feb 19, 2024
7521eb4
[REM] Delete pandoc-3.1.11.1-1-amd64.deb
abenzbiria Feb 19, 2024
0175cae
Merge PR #2707 into 14.0
OCA-git-bot Feb 28, 2024
0fc4b79
[UPD] Update web_custom_modifier.pot
Feb 28, 2024
115ca70
[BOT] post-merge updates
OCA-git-bot Feb 28, 2024
975600b
Added translation using Weblate (Italian)
mymage Feb 29, 2024
f3fed5f
Translated using Weblate (Italian)
mymage Feb 29, 2024
d872bb4
Merge PR #2426 into 14.0
OCA-git-bot Mar 9, 2024
5d593df
[UPD] Update web_tooltip_field.pot
Mar 9, 2024
86175e8
[BOT] post-merge updates
OCA-git-bot Mar 9, 2024
94deaa9
Merge PR #2362 into 14.0
OCA-git-bot Apr 15, 2024
30eeda6
[UPD] Update support_branding.pot
Apr 15, 2024
734f878
[BOT] post-merge updates
OCA-git-bot Apr 15, 2024
75c2b17
Update translation files
weblate Apr 15, 2024
9a1e95b
Added translation using Weblate (French (France) (fr_FR))
May 14, 2024
d0d552b
Merge PR #1855 into 14.0
OCA-git-bot May 18, 2024
f4af5af
[UPD] Update web_pivot_hide_total.pot
May 18, 2024
ce3f5be
[BOT] post-merge updates
OCA-git-bot May 18, 2024
d74a06c
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
391dd74
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
8a23444
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
ecdc3c2
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
f90f56f
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
56a0484
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
546a550
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
8eb848c
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
0ee8564
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
968f9d4
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
6080ab6
Translated using Weblate (Portuguese (Brazil))
May 20, 2024
ce93191
Added translation using Weblate (French)
May 21, 2024
4f9b960
Translated using Weblate (French)
May 21, 2024
bfcaa0a
[IMP] web_timeline: allign to top instead of bottom
ppakpahan May 22, 2024
662e122
[ADD] web_notify_upgrade
paradoxxxzero Jun 28, 2024
9b2866f
Merge PR #2865 into 14.0
OCA-git-bot Jul 4, 2024
2be9f0e
[UPD] Update web_notify_upgrade.pot
Jul 4, 2024
0a9bf8a
[BOT] post-merge updates
OCA-git-bot Jul 4, 2024
20d376d
Merge PR #2831 into 14.0
OCA-git-bot Jul 8, 2024
76fb5aa
[BOT] post-merge updates
OCA-git-bot Jul 8, 2024
f4c182c
[ADD] web_select_all_companies
santostelmo Feb 13, 2023
22c3964
[FIX] web_select_all_companies: Title and french translation
santostelmo Jun 16, 2023
4396e43
[15.0][MIG] web_select_all_companies: Migration to 15.0
BT-mrobles Oct 5, 2023
f19297e
[UPD] Update web_select_all_companies.pot
Mar 9, 2024
6a65567
[BOT] post-merge updates
OCA-git-bot Mar 9, 2024
a29b090
Update translation files
weblate Mar 9, 2024
33313f4
[MIG] web_select_all_companies: Backporting from 15.0 to 14.0
ajaniszewska-dev Sep 27, 2024
33bfa51
Merge PR #2938 into 14.0
OCA-git-bot Oct 24, 2024
40a70b9
[UPD] Update web_select_all_companies.pot
Oct 24, 2024
6bf7534
[BOT] post-merge updates
OCA-git-bot Oct 24, 2024
fe7e8fa
[FIX] web_edit_user_filter: Modified search facet
anusriNPS Jun 18, 2024
a8161c2
Merge PR #2854 into 14.0
OCA-git-bot Oct 24, 2024
902d3f8
[BOT] post-merge updates
OCA-git-bot Oct 24, 2024
03d6c07
Added translation using Weblate (Italian)
mymage Oct 28, 2024
9f64e31
Added translation using Weblate (Italian)
mymage Oct 28, 2024
eba58b3
Added translation using Weblate (Italian)
mymage Oct 28, 2024
4849f0f
Added translation using Weblate (Italian)
mymage Oct 28, 2024
1803539
Added translation using Weblate (Italian)
mymage Oct 28, 2024
e89b2b4
Added translation using Weblate (Italian)
mymage Oct 28, 2024
a5584c8
Added translation using Weblate (Italian)
mymage Oct 28, 2024
f91f299
Added translation using Weblate (Italian)
mymage Oct 28, 2024
3d7e79d
Added translation using Weblate (Italian)
mymage Oct 28, 2024
d530f6d
Added translation using Weblate (Italian)
mymage Oct 28, 2024
ba482fe
Added translation using Weblate (Italian)
mymage Oct 28, 2024
8b56548
Added translation using Weblate (Italian)
mymage Oct 28, 2024
9254516
Added translation using Weblate (Italian)
mymage Oct 28, 2024
b84386d
Added translation using Weblate (Italian)
mymage Oct 28, 2024
c2c7658
Added translation using Weblate (Italian)
mymage Oct 28, 2024
0319b7b
Added translation using Weblate (Italian)
mymage Oct 28, 2024
bb0add6
Added translation using Weblate (Italian)
mymage Oct 28, 2024
324e3b1
Added translation using Weblate (Italian)
mymage Oct 28, 2024
b6417c0
Added translation using Weblate (Italian)
mymage Oct 28, 2024
fe7df48
Added translation using Weblate (Italian)
mymage Oct 28, 2024
82ba06f
Added translation using Weblate (Italian)
mymage Oct 28, 2024
c5dd001
Added translation using Weblate (Italian)
mymage Oct 30, 2024
0749978
Added translation using Weblate (Italian)
mymage Oct 30, 2024
1140178
Added translation using Weblate (Italian)
mymage Oct 30, 2024
41495f0
Added translation using Weblate (Italian)
mymage Oct 30, 2024
24fe9b1
Added translation using Weblate (Italian)
mymage Oct 30, 2024
5df5480
Added translation using Weblate (Italian)
mymage Oct 30, 2024
baffded
Added translation using Weblate (Italian)
mymage Oct 30, 2024
882f63d
Added translation using Weblate (Italian)
mymage Oct 30, 2024
cb58b72
Added translation using Weblate (Italian)
mymage Oct 30, 2024
414a61e
Added translation using Weblate (Italian)
mymage Nov 18, 2024
21f2ffd
Added translation using Weblate (Italian)
mymage Nov 28, 2024
dc4053b
Added translation using Weblate (Italian)
mymage Nov 28, 2024
8bb00ed
Added translation using Weblate (Italian)
mymage Nov 28, 2024
5558db2
Added translation using Weblate (Italian)
mymage Nov 28, 2024
7409dd5
Added translation using Weblate (Italian)
mymage Nov 28, 2024
eb2a6cf
Added translation using Weblate (Italian)
mymage Nov 28, 2024
5a0b999
Added translation using Weblate (Italian)
mymage Nov 28, 2024
cfb8eac
Added translation using Weblate (Italian)
mymage Nov 28, 2024
8dd5a2c
Added translation using Weblate (Italian)
mymage Nov 29, 2024
9735077
Added translation using Weblate (Italian)
mymage Nov 29, 2024
a0af7de
Added translation using Weblate (Italian)
mymage Nov 29, 2024
123e6a8
Added translation using Weblate (Italian)
mymage Nov 29, 2024
23d9e0f
Added translation using Weblate (Italian)
mymage Nov 29, 2024
faea442
Added translation using Weblate (Italian)
mymage Nov 29, 2024
1d9f803
Added translation using Weblate (Italian)
mymage Nov 29, 2024
2a66737
Added translation using Weblate (Italian)
mymage Nov 29, 2024
ba08cb2
[IMP] web_m2x_options: use the correct context in search function
renda-dev Dec 13, 2024
fb9ba95
Merge PR #3018 into 14.0
OCA-git-bot Dec 16, 2024
de7a738
[BOT] post-merge updates
OCA-git-bot Dec 16, 2024
9aa4c75
Translated using Weblate (Italian)
mymage Jan 16, 2025
6a4d424
Translated using Weblate (Italian)
mymage Jan 16, 2025
048b899
Translated using Weblate (Italian)
mymage Jan 16, 2025
ed0a511
Translated using Weblate (Italian)
mymage Jan 16, 2025
996d38b
Translated using Weblate (Italian)
mymage Jan 16, 2025
0b4162c
Translated using Weblate (Italian)
mymage Jan 16, 2025
6033737
Translated using Weblate (Italian)
mymage Jan 16, 2025
05ce46b
Translated using Weblate (Italian)
mymage Jan 16, 2025
f479f85
Translated using Weblate (Italian)
mymage Jan 16, 2025
cc75710
Translated using Weblate (Italian)
mymage Jan 16, 2025
79aeae4
Translated using Weblate (Italian)
mymage Jan 16, 2025
d631e99
Translated using Weblate (Italian)
mymage Jan 16, 2025
0ba8a94
Translated using Weblate (Italian)
mymage Jan 16, 2025
cb8eda2
Translated using Weblate (Italian)
mymage Jan 16, 2025
427c3dd
Translated using Weblate (Italian)
mymage Jan 20, 2025
4c420ee
Translated using Weblate (Italian)
mymage Jan 20, 2025
0ca17f1
Translated using Weblate (Italian)
mymage Jan 20, 2025
20ef87e
Translated using Weblate (Italian)
mymage Jan 20, 2025
67912d0
Translated using Weblate (Italian)
mymage Jan 20, 2025
cf66901
Translated using Weblate (Italian)
mymage Jan 20, 2025
15c3521
Translated using Weblate (Italian)
mymage Jan 20, 2025
7d0366c
Translated using Weblate (Italian)
mymage Jan 20, 2025
cb928dd
Translated using Weblate (Italian)
mymage Jan 20, 2025
864ffdf
Translated using Weblate (Italian)
mymage Jan 20, 2025
880fb73
Translated using Weblate (Italian)
mymage Jan 20, 2025
4fdd8ee
[IMP] web_m2x_options: add 'ignore_m2x_options' option
Tardo Jan 23, 2025
84f06f7
Merge PR #3067 into 14.0
OCA-git-bot Feb 6, 2025
d1c0da4
[BOT] post-merge updates
OCA-git-bot Feb 6, 2025
d9bd3d5
[IMP] update dotfiles
OCA-git-bot Feb 9, 2025
7be25dc
[IMP] web_tree_many2one_clickable: improved visualization
SylweKra Jan 28, 2025
b4e41e3
Merge PR #3070 into 14.0
OCA-git-bot Feb 18, 2025
526845d
[BOT] post-merge updates
OCA-git-bot Feb 18, 2025
60eff60
Merge PR #2169 into 14.0
OCA-git-bot Mar 2, 2025
f2cf021
[UPD] Update web_widget_one2many_tree_line_duplicate.pot
Mar 2, 2025
5940c12
[BOT] post-merge updates
OCA-git-bot Mar 2, 2025
31da366
[FIX] web_ir_actions_act_multi: Uninstallation Issue
carlos-lopez-tecnativa Mar 11, 2025
a07b872
Merge PR #3119 into 14.0
OCA-git-bot Mar 11, 2025
a8a6ae2
[UPD] Update web_ir_actions_act_multi.pot
Mar 11, 2025
502e11b
[BOT] post-merge updates
OCA-git-bot Mar 11, 2025
4453a9b
Update translation files
weblate Mar 11, 2025
501798e
Translated using Weblate (Italian)
mymage Mar 14, 2025
38a39f5
Added translation using Weblate (Italian)
mymage Apr 2, 2025
453154c
[FIX] web_m2x_options_manager: writing mode when create/edit wizard i…
Chionne27 Apr 9, 2025
d367369
Merge PR #3149 into 14.0
OCA-git-bot Apr 14, 2025
5ed882a
[BOT] post-merge updates
OCA-git-bot Apr 14, 2025
7ac91cb
Translated using Weblate (Italian)
mymage May 12, 2025
3eae48a
Added translation using Weblate (French (Canada))
May 15, 2025
1a48cc9
Translated using Weblate (French (Canada))
May 15, 2025
0ef9904
Added translation using Weblate (French)
May 15, 2025
c9271fd
Added translation using Weblate (Danish (da_DK))
May 15, 2025
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
  •  
  •  
  •  
29 changes: 21 additions & 8 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.3.6
_commit: v1.29
_src_path: gh:oca/oca-addons-repo-template
ci: Travis
dependency_installation_mode: PIP
ci: GitHub
convert_readme_fragments_to_markdown: false
enable_checklog_odoo: false
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: Both
odoo_version: 14.0
rebel_module_groups: []
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups:
- web_widget_model_viewer
repo_description: "This project aims to deal with modules related to the webclient\
\ of Odoo. You'll find modules that:\n\n - Add facilities to the UI\n - Add widgets\n\
\ - Ease the import/export features\n - Generally add clientside functionality"
\ of Odoo. You'll find modules that:\n\n - Add facilities to the UI\n - Add widgets\n\
\ - Ease the import/export features\n - Generally add clientside functionality"
repo_name: Web addons for Odoo
repo_slug: web
travis_apt_packages: []
travis_apt_sources: []
repo_website: https://github.com/OCA/web
use_pyproject_toml: false
use_ruff: false

3 changes: 2 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ env:

# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
parserOptions:
ecmaVersion: 2017
ecmaVersion: 2019

overrides:
- files:
Expand All @@ -22,6 +22,7 @@ globals:
odoo: readonly
openerp: readonly
owl: readonly
luxon: readonly

# Styling is handled by Prettier, so we only need to enable AST rules;
# see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890
Expand Down
46 changes: 36 additions & 10 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,45 @@ name: pre-commit

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

jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
# The pylint-odoo version we use here does not support python 3.10
# https://github.com/OCA/oca-addons-repo-template/issues/80
# We also need to pin to an older version of python for older odoo versions
# where we are not using black > 21. Older black versions won't work with
# Python 3.9.8+, and we can't bump black without reformatting.
python-version: "3.9.7"
- uses: pre-commit/action@v2.0.0
python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v4
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
env:
# Consider valid a PR that changes README fragments but doesn't
# change the README.rst file itself. It's not really a problem
# because the bot will update it anyway after merge. This way, we
# lower the barrier for functional contributors that want to fix the
# readme fragments, while still letting developers get README
# auto-generated (which also helps functionals when using runboat).
# DOCS https://pre-commit.com/#temporarily-disabling-hooks
SKIP: oca-gen-addon-readme
- 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
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Stale PRs and issues policy
uses: actions/stale@v4
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# General settings.
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
# * Issues that are pending more information
# * Except Issues marked as "no stale"
- name: Needs more information stale issues policy
uses: actions/stale@v4
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/stale.yml.rej

This file was deleted.

83 changes: 83 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: tests

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

jobs:
unreleased-deps:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- uses: actions/checkout@v4
- 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-22.04
container: ${{ matrix.container }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
include: "web_widget_model_viewer"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
include: "web_widget_model_viewer"
name: test with OCB
makepot: "true"
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
exclude: "web_widget_model_viewer"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
exclude: "web_widget_model_viewer"
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
env:
INCLUDE: "${{ matrix.include }}"
EXCLUDE: "${{ matrix.exclude }}"
steps:
- uses: actions/checkout@v4
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@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- 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' }}
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __pycache__/
*.py[cod]
/.venv
/.pytest_cache
/.ruff_cache

# C extensions
*.so
Expand All @@ -15,7 +16,6 @@ build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
Expand All @@ -25,6 +25,19 @@ var/
*.egg
*.eggs

# Windows installers
*.msi

# Debian packages
*.deb

# Redhat packages
*.rpm

# MacOS packages
*.dmg
*.pkg

# Installer logs
pip-log.txt
pip-delete-this-directory.txt
Expand Down
2 changes: 2 additions & 0 deletions .oca_hooks.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[MESSAGES_CONTROL]
disable=xml-deprecated-data-node,xml-deprecated-tree-attribute
Loading
0