From a1236ecd1ca14264b6874f9aa354986d662ea449 Mon Sep 17 00:00:00 2001 From: Trinh Anh Ngoc Date: Sat, 5 Nov 2022 13:31:50 +0700 Subject: [PATCH] Update stubs --- odoo-stubs/tools/float_utils.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/odoo-stubs/tools/float_utils.pyi b/odoo-stubs/tools/float_utils.pyi index c4cb251..38dbba7 100644 --- a/odoo-stubs/tools/float_utils.pyi +++ b/odoo-stubs/tools/float_utils.pyi @@ -7,3 +7,4 @@ def float_repr(value: float, precision_digits: int) -> str: ... _float_repr = float_repr def float_split_str(value: float, precision_digits: int) -> tuple[str, str]: ... def float_split(value: float, precision_digits: int) -> tuple[int, int]: ... +def json_float_round(value: float, precision_digits: int, rounding_method: str = ...) -> float: ...