odoo/o-spreadsheet#8395
Created by fw-bot
Merged
at 850fd4bfe29a730fb85ca25ec2c3dff5c335c366
Statuses:
- label
- odoo:master-saas-19.1-fix-format-no-number-adrm-516757-fw
- head
- 9f1197c12051b955bd6f5ff2524abecef4e1d1e7
- merged
- 1 week ago by BI, Adrien Minne (adrm)
| odoo/o-spreadsheet | |
|---|---|
| saas-19.1 | #8203 |
| saas-19.2 | #8391 |
| master | #8395 |
[FIX] format: number format with no digit
Description
Since e8b38a a format with no date part and no digit is (correctly) detected as a number format. But the implementation of a format with no digit applied to a non-zero number was not correct. 123 formatted with [$str] was formatted as str123 instead of str.
Task: 6068824
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: #8203