Skip to content

Commit

Permalink
[FIX] charts: export formatTickValue helper
Browse files Browse the repository at this point in the history
Task Description

This commit exports the formatTickValue helper to be used for the
show value options in the Odoo Chart

Related Task/PR

OC PR: odoo/odoo#171553
OE PR: odoo/enterprise#65890

closes #4836

Task: 3953835
Signed-off-by: Rémi Rahir (rar) <[email protected]>
  • Loading branch information
anhe-odoo committed Sep 16, 2024
1 parent af04f6c commit 7c67e1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ import { isEvaluationError, toBoolean, toJsDate, toNumber, toString } from "./fu
import { FunctionRegistry, arg, functionRegistry } from "./functions/index";
import {
chartFontColor,
formatTickValue,
getChartAxisTitleRuntime,
getDefaultChartJsRuntime,
getFillingMode,
Expand Down Expand Up @@ -338,6 +339,7 @@ export const helpers = {
UNDO_REDO_PIVOT_COMMANDS,
createPivotFormula,
areDomainArgsFieldsValid,
formatTickValue,
};

export const links = {
Expand Down

0 comments on commit 7c67e1b

Please sign in to comment.