odoo / o-spreadsheet

Other
193 stars 44 forks source link

[FW][FIX] evaluation: add a getter to evaluate value and format #4800

Closed fw-bot closed 2 months ago

fw-bot commented 2 months ago

Description:

This commit introduces a new getter evaluateFormulaResult which is equivalent to the existing evaluateFormula but returns the value and the format instead of just the value.

Task: : 4102210

review checklist

Forward-Port-Of: odoo/o-spreadsheet#4785

robodoo commented 2 months ago

Pull request status dashboard

fw-bot commented 2 months ago

@LucasLefevre @rrahir cherrypicking of pull request odoo/o-spreadsheet#4785 failed.

stdout:

Auto-merging src/plugins/ui_core_views/cell_evaluation/evaluation_plugin.ts
CONFLICT (content): Merge conflict in src/plugins/ui_core_views/cell_evaluation/evaluation_plugin.ts
Auto-merging src/plugins/ui_core_views/cell_evaluation/evaluator.ts
CONFLICT (content): Merge conflict in src/plugins/ui_core_views/cell_evaluation/evaluator.ts

Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).

In the former case, you may want to edit this PR message as well.

:warning: after resolving this conflict, you will need to merge it via @robodoo.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port