From e9895ab0ba8166b9cf813f7664df9cf77bab138c Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Fri, 27 Dec 2024 11:57:45 +0100 Subject: [PATCH] [IMP] sale_advance_payment: residual field should be monetary --- sale_advance_payment/models/sale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sale_advance_payment/models/sale.py b/sale_advance_payment/models/sale.py index 8c221514939..8d26366d9e0 100644 --- a/sale_advance_payment/models/sale.py +++ b/sale_advance_payment/models/sale.py @@ -13,7 +13,7 @@ class SaleOrder(models.Model): inverse_name="sale_id", string="Pay sale advanced", ) - amount_residual = fields.Float( + amount_residual = fields.Monetary( string="Residual amount", compute="_compute_advance_payment", store=True,