Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[account_credit_control](account_credit_control/) | 17.0.2.2.3 | | Account Credit Control
[account_credit_control](account_credit_control/) | 17.0.2.2.4 | | Account Credit Control
[account_credit_control_dunning_fees](account_credit_control_dunning_fees/) | 17.0.1.0.0 | | Credit control dunning fees
[account_financial_risk](account_financial_risk/) | 17.0.1.3.0 | <a href='https://github.com/carlosdauden'><img src='https://github.com/carlosdauden.png' width='32' height='32' style='border-radius:50%;' alt='carlosdauden'/></a> | Manage customer risk
[account_invoice_overdue_warn](account_invoice_overdue_warn/) | 17.0.1.0.0 | <a href='https://github.com/alexis-via'><img src='https://github.com/alexis-via.png' width='32' height='32' style='border-radius:50%;' alt='alexis-via'/></a> | Show warning on customer form view if it has overdue invoices
Expand Down
2 changes: 1 addition & 1 deletion account_credit_control/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Account Credit Control
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:73489a65dd4280a87c56da8dc472e92878e6b0a433179c93dd33bef1333b29e4
!! source digest: sha256:138167e33f2dae64597451fce61e909ecb07806df400ff940021b99640f9c6b1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion account_credit_control/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Account Credit Control",
"version": "17.0.2.2.3",
"version": "17.0.2.2.4",
"author": "Camptocamp,"
"Odoo Community Association (OCA),"
"Okia,"
Expand Down
2 changes: 1 addition & 1 deletion account_credit_control/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Account Credit Control</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:73489a65dd4280a87c56da8dc472e92878e6b0a433179c93dd33bef1333b29e4
!! source digest: sha256:138167e33f2dae64597451fce61e909ecb07806df400ff940021b99640f9c6b1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/credit-control/tree/17.0/account_credit_control"><img alt="OCA/credit-control" src="https://img.shields.io/badge/github-OCA%2Fcredit--control-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/credit-control-17-0/credit-control-17-0-account_credit_control"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/credit-control&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>Account Credit Control module is a part of Financial Tools used in
Expand Down
3 changes: 3 additions & 0 deletions account_credit_control/tests/test_credit_control_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from datetime import datetime

from dateutil import relativedelta
from freezegun import freeze_time

from odoo import fields
from odoo.exceptions import AccessError, UserError
Expand All @@ -19,6 +20,7 @@
@tagged("post_install", "-at_install")
class TestCreditControlRun(AccountTestInvoicingCommon):
@classmethod
@freeze_time("2025-04-24")
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT))
Expand Down Expand Up @@ -136,6 +138,7 @@ def test_generate_credit_lines(self):
regex_result = re.match(report_regex, control_run.report)
self.assertIsNotNone(regex_result)

@freeze_time("2025-04-24")
def test_generate_credit_lines_with_max_level(self):
"""
Test the method generate_credit_lines with max level group.
Expand Down