odoo/o-spreadsheet#3617
Created by BI, Alexis Lacroix (laa)
- label
- odoo:saas-16.1-fix-autofill-when-number-and-formula-laa
- head
- 689c6bd9df3a2aa6cd7b1dd5d0e9d4f341ec088b
- target
- saas-16.1 (inactive)
- merged
- 3 months ago by BI, Lucas Lefèvre (lul)
- forward-ports
- odoo/o-spreadsheet#3779 targeting master
- odoo/o-spreadsheet#3778 targeting saas-17.1
- odoo/o-spreadsheet#3777 targeting 17.0
- odoo/o-spreadsheet#3775 targeting saas-16.4
- odoo/o-spreadsheet#3774 targeting saas-16.3
- odoo/o-spreadsheet#3741 targeting saas-16.2
[FIX] autofill: allow to autofill a mix of number values and formulas
## Description:
The previous code did not allow autofilling a selection with numbers coming from both simple inputs and formulas.
This commit fix that
Task: : [3700733](https://www.odoo.com/web#id=3700733&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