diff --git a/README.md b/README.md index c6f939884..ad5d330e9 100644 --- a/README.md +++ b/README.md @@ -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 | carlosdauden | Manage customer risk [account_invoice_overdue_warn](account_invoice_overdue_warn/) | 17.0.1.0.0 | alexis-via | Show warning on customer form view if it has overdue invoices diff --git a/account_credit_control/README.rst b/account_credit_control/README.rst index aa397bcd2..320d42b28 100644 --- a/account_credit_control/README.rst +++ b/account_credit_control/README.rst @@ -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 diff --git a/account_credit_control/__manifest__.py b/account_credit_control/__manifest__.py index 603b74c24..75551fb6b 100644 --- a/account_credit_control/__manifest__.py +++ b/account_credit_control/__manifest__.py @@ -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," diff --git a/account_credit_control/static/description/index.html b/account_credit_control/static/description/index.html index bc4bf75f3..3a260b47e 100644 --- a/account_credit_control/static/description/index.html +++ b/account_credit_control/static/description/index.html @@ -372,7 +372,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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/credit-control Translate me on Weblate Try me on Runboat

Account Credit Control module is a part of Financial Tools used in diff --git a/account_credit_control/tests/test_credit_control_run.py b/account_credit_control/tests/test_credit_control_run.py index fafdfee1f..c94ac367e 100644 --- a/account_credit_control/tests/test_credit_control_run.py +++ b/account_credit_control/tests/test_credit_control_run.py @@ -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 @@ -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)) @@ -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.