odoo/o-spreadsheet#3476
Created by fw-bot
- label
- odoo:saas-16.1-16.0-fix-format-larg-numer-chaining-adrm-1I6l-fw
- head
- be54643891d8e652f845c5ab266cc1867766f862
- target
- saas-16.1 (inactive)
- merged
- 4 months ago by BI, Adrien Minne (adrm)
- forward-port of
- odoo/o-spreadsheet#3358
[FW][FIX] format: fix chaining of FORMAT.LARGE.NUMBER
## Description
Chaining FORMAT.LARGE.NUMBER formulas was adding the postfix multiple times. This commit fixes the issue by adding a check to see if the postfix is already present.
Task: : [3633947](https://www.odoo.com/web#id=3633947&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 (\_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: odoo/o-spreadsheet#3358