[FIX] spreadsheet_edition: autofill references in pivot functions
See enterprise PR closes odoo/odoo#135024 Task: 3458637 X-original-commit: 8bfc188ca4fb9cd8d1e351c0e6d4adbf195405fb Related: odoo/enterprise#47224 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
This commit is contained in:
@@ -94,3 +94,10 @@ export function isEmpty(item) {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
export function containsReferences(cell) {
|
||||
if (!cell.isFormula) {
|
||||
return false;
|
||||
}
|
||||
return cell.compiledFormula.tokens.some((token) => token.type === "REFERENCE");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user