odoo-addon-account-reconcile-oca 17.0.1.2.4__py3-none-any.whl → 17.0.1.2.6__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.
- odoo/addons/account_reconcile_oca/README.rst +1 -1
- odoo/addons/account_reconcile_oca/__manifest__.py +1 -1
- odoo/addons/account_reconcile_oca/models/account_account_reconcile.py +15 -3
- odoo/addons/account_reconcile_oca/static/description/index.html +1 -1
- {odoo_addon_account_reconcile_oca-17.0.1.2.4.dist-info → odoo_addon_account_reconcile_oca-17.0.1.2.6.dist-info}/METADATA +2 -2
- {odoo_addon_account_reconcile_oca-17.0.1.2.4.dist-info → odoo_addon_account_reconcile_oca-17.0.1.2.6.dist-info}/RECORD +8 -8
- {odoo_addon_account_reconcile_oca-17.0.1.2.4.dist-info → odoo_addon_account_reconcile_oca-17.0.1.2.6.dist-info}/WHEEL +0 -0
- {odoo_addon_account_reconcile_oca-17.0.1.2.4.dist-info → odoo_addon_account_reconcile_oca-17.0.1.2.6.dist-info}/top_level.txt +0 -0
@@ -7,7 +7,7 @@ Account Reconcile Oca
|
|
7
7
|
!! This file is generated by oca-gen-addon-readme !!
|
8
8
|
!! changes will be overwritten. !!
|
9
9
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
10
|
-
!! source digest: sha256:
|
10
|
+
!! source digest: sha256:223a415f11a6e89566fdec656377f5e439236dc333a3207f5a3290d8699bf39c
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
12
12
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
@@ -5,7 +5,7 @@
|
|
5
5
|
"name": "Account Reconcile Oca",
|
6
6
|
"summary": """
|
7
7
|
Reconcile addons for Odoo CE accounting""",
|
8
|
-
"version": "17.0.1.2.
|
8
|
+
"version": "17.0.1.2.6",
|
9
9
|
"license": "AGPL-3",
|
10
10
|
"author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
|
11
11
|
"maintainers": ["etobella"],
|
@@ -47,7 +47,11 @@ class AccountAccountReconcile(models.Model):
|
|
47
47
|
SELECT
|
48
48
|
min(aml.id) as id,
|
49
49
|
MAX({account_name}) as name,
|
50
|
-
|
50
|
+
CASE
|
51
|
+
WHEN a.account_type in ('asset_receivable', 'liability_payable')
|
52
|
+
THEN aml.partner_id
|
53
|
+
ELSE NULL
|
54
|
+
END as partner_id,
|
51
55
|
a.id as account_id,
|
52
56
|
FALSE as is_reconciled,
|
53
57
|
aml.currency_id as currency_id,
|
@@ -73,7 +77,14 @@ class AccountAccountReconcile(models.Model):
|
|
73
77
|
def _groupby(self):
|
74
78
|
return """
|
75
79
|
GROUP BY
|
76
|
-
a.id,
|
80
|
+
a.id,
|
81
|
+
CASE
|
82
|
+
WHEN a.account_type in ('asset_receivable', 'liability_payable')
|
83
|
+
THEN aml.partner_id
|
84
|
+
ELSE NULL
|
85
|
+
END,
|
86
|
+
aml.currency_id,
|
87
|
+
a.company_id
|
77
88
|
"""
|
78
89
|
|
79
90
|
def _having(self):
|
@@ -151,8 +162,9 @@ class AccountAccountReconcile(models.Model):
|
|
151
162
|
counterparts = data["counterparts"]
|
152
163
|
amount = 0.0
|
153
164
|
for line_id in counterparts:
|
165
|
+
max_amount = amount if line_id == counterparts[-1] else 0
|
154
166
|
line = self._get_reconcile_line(
|
155
|
-
self.env["account.move.line"].browse(line_id), "other", True,
|
167
|
+
self.env["account.move.line"].browse(line_id), "other", True, max_amount
|
156
168
|
)
|
157
169
|
new_data["data"].append(line)
|
158
170
|
amount += line["amount"]
|
@@ -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:
|
370
|
+
!! source digest: sha256:223a415f11a6e89566fdec656377f5e439236dc333a3207f5a3290d8699bf39c
|
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-reconcile/tree/17.0/account_reconcile_oca"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-reconcile-17-0/account-reconcile-17-0-account_reconcile_oca"><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-reconcile&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 addon allows to reconcile bank statements and account marked as
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-account_reconcile_oca
|
3
|
-
Version: 17.0.1.2.
|
3
|
+
Version: 17.0.1.2.6
|
4
4
|
Requires-Python: >=3.10
|
5
5
|
Requires-Dist: odoo-addon-account_reconcile_model_oca>=17.0dev,<17.1dev
|
6
6
|
Requires-Dist: odoo-addon-account_statement_base>=17.0dev,<17.1dev
|
@@ -24,7 +24,7 @@ Account Reconcile Oca
|
|
24
24
|
!! This file is generated by oca-gen-addon-readme !!
|
25
25
|
!! changes will be overwritten. !!
|
26
26
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
27
|
-
!! source digest: sha256:
|
27
|
+
!! source digest: sha256:223a415f11a6e89566fdec656377f5e439236dc333a3207f5a3290d8699bf39c
|
28
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
29
29
|
|
30
30
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
@@ -1,6 +1,6 @@
|
|
1
|
-
odoo/addons/account_reconcile_oca/README.rst,sha256=
|
1
|
+
odoo/addons/account_reconcile_oca/README.rst,sha256=rEBo4VeEZjM3RYIayQmZOSOUnYUbzi5VrQDooxNenBA,3705
|
2
2
|
odoo/addons/account_reconcile_oca/__init__.py,sha256=vqRYeBgCVZMpZhYvILSxVsNLC9V7zDnvxMnKU8RQP94,55
|
3
|
-
odoo/addons/account_reconcile_oca/__manifest__.py,sha256=
|
3
|
+
odoo/addons/account_reconcile_oca/__manifest__.py,sha256=RHHl0xm_q3NPdiQNUHPDdKrDd4kl5Fxc58x8bs0bUN4,1865
|
4
4
|
odoo/addons/account_reconcile_oca/hooks.py,sha256=SfJ-GlIGYL1kf8xhQs5qDqwNnE8S9Gs-5dP3vOD-IMM,182
|
5
5
|
odoo/addons/account_reconcile_oca/demo/demo.xml,sha256=6k0uK-H1aBiyogVNhQMQfFGL5zUfUGV2M-sSV6LHeUs,204
|
6
6
|
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=9UOhPKG5DfwfMg5ObblMLVNVM_lytFb73FPofYcizBQ,24737
|
@@ -17,7 +17,7 @@ odoo/addons/account_reconcile_oca/i18n/tr.po,sha256=8lm8XUGS8pNgRGyFYbq6viiTZEBP
|
|
17
17
|
odoo/addons/account_reconcile_oca/i18n/zh.po,sha256=o2A4aydTJCAHqqSLptHc-T1otbLM0vXPeZPbnDndyGE,24802
|
18
18
|
odoo/addons/account_reconcile_oca/i18n/zh_CN.po,sha256=guv58ZKxU3o6Ma7kLV4oUFamA3KUBnEFvR2XwJt-lFY,26541
|
19
19
|
odoo/addons/account_reconcile_oca/models/__init__.py,sha256=28wbZjUZa30uHQY10BMJtKQ_BqJgwLQMQvB9uv0H_fY,282
|
20
|
-
odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=
|
20
|
+
odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=GFDwtCrX7NaBtLfdXTqY7uFoVUqLVyKXugaY_GoaYJY,6763
|
21
21
|
odoo/addons/account_reconcile_oca/models/account_bank_statement.py,sha256=JuIl9m0FzsoD_29Vb4TiXYoqFLd6gjSvntpRB_JrVLU,463
|
22
22
|
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=oi_oOQHjAoT0w3OuSu9T9Jd9dNJiSFwoNBQtXYiy1MU,34620
|
23
23
|
odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=97AmJHO5ZOtDqoAWmjW0PZMZ-Mx8jfH4JPWiuwZ4H14,1048
|
@@ -31,7 +31,7 @@ odoo/addons/account_reconcile_oca/readme/ROADMAP.md,sha256=fxR8QnC8BkHyODdPScpgJ
|
|
31
31
|
odoo/addons/account_reconcile_oca/readme/USAGE.md,sha256=yNLGo35X7TW2TLyJqHU-gdQiXazW8Iu59rI0dpa4WjM,365
|
32
32
|
odoo/addons/account_reconcile_oca/security/ir.model.access.csv,sha256=XfN2EKOoChlEDonVd5DtodVAQyRbShiJ8nrXx6EwNmM,339
|
33
33
|
odoo/addons/account_reconcile_oca/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
34
|
-
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=
|
34
|
+
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=nrq-zRwpQgnPRyM2O9YJPXN7auWPBLEDRoPnRSBfgTA,13790
|
35
35
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=DZsNwb9DCCSurS6VRq93gMJzn4O7_Q-GTl_AzXODlaU,4867
|
36
36
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=ewNK1VQgFZWccTiyJMKYkOG6KtbHHVnI2pdNy9kjkig,467
|
37
37
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=9NSr3iZ7H_QGTpixW5D4WEJuD_u4KRpdYwRmKqcML_k,2117
|
@@ -62,7 +62,7 @@ odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=T5tZ5Ev0psYp7
|
|
62
62
|
odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=BnvchVpOJ31M-kCoe6AHDxHMfrEEgJTPPysxguX3xgE,975
|
63
63
|
odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=Kr_ET1IAat3B8UoW6VPQO3q88JLVdE5-5jpb13ioCbY,5405
|
64
64
|
odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=PxIqWILg_L_ahR-SDlDWEqWDJKNumPRifFAGF0BG57E,807
|
65
|
-
odoo_addon_account_reconcile_oca-17.0.1.2.
|
66
|
-
odoo_addon_account_reconcile_oca-17.0.1.2.
|
67
|
-
odoo_addon_account_reconcile_oca-17.0.1.2.
|
68
|
-
odoo_addon_account_reconcile_oca-17.0.1.2.
|
65
|
+
odoo_addon_account_reconcile_oca-17.0.1.2.6.dist-info/METADATA,sha256=AQeflxOEZRxnYKlYcb-B5-8tmBdFTDEDBfugsG2CW6k,4390
|
66
|
+
odoo_addon_account_reconcile_oca-17.0.1.2.6.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
|
67
|
+
odoo_addon_account_reconcile_oca-17.0.1.2.6.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
68
|
+
odoo_addon_account_reconcile_oca-17.0.1.2.6.dist-info/RECORD,,
|
File without changes
|