odoo-addon-account-reconcile-oca 17.0.1.2.0.1__py3-none-any.whl → 17.0.1.2.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.
- odoo/addons/account_reconcile_oca/README.rst +1 -1
- odoo/addons/account_reconcile_oca/__manifest__.py +1 -1
- odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot +7 -7
- odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py +19 -1
- odoo/addons/account_reconcile_oca/static/description/index.html +1 -1
- odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py +10 -4
- {odoo_addon_account_reconcile_oca-17.0.1.2.0.1.dist-info → odoo_addon_account_reconcile_oca-17.0.1.2.1.dist-info}/METADATA +2 -2
- {odoo_addon_account_reconcile_oca-17.0.1.2.0.1.dist-info → odoo_addon_account_reconcile_oca-17.0.1.2.1.dist-info}/RECORD +10 -10
- {odoo_addon_account_reconcile_oca-17.0.1.2.0.1.dist-info → odoo_addon_account_reconcile_oca-17.0.1.2.1.dist-info}/WHEEL +0 -0
- {odoo_addon_account_reconcile_oca-17.0.1.2.0.1.dist-info → odoo_addon_account_reconcile_oca-17.0.1.2.1.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:2ff4b288df78c583f2ea48ae745b45a1131daab386f3ed65ab439034030b5b50
|
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.1",
|
9
9
|
"license": "AGPL-3",
|
10
10
|
"author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
|
11
11
|
"maintainers": ["etobella"],
|
@@ -307,13 +307,6 @@ msgstr ""
|
|
307
307
|
msgid "Keep Suspense Accounts"
|
308
308
|
msgstr ""
|
309
309
|
|
310
|
-
#. module: account_reconcile_oca
|
311
|
-
#. odoo-python
|
312
|
-
#: code:addons/account_reconcile_oca/models/account_bank_statement_line.py:0
|
313
|
-
#, python-format
|
314
|
-
msgid "Keep suspense move lines mode cannot be unreconciled"
|
315
|
-
msgstr ""
|
316
|
-
|
317
310
|
#. module: account_reconcile_oca
|
318
311
|
#. odoo-javascript
|
319
312
|
#: code:addons/account_reconcile_oca/static/src/xml/reconcile.xml:0
|
@@ -536,6 +529,13 @@ msgstr ""
|
|
536
529
|
msgid "Reset reconciliation"
|
537
530
|
msgstr ""
|
538
531
|
|
532
|
+
#. module: account_reconcile_oca
|
533
|
+
#. odoo-python
|
534
|
+
#: code:addons/account_reconcile_oca/models/account_bank_statement_line.py:0
|
535
|
+
#, python-format
|
536
|
+
msgid "Reversal of: %s"
|
537
|
+
msgstr ""
|
538
|
+
|
539
539
|
#. module: account_reconcile_oca
|
540
540
|
#: model_terms:ir.ui.view,arch_db:account_reconcile_oca.account_move_line_search_reconcile_view
|
541
541
|
msgid "Sales"
|
@@ -667,7 +667,25 @@ class AccountBankStatementLine(models.Model):
|
|
667
667
|
self.action_undo_reconciliation()
|
668
668
|
|
669
669
|
def _unreconcile_bank_line_keep(self):
|
670
|
-
|
670
|
+
self.reconcile_data_info = self._default_reconcile_data(from_unreconcile=True)
|
671
|
+
# Reverse reconciled journal entry
|
672
|
+
to_reverse = (
|
673
|
+
self.line_ids._all_reconciled_lines()
|
674
|
+
.filtered(
|
675
|
+
lambda line: line.move_id != self.move_id
|
676
|
+
and (line.matched_debit_ids or line.matched_credit_ids)
|
677
|
+
)
|
678
|
+
.mapped("move_id")
|
679
|
+
)
|
680
|
+
if to_reverse:
|
681
|
+
default_values_list = [
|
682
|
+
{
|
683
|
+
"date": move.date,
|
684
|
+
"ref": _("Reversal of: %s", move.name),
|
685
|
+
}
|
686
|
+
for move in to_reverse
|
687
|
+
]
|
688
|
+
to_reverse._reverse_moves(default_values_list, cancel=True)
|
671
689
|
|
672
690
|
def _reconcile_move_line_vals(self, line, move_id=False):
|
673
691
|
return {
|
@@ -366,7 +366,7 @@ ul.auto-toc {
|
|
366
366
|
!! This file is generated by oca-gen-addon-readme !!
|
367
367
|
!! changes will be overwritten. !!
|
368
368
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
369
|
-
!! source digest: sha256:
|
369
|
+
!! source digest: sha256:2ff4b288df78c583f2ea48ae745b45a1131daab386f3ed65ab439034030b5b50
|
370
370
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
371
371
|
<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>
|
372
372
|
<p>This addon allows to reconcile bank statements and account marked as
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import time
|
2
2
|
|
3
|
-
from odoo.exceptions import UserError
|
4
3
|
from odoo.tests import Form, tagged
|
5
4
|
|
6
5
|
from odoo.addons.account_reconcile_model_oca.tests.common import (
|
@@ -507,7 +506,7 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|
507
506
|
def test_reconcile_invoice_keep(self):
|
508
507
|
"""
|
509
508
|
We want to test how the keep mode works, keeping the original move lines.
|
510
|
-
|
509
|
+
When unreconciling, the entry created for the reconciliation is reversed.
|
511
510
|
"""
|
512
511
|
self.bank_journal_euro.reconcile_mode = "keep"
|
513
512
|
self.bank_journal_euro.suspense_account_id.reconcile = True
|
@@ -547,8 +546,15 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|
547
546
|
self.bank_journal_euro.suspense_account_id,
|
548
547
|
bank_stmt_line.mapped("move_id.line_ids.account_id"),
|
549
548
|
)
|
550
|
-
|
551
|
-
|
549
|
+
# Reset reconciliation
|
550
|
+
reconcile_move = (
|
551
|
+
bank_stmt_line.line_ids._all_reconciled_lines()
|
552
|
+
.filtered(lambda line: line.move_id != bank_stmt_line.move_id)
|
553
|
+
.move_id
|
554
|
+
)
|
555
|
+
bank_stmt_line.unreconcile_bank_line()
|
556
|
+
self.assertTrue(reconcile_move.reversal_move_id)
|
557
|
+
self.assertFalse(bank_stmt_line.is_reconciled)
|
552
558
|
|
553
559
|
# Testing to check functionality
|
554
560
|
|
@@ -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.1
|
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:2ff4b288df78c583f2ea48ae745b45a1131daab386f3ed65ab439034030b5b50
|
28
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
29
29
|
|
30
30
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
@@ -1,9 +1,9 @@
|
|
1
|
-
odoo/addons/account_reconcile_oca/README.rst,sha256=
|
1
|
+
odoo/addons/account_reconcile_oca/README.rst,sha256=Li15EyacH0YNzyaVuWS3SqTn1uprINj6HXcoFUEcDuE,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=SXU2bXlNog-vY3F1lR1sViGWeGLecSUsT2dYgUlDKtI,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
|
-
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=
|
6
|
+
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=_fZJRFHAk-xVCoWG_68qY0Y8VFK3nfzqH8c0z5B-wVo,24668
|
7
7
|
odoo/addons/account_reconcile_oca/i18n/ca.po,sha256=WH2RMXqHGHqVF-7YoWfBLdyzvIu00VkIirpzOXA_a3w,26654
|
8
8
|
odoo/addons/account_reconcile_oca/i18n/es.po,sha256=R30MqqnDra6DbllXXKkYPs3G-kBzYAycQq2E5Wb85ek,27383
|
9
9
|
odoo/addons/account_reconcile_oca/i18n/fr.po,sha256=cDATizH4oD7h7hwbjaJ5AqsC1esqrannhIAN4MEjVCc,26883
|
@@ -16,7 +16,7 @@ odoo/addons/account_reconcile_oca/i18n/tr.po,sha256=L_mGIWQSptr6SolSUh31Rdi4YRLB
|
|
16
16
|
odoo/addons/account_reconcile_oca/models/__init__.py,sha256=28wbZjUZa30uHQY10BMJtKQ_BqJgwLQMQvB9uv0H_fY,282
|
17
17
|
odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=H84BGOSCCjrdrocXhq6c0jJb9Cm6BySg5Ay-UQmZ1z4,6285
|
18
18
|
odoo/addons/account_reconcile_oca/models/account_bank_statement.py,sha256=JuIl9m0FzsoD_29Vb4TiXYoqFLd6gjSvntpRB_JrVLU,463
|
19
|
-
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=
|
19
|
+
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=tX8UnS7XYAeRvOJbnDfyKlMYs1IsOjlZln6dklVweGE,34616
|
20
20
|
odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=Z9sJu1qeWt9eD8AM6vl78LcRB-o8owbS9IbopLjOAeA,1007
|
21
21
|
odoo/addons/account_reconcile_oca/models/account_move_line.py,sha256=ZjGOeX4-kw7bLjr_CtBGOcxvACGrCrSmgB_eANNWq-w,1099
|
22
22
|
odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py,sha256=2mrEWTxwZXCsFcTA8wzf3rCwlREMY9wiGAyaEblcKPw,4139
|
@@ -28,7 +28,7 @@ odoo/addons/account_reconcile_oca/readme/ROADMAP.md,sha256=fxR8QnC8BkHyODdPScpgJ
|
|
28
28
|
odoo/addons/account_reconcile_oca/readme/USAGE.md,sha256=yNLGo35X7TW2TLyJqHU-gdQiXazW8Iu59rI0dpa4WjM,365
|
29
29
|
odoo/addons/account_reconcile_oca/security/ir.model.access.csv,sha256=XfN2EKOoChlEDonVd5DtodVAQyRbShiJ8nrXx6EwNmM,339
|
30
30
|
odoo/addons/account_reconcile_oca/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
31
|
-
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=
|
31
|
+
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=64PHwYMGbnUKf0IBK1E3xbtt-GTgkuP32gzDT6uo9lg,13707
|
32
32
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=bdOQxAg_1tQ1XH87z0OOCViERNu_aYMDy3pZ0YNX2aQ,4819
|
33
33
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=ewNK1VQgFZWccTiyJMKYkOG6KtbHHVnI2pdNy9kjkig,467
|
34
34
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=9NSr3iZ7H_QGTpixW5D4WEJuD_u4KRpdYwRmKqcML_k,2117
|
@@ -50,7 +50,7 @@ odoo/addons/account_reconcile_oca/static/src/scss/reconcile.scss,sha256=ewCAJf_W
|
|
50
50
|
odoo/addons/account_reconcile_oca/static/src/xml/reconcile.xml,sha256=hnXWp6pYXbAGf9EjmZaGDb4GHe1CBLGZMbbwbz0WuaY,8637
|
51
51
|
odoo/addons/account_reconcile_oca/tests/__init__.py,sha256=8JhP4auByShS8Z_Ik5dShMuWdh1kBlYP_DLI4Ku8XWA,79
|
52
52
|
odoo/addons/account_reconcile_oca/tests/test_account_reconcile.py,sha256=MP5M-NsVhMoYiU675hr1nsvZRRK-4e5KUYMCCKTUHB8,10807
|
53
|
-
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=
|
53
|
+
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=3Yy0Bc5FFf6IVCpy57f18QLZ9-vaO4x93RpLCuWtT98,39402
|
54
54
|
odoo/addons/account_reconcile_oca/views/account_account.xml,sha256=0RiPmzfRUj54oMYKWM7mLnZL-5IhI5W8fiRruHL0SYc,866
|
55
55
|
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=g5R5IDwyIEs19krBMaGiaN4jDjq9mc3pIMy_8iH0dho,6958
|
56
56
|
odoo/addons/account_reconcile_oca/views/account_bank_statement.xml,sha256=6AA1iZR1EmnVYyBXhLw51QQS1k9QmXLLNMAPDOl8Oz4,1813
|
@@ -59,7 +59,7 @@ odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=T5tZ5Ev0psYp7
|
|
59
59
|
odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=vMLfS41u1POGDRaRwihuvcJjJpJcduwLy9-9WwhdS0U,914
|
60
60
|
odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=PPmlSjmsurhY9hFAdOG5RoPwUF9U0QiprxjQDOuuzQY,5370
|
61
61
|
odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=PxIqWILg_L_ahR-SDlDWEqWDJKNumPRifFAGF0BG57E,807
|
62
|
-
odoo_addon_account_reconcile_oca-17.0.1.2.
|
63
|
-
odoo_addon_account_reconcile_oca-17.0.1.2.
|
64
|
-
odoo_addon_account_reconcile_oca-17.0.1.2.
|
65
|
-
odoo_addon_account_reconcile_oca-17.0.1.2.
|
62
|
+
odoo_addon_account_reconcile_oca-17.0.1.2.1.dist-info/METADATA,sha256=9bNSoldvzFo-bYNqJXyBAJgW3xXVIH96yZU4QuGwXwo,4390
|
63
|
+
odoo_addon_account_reconcile_oca-17.0.1.2.1.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
|
64
|
+
odoo_addon_account_reconcile_oca-17.0.1.2.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
65
|
+
odoo_addon_account_reconcile_oca-17.0.1.2.1.dist-info/RECORD,,
|
File without changes
|