odoo-addon-account-loan 17.0.1.0.0.5__py3-none-any.whl → 17.0.1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of odoo-addon-account-loan might be problematic. Click here for more details.

@@ -7,7 +7,7 @@ Account Loan management
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:fae1f5805841bcbac809ea9548904a5098614ee325624645cec438bb6ec36a25
10
+ !! source digest: sha256:78f845e7c79f02ff4819e127d5acfcea95cb060ee430113947defd26ef63cf7c
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -34,13 +34,13 @@ check the pending amount to be paid and reduce the debt.
34
34
 
35
35
  It currently supports two kinds of debts:
36
36
 
37
- - | Loans: a standard debt with banks, that only creates account moves.
38
- | Loan types info:
39
- `APR <https://en.wikipedia.org/wiki/Annual_percentage_rate>`__,
40
- `EAR <https://en.wikipedia.org/wiki/Effective_interest_rate>`__,
41
- `Real Rate <https://en.wikipedia.org/wiki/Real_interest_rate>`__.
37
+ - | Loans: a standard debt with banks, that only creates account moves.
38
+ | Loan types info:
39
+ `APR <https://en.wikipedia.org/wiki/Annual_percentage_rate>`__,
40
+ `EAR <https://en.wikipedia.org/wiki/Effective_interest_rate>`__,
41
+ `Real Rate <https://en.wikipedia.org/wiki/Real_interest_rate>`__.
42
42
 
43
- - Leases: a debt with a bank where purchase invoices are necessary
43
+ - Leases: a debt with a bank where purchase invoices are necessary
44
44
 
45
45
  **Table of contents**
46
46
 
@@ -62,9 +62,9 @@ To use this module, you need to:
62
62
 
63
63
  On a posted loan you can:
64
64
 
65
- - Create moves or invoices (according to the configuration)
66
- - Modify rates when needed (only unposted lines will be modified)
67
- - Reduce or cancel the debt of a loan / lease
65
+ - Create moves or invoices (according to the configuration)
66
+ - Modify rates when needed (only unposted lines will be modified)
67
+ - Reduce or cancel the debt of a loan / lease
68
68
 
69
69
  |Try me on Runbot|
70
70
 
@@ -101,9 +101,9 @@ Authors
101
101
  Contributors
102
102
  ------------
103
103
 
104
- - Enric Tobella <etobella@creublanca.es>
105
- - Bhavesh Odedra <bodedra@opensourceintegrators.com>
106
- - Alberto Martín Cortada <alberto.martin@guadaltech.es>
104
+ - Enric Tobella <etobella@creublanca.es>
105
+ - Bhavesh Odedra <bodedra@opensourceintegrators.com>
106
+ - Alberto Martín Cortada <alberto.martin@guadaltech.es>
107
107
 
108
108
  Maintainers
109
109
  -----------
@@ -2,7 +2,7 @@
2
2
  # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3
3
  {
4
4
  "name": "Account Loan management",
5
- "version": "17.0.1.0.0",
5
+ "version": "17.0.1.0.1",
6
6
  "author": "Creu Blanca,Odoo Community Association (OCA)",
7
7
  "website": "https://github.com/OCA/account-financial-tools",
8
8
  "license": "AGPL-3",
@@ -367,7 +367,7 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:fae1f5805841bcbac809ea9548904a5098614ee325624645cec438bb6ec36a25
370
+ !! source digest: sha256:78f845e7c79f02ff4819e127d5acfcea95cb060ee430113947defd26ef63cf7c
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-tools/tree/17.0/account_loan"><img alt="OCA/account-financial-tools" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-tools-17-0/account-financial-tools-17-0-account_loan"><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/account-financial-tools&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>This module extends the functionality of accounting to support loans. It
@@ -4,6 +4,7 @@
4
4
  import logging
5
5
 
6
6
  from dateutil.relativedelta import relativedelta
7
+ from freezegun import freeze_time
7
8
 
8
9
  from odoo import fields
9
10
  from odoo.exceptions import UserError
@@ -106,6 +107,7 @@ class TestLoan(BaseCommon):
106
107
  self.assertEqual(line_end.principal_amount, 500000)
107
108
 
108
109
  @mute_logger("odoo.models.unlink")
110
+ @freeze_time("2025-01-01")
109
111
  def test_increase_amount_validation(self):
110
112
  amount = 10000
111
113
  periods = 24
@@ -153,6 +155,7 @@ class TestLoan(BaseCommon):
153
155
  ).create({"amount": -100, "date": line.date}).run()
154
156
 
155
157
  @mute_logger("odoo.models.unlink")
158
+ @freeze_time("2025-01-01")
156
159
  def test_pay_amount_validation(self):
157
160
  amount = 10000
158
161
  periods = 24
@@ -205,6 +208,7 @@ class TestLoan(BaseCommon):
205
208
  ).create({"amount": -100, "fees": 100, "date": line.date}).run()
206
209
 
207
210
  @mute_logger("odoo.models.unlink")
211
+ @freeze_time("2025-01-01")
208
212
  def test_increase_amount_loan(self):
209
213
  amount = 10000
210
214
  periods = 24
