summaryrefslogtreecommitdiff
path: root/doc/reference/forms
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2018-10-11 15:12:48 +0200
committerGitHub <noreply@github.com>2018-10-11 15:12:48 +0200
commit42334f5b31d9a5b566ea82755a37e46e39fc2b31 (patch)
tree77bb67dffa634f9a25298157b6112169c13b86c8 /doc/reference/forms
parent5822d3cbdb19288271a2b36613c44a678fa14cc1 (diff)
parentb7cf456560dc4fd7c1217ba90f0b5609466ede50 (diff)
[FIX] web, web_settings_dashboard: several fixes
### [FIX] web_settings_dashboard: load a translation Before this commit, there was an issue when trying to load a translation from the 'Settings' application. - Go to 'Settings' - Click on 'Load a translation' > It redirects to 1st app (community) or (enterprise) This is not a big issue in enterprise, because the modal is that let the user load a translation is still prompted. This is however not the case in the community version. This issue is caused by 'Load a translation' being a `<a>` with `href='#'`. The purpose of the `href='#'` is to have the pointer cursor on mouse hover. However, when clicking a `<a>` with `href`, the browser changes the URL in the address bar with the content of the `href`, which for the value `'#'` is linked to the top of the main page. In community, this redirects to the 1st installed app (usually 'Apps' or 'Discuss'), whereas in enterprise it redirects to the home menu. This commit fixes this issue by preventing the default browser behaviour when clicking on "Load a translation", so that it does not change the URL in the address bar. ### [FIX] web_settings_dashboard: set up your company Before this commit, it was not possible to set up a company. This is caused by the clickable DOM element being a `<a>` with `href='#'`. This redirects to the 1st app in community (usually the 'Discuss' app), which prevents opening the form view to set up information about your company. This commit fixes the issue by preventing the browser to change the URL in the address bar when clicking on 'Set up'. ### [FIX] web_settings_dashboard: browse apps Before this commit, it was not possible to access apps from 'Browse apps' in the Settings menu when at least one app was installed. This is caused by the clickable DOM element being a `<a>` with `href='#'`. This redirects to the 1st app, usually the 'Discuss' app, which prevents opening the kanban view with apps. This commit fixes the issue by preventing the browser to change the URL in the address bar when clicking on 'Browse apps' from the 'Settings' application. ### [FIX] web: `self.menu.change_menu_section` is not a function Revision on https://github.com/odoo/odoo/commit/19eacf7d23c9413de4430a3422b5ed74b37ef242 The commit above changed the menu in community, so that it looks like enterprise. To do so, it copies the menu management from the enterprise repository to the community repository. Some code about the home menu has been removed, since it is replaced with the app menu in community. However, some functions have been removed by accident, such as `change_menu_section`. Closes #27436 closes odoo/odoo#27442
Diffstat (limited to 'doc/reference/forms')
0 files changed, 0 insertions, 0 deletions