odoo/o-spreadsheet#1567
Created by fw-bot
- label
- odoo:saas-15.1-master-and-function-traceback-owl-adrm-gZvV-fw
- head
- cd6c16d0f6b46b31599ce64544c3e104027c02f1
- target
- saas-15.1 (inactive)
- merged
- 2 years ago by BI, Adrien Minne (adrm)
- forward-port of
- odoo/o-spreadsheet#1559
[FW][FIX] function: logical function "AND" traceback
The logical function `AND` caused a traceback when owl was in debug mode.
This is because the two arguments of `AND` where both called
`logical_expression1`. But since their name was used as a `t-key` of a
`t-foreach`, it made owl crash because of the duplicated key.
Odoo task ID : [2937632](https://www.odoo.com/web#id=2937632&action=333&active_id=2328&model=project.task&view_type=form&cids=1&menu_id=4720)
## 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: odoo/o-spreadsheet#1565
Forward-Port-Of: odoo/o-spreadsheet#1559