Skip to content

Conversation

@fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented Nov 18, 2025

Currently, we store the initial props with which the sidepanel was open. This specifically occurs for charts sidepanel where we want the stat to update when we select another chart BUT we also want it to stay open when clicking the grid (hence - no active chart left).

However the moment we click on another chart than the first one, then it is supposed to become the new "default" chart.

How to reproduce:

  • open the sidepanel of the first chart
  • select the second chart
  • delete the second chart

=> the sidepanel is still open and falls back on the first chart instead of closing.

Task: 5059484

Description:

description of this task, what is implemented and why it is implemented that way.

Task: TASK_ID

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 (_t("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: #7184

@robodoo
Copy link
Collaborator

robodoo commented Nov 18, 2025

Pull request status dashboard

@fw-bot
Copy link
Collaborator Author

fw-bot commented Nov 18, 2025

This PR targets saas-18.3 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 Nov 18, 2025

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

Currently, we store the initial props which the sidepanel was open with.
This specifically occurs for charts sidepanel where we want the state to
update when we select another chart BUT we also want it to stay open
when clicking the grid (hence - no active chart left).

However the moment we click on another chart than the first one, then it
is supposed to become the new "default" chart.

How to reproduce:
- open the sidepanel of the first chart
- select the second chart
- delete the second chart

=> the sidepanel is still open and falls back on the first chart instead
of closing.

Task: 5059484
X-original-commit: f76210a
@rrahir rrahir force-pushed the saas-18.3-18.0-close-side-panel-on-dup-chart-rar-478056-fw branch from 29e6449 to 1220032 Compare November 18, 2025 19:56
@fw-bot
Copy link
Collaborator Author

fw-bot commented Nov 18, 2025

@rrahir @VincentSchippefilt this PR has become a normal PR because head updated from 29e6449 to 1220032. It must be merged be forward-ported further.

@rrahir
Copy link
Collaborator

rrahir commented Nov 18, 2025

robodoo r+

robodoo pushed a commit that referenced this pull request Nov 18, 2025
Currently, we store the initial props which the sidepanel was open with.
This specifically occurs for charts sidepanel where we want the state to
update when we select another chart BUT we also want it to stay open
when clicking the grid (hence - no active chart left).

However the moment we click on another chart than the first one, then it
is supposed to become the new "default" chart.

How to reproduce:
- open the sidepanel of the first chart
- select the second chart
- delete the second chart

=> the sidepanel is still open and falls back on the first chart instead
of closing.

closes #7478

Task: 5059484
X-original-commit: f76210a
Signed-off-by: Vincent Schippefilt (vsc) <[email protected]>
Signed-off-by: Rémi Rahir (rar) <[email protected]>
@robodoo robodoo closed this Nov 18, 2025
@fw-bot fw-bot deleted the saas-18.3-18.0-close-side-panel-on-dup-chart-rar-478056-fw branch November 25, 2025 20:03
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.

3 participants