From cf45b8d0b26eea587ad42f6d3b4d4ee37dc1158b Mon Sep 17 00:00:00 2001 From: Simone Rubino Date: Thu, 1 Aug 2024 12:42:03 +0200 Subject: [PATCH] [IMP] account_financial_risk: Track credit limit date as amount --- account_financial_risk/models/res_partner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/account_financial_risk/models/res_partner.py b/account_financial_risk/models/res_partner.py index a3b4c9fb9..1cc525e7c 100644 --- a/account_financial_risk/models/res_partner.py +++ b/account_financial_risk/models/res_partner.py @@ -1,4 +1,5 @@ # Copyright 2016-2021 Tecnativa - Carlos Dauden +# Copyright 2024 Simone Rubino - Aion Tech # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). from datetime import datetime @@ -157,6 +158,7 @@ class ResPartner(models.Model): store=True, readonly=False, string="Last Credit Limit Date", + tracking=True, ) risk_remaining_value = fields.Monetary( compute="_compute_risk_remaining",