@@ -252,6 +256,7 @@ class TestLoan(BaseCommon):
252
256
  self.assertEqual(loan.pending_principal_amount, pending_principal_amount + 1000)
253
257
 
254
258
  @mute_logger("odoo.models.unlink")
259
+ @freeze_time("2025-01-01")
255
260
  def test_increase_amount_leasing(self):
256
261
  amount = 10000
257
262
  periods = 24
@@ -305,6 +310,7 @@ class TestLoan(BaseCommon):
305
310
  self.assertEqual(loan.pending_principal_amount, pending_principal_amount + 1000)
306
311
 
307
312
  @mute_logger("odoo.models.unlink")
313
+ @freeze_time("2025-01-01")
308
314
  def test_fixed_annuity_begin_loan(self):
309
315
  amount = 10000
310
316
  periods = 24
@@ -356,6 +362,7 @@ class TestLoan(BaseCommon):
356
362
  line.view_process_values()
357
363
 
358
364
  @mute_logger("odoo.models.unlink")
365
+ @freeze_time("2025-01-01")
359
366
  def test_fixed_annuity_loan(self):
360
367
  amount = 10000
361
368
  periods = 24
@@ -403,6 +410,7 @@ class TestLoan(BaseCommon):
403
410
  line.view_process_values()
404
411
 
405
412
  @mute_logger("odoo.models.unlink")
413
+ @freeze_time("2025-01-01")
406
414
  def test_fixed_principal_loan_leasing(self):
407
415
  amount = 24000
408
416
  periods = 24
@@ -508,6 +516,7 @@ class TestLoan(BaseCommon):
508
516
  line.view_process_values()
509
517
 
510
518
  @mute_logger("odoo.models.unlink")
519
+ @freeze_time("2025-01-01")
511
520
  def test_fixed_principal_loan_auto_post_leasing(self):
512
521
  amount = 24000
513
522
  periods = 24
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_loan
3
- Version: 17.0.1.0.0.5
3
+ Version: 17.0.1.0.1
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: numpy-financial<=1.0.0
6
6
  Requires-Dist: numpy>=1.15
@@ -24,7 +24,7 @@ Account Loan management
24
24
  !! This file is generated by oca-gen-addon-readme !!
25
25
  !! changes will be overwritten. !!
26
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
- !! source digest: sha256:fae1f5805841bcbac809ea9548904a5098614ee325624645cec438bb6ec36a25
27
+ !! source digest: sha256:78f845e7c79f02ff4819e127d5acfcea95cb060ee430113947defd26ef63cf7c
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -51,13 +51,13 @@ check the pending amount to be paid and reduce the debt.
51
51
 
52
52
  It currently supports two kinds of debts:
53
53
 
54
- - | Loans: a standard debt with banks, that only creates account moves.
55
- | Loan types info:
56
- `APR <https://en.wikipedia.org/wiki/Annual_percentage_rate>`__,
57
- `EAR <https://en.wikipedia.org/wiki/Effective_interest_rate>`__,
58
- `Real Rate <https://en.wikipedia.org/wiki/Real_interest_rate>`__.
54
+ - | Loans: a standard debt with banks, that only creates account moves.
55
+ | Loan types info:
56
+ `APR <https://en.wikipedia.org/wiki/Annual_percentage_rate>`__,
57
+ `EAR <https://en.wikipedia.org/wiki/Effective_interest_rate>`__,
58
+ `Real Rate <https://en.wikipedia.org/wiki/Real_interest_rate>`__.
59
59
 
60
- - Leases: a debt with a bank where purchase invoices are necessary
60
+ - Leases: a debt with a bank where purchase invoices are necessary
61
61
 
62
62
  **Table of contents**
63
63
 
@@ -79,9 +79,9 @@ To use this module, you need to:
79
79
 
80
80
  On a posted loan you can:
81
81
 
82
- - Create moves or invoices (according to the configuration)
83
- - Modify rates when needed (only unposted lines will be modified)
84
- - Reduce or cancel the debt of a loan / lease
82
+ - Create moves or invoices (according to the configuration)
83
+ - Modify rates when needed (only unposted lines will be modified)
84
+ - Reduce or cancel the debt of a loan / lease
85
85
 
86
86
  |Try me on Runbot|
87
87
 
@@ -118,9 +118,9 @@ Authors
118
118
  Contributors
119
119
  ------------
120
120
 
121
- - Enric Tobella <etobella@creublanca.es>
122
- - Bhavesh Odedra <bodedra@opensourceintegrators.com>
123
- - Alberto Martín Cortada <alberto.martin@guadaltech.es>
121
+ - Enric Tobella <etobella@creublanca.es>
122
+ - Bhavesh Odedra <bodedra@opensourceintegrators.com>
123
+ - Alberto Martín Cortada <alberto.martin@guadaltech.es>
124
124
 
125
125
  Maintainers
126
126
  -----------
