3
0
Fork 0

Merge PR #2911 into 17.0

Signed-off-by pedrobaeza
17.0
OCA-git-bot 2024-08-08 09:45:35 +00:00
commit f554a8039d
5 changed files with 13 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.21.1
_commit: v1.24
_src_path: gh:oca/oca-addons-repo-template
additional_ruff_rules: []
ci: GitHub

View File

@ -4,7 +4,7 @@ env:
# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
parserOptions:
ecmaVersion: 2019
ecmaVersion: 2022
overrides:
- files:

9
.gitignore vendored
View File

@ -25,6 +25,15 @@ var/
*.egg
*.eggs
# Debian packages
*.deb
# Redhat packages
*.rpm
# MacOS packages
*.dmg
# Installer logs
pip-log.txt
pip-delete-this-directory.txt

View File

@ -43,7 +43,7 @@ repos:
hooks:
- id: whool-init
- repo: https://github.com/oca/maintainer-tools
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
rev: d5fab7ee87fceee858a3d01048c78a548974d935
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons

View File

@ -31,7 +31,7 @@ patch(WebClient.prototype, {
["is_redirect_home"]
);
this.env.services.user.updateContext({
is_redirect_to_home: is_redirect_home[0].is_redirect_home,
is_redirect_to_home: is_redirect_home[0]?.is_redirect_home,
});
});
this.redirect = false;