Merge PR #2911 into 17.0

Signed-off-by pedrobaeza
pull/2914/head
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 # 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 _src_path: gh:oca/oca-addons-repo-template
additional_ruff_rules: [] additional_ruff_rules: []
ci: GitHub ci: GitHub

View File

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

9
.gitignore vendored
View File

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

View File

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

View File

@ -31,7 +31,7 @@ patch(WebClient.prototype, {
["is_redirect_home"] ["is_redirect_home"]
); );
this.env.services.user.updateContext({ 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; this.redirect = false;