Skip to content

Commit

Permalink
[IMP] account_financial_risk: Track credit limit date as amount
Browse files Browse the repository at this point in the history
  • Loading branch information
SirAionTech committed Sep 27, 2024
1 parent ca54ee4 commit 2376dad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions account_financial_risk/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 2376dad

Please sign in to comment.