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 Aug 1, 2024
1 parent b8867e1 commit cf45b8d
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 cf45b8d

Please sign in to comment.