@@ -1,6 +1,6 @@
1
- odoo/addons/account_loan/README.rst,sha256=qz92YJynrE9ZaVrP5_cp5fGqrPFbkWoEDHgx90UoigY,4807
1
+ odoo/addons/account_loan/README.rst,sha256=Nl32Vl7Ef9GrJtfS6qSStw_Zr8B5DgtCIozYQfA3KoM,4795
2
2
  odoo/addons/account_loan/__init__.py,sha256=o9EnCAU5AKoGmP2X6ytOhQFxVqIh5Y1itLUOmzxSUJY,113
3
- odoo/addons/account_loan/__manifest__.py,sha256=Dd9RUSQX2r8N3DPXex5A8SocSCWFEcHSlsIma9Kv--k,1083
3
+ odoo/addons/account_loan/__manifest__.py,sha256=dN9i-vNpnacacdjQaFdcEpCuUdWgORZANU0wfQusbh0,1083
4
4
  odoo/addons/account_loan/data/ir_sequence_data.xml,sha256=bLydnK8X-0QWzFoBms4UpGYYle25C2DmbpVECEG4PMc,540
5
5
  odoo/addons/account_loan/i18n/account_loan.pot,sha256=Krdk1n_5AXCTxNO0vLPBIgWTmjEKAbBHwh80sN-wmEA,35100
6
6
  odoo/addons/account_loan/i18n/am.po,sha256=ZSXzCJk6zn0OdKWFMpJyuzbqgzXjWd2dczKa-tH3wZk,35510
@@ -92,9 +92,9 @@ odoo/addons/account_loan/readme/USAGE.md,sha256=pQ7Eb0xRbAdguo8JAxUQ-irEFkOdIeor
92
92
  odoo/addons/account_loan/security/account_loan_security.xml,sha256=je25Lct1hJDX_5Qz9vhmXWF9n3s47WSzN9Ic8l8mr2k,752
93
93
  odoo/addons/account_loan/security/ir.model.access.csv,sha256=3RwBdFKlfSzAJCUWYxDBGUw0t0ZLuBphkZWYtNHGmlI,1009
94
94
  odoo/addons/account_loan/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
95
- odoo/addons/account_loan/static/description/index.html,sha256=v6EuBGxRSZpBLAZ51l914afTYIRQpEGWPQcS1XFtJMU,15266
95
+ odoo/addons/account_loan/static/description/index.html,sha256=yZ3lQaGKGitfs7iPepk6ZBcxwDQJbeQlED9CQ4avd3Y,15266
96
96
  odoo/addons/account_loan/tests/__init__.py,sha256=I1GwELsBL3FTRS0pVrE5q-qEk537mMnSOXpWkPVcBnY,94
97
- odoo/addons/account_loan/tests/test_loan.py,sha256=vFeApqeG14LmUOY-BvO1wvbyS4FCXwrmZ8JxOjkJYHQ,26150
97
+ odoo/addons/account_loan/tests/test_loan.py,sha256=TBzakrNL97WwV5-FaPf7SaaIMq9E9ia7UlbDPF0lNQM,26432
98
98
  odoo/addons/account_loan/views/account_loan_lines_view.xml,sha256=jgH6HHBq-N3uxZdfCWo3dlXbtvMM2agAC0bi81tHaUg,5887
99
99
  odoo/addons/account_loan/views/account_loan_view.xml,sha256=gQA8e9Nxz_Ez2r5Lx2jHXgfJJdijF5P27GQXt7Ut_pA,10476
100
100
  odoo/addons/account_loan/views/account_move_view.xml,sha256=-dFzRj3e84NTkLCoaAzneAPlwxVtzbjBZyAt6eK_NfM,814
@@ -108,7 +108,7 @@ odoo/addons/account_loan/wizards/account_loan_pay_amount.py,sha256=-kG1q8Ueh0Fl_
108
108
  odoo/addons/account_loan/wizards/account_loan_pay_amount_view.xml,sha256=9rCkG5kL3u2vc4Mmz9zo5Sqfp6raGnPz3ZGv2AlLIN4,1596
109
109
  odoo/addons/account_loan/wizards/account_loan_post.py,sha256=ImxohbBVZAtG4ufJ9taQh_qRlRaJvOvZTLRhqQBlKUs,3193
110
110
  odoo/addons/account_loan/wizards/account_loan_post_view.xml,sha256=s-teTEY9HCEA2CHD3_tQZJIGOHJMZNAlR1pSN5Dpdn8,1440
111
- odoo_addon_account_loan-17.0.1.0.0.5.dist-info/METADATA,sha256=nstQ9bE8R_W0rEs8dcm8yZ_TVjsttLTnZSbf5Df9iAg,5395
112
- odoo_addon_account_loan-17.0.1.0.0.5.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
113
- odoo_addon_account_loan-17.0.1.0.0.5.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
114
- odoo_addon_account_loan-17.0.1.0.0.5.dist-info/RECORD,,
111
+ odoo_addon_account_loan-17.0.1.0.1.dist-info/METADATA,sha256=1LWzq-LxxbiT7pMObsoNpn_lyWY1mTa_wfFn5qAy82g,5381
112
+ odoo_addon_account_loan-17.0.1.0.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
113
+ odoo_addon_account_loan-17.0.1.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
114
+ odoo_addon_account_loan-17.0.1.0.1.dist-info/RECORD,,