odoo/o-spreadsheet#6275
Created by fw-bot
Merged
at 06542f491005b9a4a9e9f263b0a1acfe34a21d5b
Statuses:
- label
- odoo:master-saas-18.2-remove-ranges-in-dv-mera-433248-fw
- head
- f98ae8e73f2a4c2d687652429e4d5df5de6bf52f
- merged
- 8 months ago by
| odoo/o-spreadsheet | |
|---|---|
| saas-18.2 | #5932 |
| saas-18.3 | #6274 |
| saas-18.4 | |
| 19.0 | |
| master | #6275 |
[FW][FIX] selection_input: fix range deletion
Prior to this commit, clicking the trash icon next to a range in DV/CF did not remove the range due to a missing event handler. This bug was introduced by this commit: 011e2237a56f0fa082d066a2aaea717b32d4c0e5
This commit ensures that the deletion action is correctly triggered, allowing a proper management of CF/DV rules
Steps to reproduce:
- Create a DV/CF rule
- Add a new range (valid or invalid)
- Click on the trash icon next to the range
- Nothing happens
Task: 4589387
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: #5932