Skip to content
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

[FW][FIX] Top_bar: composer helper menu close #2238

Conversation

fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented Mar 16, 2023

Description:

Fixed composer helper menu not being closed on clicking topbar menu, resulting to refocus the composer.

Odoo task ID : 3076218

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_lt("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

Forward-Port-Of: #2111

@robodoo
Copy link
Collaborator

robodoo commented Mar 16, 2023

@fw-bot
Copy link
Collaborator Author

fw-bot commented Mar 16, 2023

This PR targets saas-16.2 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@fw-bot
Copy link
Collaborator Author

fw-bot commented Mar 16, 2023

@aath-odoo @rrahir ci/runbot failed on this forward-port PR

The composer would not close its assistant when it lost focus, which was
confusing, specifically when opening a topbar menu for instance.
A proper fix f behaviour would require some refactoring of the edition
plugin so in stable, we propose to close the composer when opening a
topbar menu.

Task: 3076218
X-original-commit: 07aa9f7
@aath-odoo aath-odoo force-pushed the saas-16.2-16.0-fix-composer-helper-menu-onblur-aath-Dq0L-fw branch from 09d870a to 506be5c Compare March 16, 2023 13:14
@fw-bot
Copy link
Collaborator Author

fw-bot commented Mar 16, 2023

@aath-odoo @rrahir this PR was modified / updated and has become a normal PR. It should be merged the normal way (via @robodoo)

@rrahir
Copy link
Collaborator

rrahir commented Mar 21, 2023

@robodoo r+

@robodoo robodoo closed this in 711c4ed Mar 21, 2023
@robodoo robodoo temporarily deployed to merge March 21, 2023 14:25 Inactive
@fw-bot fw-bot deleted the saas-16.2-16.0-fix-composer-helper-menu-onblur-aath-Dq0L-fw branch April 4, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants