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

[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