odoo-addon-account-reconcile-oca 16.0.1.2.15.4__py3-none-any.whl → 16.0.1.3.0__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 +21 -2
- odoo/addons/account_reconcile_oca/static/description/index.html +8 -5
- odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py +10 -4
- {odoo_addon_account_reconcile_oca-16.0.1.2.15.4.dist-info → odoo_addon_account_reconcile_oca-16.0.1.3.0.dist-info}/METADATA +2 -2
- {odoo_addon_account_reconcile_oca-16.0.1.2.15.4.dist-info → odoo_addon_account_reconcile_oca-16.0.1.3.0.dist-info}/RECORD +10 -10
- {odoo_addon_account_reconcile_oca-16.0.1.2.15.4.dist-info → odoo_addon_account_reconcile_oca-16.0.1.3.0.dist-info}/WHEEL +0 -0
- {odoo_addon_account_reconcile_oca-16.0.1.2.15.4.dist-info → odoo_addon_account_reconcile_oca-16.0.1.3.0.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:06b94427f7cd6ced34791ec38ef99b42ae6f8dfd8b274674879a2d5352498308
|
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": "16.0.1.
|
8
|
+
"version": "16.0.1.3.0",
|
9
9
|
"license": "AGPL-3",
|
10
10
|
"author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
|
11
11
|
"maintainers": ["etobella"],
|
@@ -322,13 +322,6 @@ msgstr ""
|
|
322
322
|
msgid "Keep Suspense Accounts"
|
323
323
|
msgstr ""
|
324
324
|
|
325
|
-
#. module: account_reconcile_oca
|
326
|
-
#. odoo-python
|
327
|
-
#: code:addons/account_reconcile_oca/models/account_bank_statement_line.py:0
|
328
|
-
#, python-format
|
329
|
-
msgid "Keep suspense move lines mode cannot be unreconciled"
|
330
|
-
msgstr ""
|
331
|
-
|
332
325
|
#. module: account_reconcile_oca
|
333
326
|
#. odoo-javascript
|
334
327
|
#: code:addons/account_reconcile_oca/static/src/xml/reconcile.xml:0
|
@@ -557,6 +550,13 @@ msgstr ""
|
|
557
550
|
msgid "Reset reconciliation"
|
558
551
|
msgstr ""
|
559
552
|
|
553
|
+
#. module: account_reconcile_oca
|
554
|
+
#. odoo-python
|
555
|
+
#: code:addons/account_reconcile_oca/models/account_bank_statement_line.py:0
|
556
|
+
#, python-format
|
557
|
+
msgid "Reversal of: %s"
|
558
|
+
msgstr ""
|
559
|
+
|
560
560
|
#. module: account_reconcile_oca
|
561
561
|
#: model_terms:ir.ui.view,arch_db:account_reconcile_oca.account_move_line_search_reconcile_view
|
562
562
|
msgid "Sales"
|
@@ -416,8 +416,9 @@ class AccountBankStatementLine(models.Model):
|
|
416
416
|
continue
|
417
417
|
new_data.append(line_data)
|
418
418
|
liquidity_amount += line_data["amount"]
|
419
|
+
|
419
420
|
for line in reconcile_model._get_write_off_move_lines_dict(
|
420
|
-
-liquidity_amount, self._retrieve_partner()
|
421
|
+
-liquidity_amount, self._retrieve_partner().id
|
421
422
|
):
|
422
423
|
new_line = line.copy()
|
423
424
|
amount = line.get("balance")
|
@@ -667,7 +668,25 @@ class AccountBankStatementLine(models.Model):
|
|
667
668
|
self.action_undo_reconciliation()
|
668
669
|
|
669
670
|
def _unreconcile_bank_line_keep(self):
|
670
|
-
|
671
|
+
self.reconcile_data_info = self._default_reconcile_data(from_unreconcile=True)
|
672
|
+
# Reverse reconciled journal entry
|
673
|
+
to_reverse = (
|
674
|
+
self.line_ids._all_reconciled_lines()
|
675
|
+
.filtered(
|
676
|
+
lambda line: line.move_id != self.move_id
|
677
|
+
and (line.matched_debit_ids or line.matched_credit_ids)
|
678
|
+
)
|
679
|
+
.mapped("move_id")
|
680
|
+
)
|
681
|
+
if to_reverse:
|
682
|
+
default_values_list = [
|
683
|
+
{
|
684
|
+
"date": move.date,
|
685
|
+
"ref": _("Reversal of: %s", move.name),
|
686
|
+
}
|
687
|
+
for move in to_reverse
|
688
|
+
]
|
689
|
+
to_reverse._reverse_moves(default_values_list, cancel=True)
|
671
690
|
|
672
691
|
def _reconcile_move_line_vals(self, line, move_id=False):
|
673
692
|
return {
|
@@ -8,10 +8,11 @@
|
|
8
8
|
|
9
9
|
/*
|
10
10
|
:Author: David Goodger (goodger@python.org)
|
11
|
-
:Id: $Id: html4css1.css
|
11
|
+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
12
12
|
:Copyright: This stylesheet has been placed in the public domain.
|
13
13
|
|
14
14
|
Default cascading style sheet for the HTML output of Docutils.
|
15
|
+
Despite the name, some widely supported CSS2 features are used.
|
15
16
|
|
16
17
|
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
17
18
|
customize this style sheet.
|
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
274
275
|
margin-left: 2em ;
|
275
276
|
margin-right: 2em }
|
276
277
|
|
277
|
-
pre.code .ln { color:
|
278
|
+
pre.code .ln { color: gray; } /* line numbers */
|
278
279
|
pre.code, code { background-color: #eeeeee }
|
279
280
|
pre.code .comment, code .comment { color: #5C6576 }
|
280
281
|
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
@@ -300,7 +301,7 @@ span.option {
|
|
300
301
|
span.pre {
|
301
302
|
white-space: pre }
|
302
303
|
|
303
|
-
span.problematic {
|
304
|
+
span.problematic, pre.problematic {
|
304
305
|
color: red }
|
305
306
|
|
306
307
|
span.section-subtitle {
|
@@ -366,7 +367,7 @@ ul.auto-toc {
|
|
366
367
|
!! This file is generated by oca-gen-addon-readme !!
|
367
368
|
!! changes will be overwritten. !!
|
368
369
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
369
|
-
!! source digest: sha256:
|
370
|
+
!! source digest: sha256:06b94427f7cd6ced34791ec38ef99b42ae6f8dfd8b274674879a2d5352498308
|
370
371
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
371
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/16.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-16-0/account-reconcile-16-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=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
372
373
|
<p>This addon allows to reconcile bank statements and account marked as <cite>reconcile</cite>.</p>
|
@@ -435,7 +436,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
435
436
|
<div class="section" id="maintainers">
|
436
437
|
<h2><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h2>
|
437
438
|
<p>This module is maintained by the OCA.</p>
|
438
|
-
<a class="reference external image-reference" href="https://odoo-community.org"
|
439
|
+
<a class="reference external image-reference" href="https://odoo-community.org">
|
440
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
441
|
+
</a>
|
439
442
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
440
443
|
mission is to support the collaborative development of Odoo features and
|
441
444
|
promote its widespread use.</p>
|
@@ -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.tests.common import TestAccountReconciliationCommon
|
@@ -500,7 +499,7 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|
500
499
|
def test_reconcile_invoice_keep(self):
|
501
500
|
"""
|
502
501
|
We want to test how the keep mode works, keeping the original move lines.
|
503
|
-
|
502
|
+
When unreconciling, the entry created for the reconciliation is reversed.
|
504
503
|
"""
|
505
504
|
self.bank_journal_euro.reconcile_mode = "keep"
|
506
505
|
self.bank_journal_euro.suspense_account_id.reconcile = True
|
@@ -540,8 +539,15 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|
540
539
|
self.bank_journal_euro.suspense_account_id,
|
541
540
|
bank_stmt_line.mapped("move_id.line_ids.account_id"),
|
542
541
|
)
|
543
|
-
|
544
|
-
|
542
|
+
# Reset reconciliation
|
543
|
+
reconcile_move = (
|
544
|
+
bank_stmt_line.line_ids._all_reconciled_lines()
|
545
|
+
.filtered(lambda line: line.move_id != bank_stmt_line.move_id)
|
546
|
+
.move_id
|
547
|
+
)
|
548
|
+
bank_stmt_line.unreconcile_bank_line()
|
549
|
+
self.assertTrue(reconcile_move.reversal_move_id)
|
550
|
+
self.assertFalse(bank_stmt_line.is_reconciled)
|
545
551
|
|
546
552
|
# Testing to check functionality
|
547
553
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-account_reconcile_oca
|
3
|
-
Version: 16.0.1.
|
3
|
+
Version: 16.0.1.3.0
|
4
4
|
Summary: Reconcile addons for Odoo CE accounting
|
5
5
|
Home-page: https://github.com/OCA/account-reconcile
|
6
6
|
Author: CreuBlanca,Dixmit,Odoo Community Association (OCA)
|
@@ -23,7 +23,7 @@ Account Reconcile Oca
|
|
23
23
|
!! This file is generated by oca-gen-addon-readme !!
|
24
24
|
!! changes will be overwritten. !!
|
25
25
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
26
|
-
!! source digest: sha256:
|
26
|
+
!! source digest: sha256:06b94427f7cd6ced34791ec38ef99b42ae6f8dfd8b274674879a2d5352498308
|
27
27
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
28
28
|
|
29
29
|
.. |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=9FRQ7qsbZN3qX85VIkEph3d6ZipH1GsSFPhu1FJYB6k,3709
|
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=pKhIhgsYxPXJl0LEyY9bzXZ_d_8XW8JqpDP35wpFAPk,1826
|
4
4
|
odoo/addons/account_reconcile_oca/hooks.py,sha256=l2-vYiPh-Wu_4Hi3GvfoUmc527S-Jozb07-DbP6LzDA,187
|
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=iOqMifzevnRZlP2Z3BldQodid8gfEXg_22oShtYMj0s,25702
|
7
7
|
odoo/addons/account_reconcile_oca/i18n/ca.po,sha256=IDwCtxFhOfT6ym4k7fGZCD2xg-h2OtQhHsbFsmXzy20,27646
|
8
8
|
odoo/addons/account_reconcile_oca/i18n/es.po,sha256=uYGi3OP2LXn2FxtGKhqBV4EI-8qKCGeMHMSOHUJSE5k,28053
|
9
9
|
odoo/addons/account_reconcile_oca/i18n/fr.po,sha256=dANBAnk7lRXRS-bnDVinq3m5Hh0hztqxCFNHHUwudHQ,27875
|
@@ -17,7 +17,7 @@ odoo/addons/account_reconcile_oca/migrations/16.0.1.2.0/pre-migration.py,sha256=
|
|
17
17
|
odoo/addons/account_reconcile_oca/models/__init__.py,sha256=28wbZjUZa30uHQY10BMJtKQ_BqJgwLQMQvB9uv0H_fY,282
|
18
18
|
odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=Yyd1ww8ybpC4s6YiM2Z_oVLR2pkBEn6Wx6yRYpiYI-Q,6282
|
19
19
|
odoo/addons/account_reconcile_oca/models/account_bank_statement.py,sha256=JuIl9m0FzsoD_29Vb4TiXYoqFLd6gjSvntpRB_JrVLU,463
|
20
|
-
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=
|
20
|
+
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=KdkRYf4UkrdiwEs29pBUUeGgd9U5CJhDYAa-q43SxDE,34190
|
21
21
|
odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=kSDYeTyI26BKKQuFnGH7IRbPttjFHvwycUfwhgT5PB0,954
|
22
22
|
odoo/addons/account_reconcile_oca/models/account_move_line.py,sha256=DGoyszrkLSlk42j-v_2J6tWbbU3VLtyXCh9zpGDl9UM,1100
|
23
23
|
odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py,sha256=RXnBqfV8mSHv3dVjy-752l1ALZ9rfQLxR_xz5mdyTOQ,4072
|
@@ -29,7 +29,7 @@ odoo/addons/account_reconcile_oca/readme/ROADMAP.rst,sha256=MlQ8cFQmu5MzBoFW2WP_
|
|
29
29
|
odoo/addons/account_reconcile_oca/readme/USAGE.rst,sha256=npPsx_C8T-JuCEJiTK4V44_5Io1j4ltO831T3yHFuCs,396
|
30
30
|
odoo/addons/account_reconcile_oca/security/ir.model.access.csv,sha256=XfN2EKOoChlEDonVd5DtodVAQyRbShiJ8nrXx6EwNmM,339
|
31
31
|
odoo/addons/account_reconcile_oca/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
32
|
-
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=
|
32
|
+
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=dasuIulZlBDEulUU94GDiklO4WIBwAscv9V__38CYpc,13829
|
33
33
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=nDTsO-XR9jF4krkW7ZhWf8SdeCERH8uDXGreEZ9USog,4808
|
34
34
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=ewNK1VQgFZWccTiyJMKYkOG6KtbHHVnI2pdNy9kjkig,467
|
35
35
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=jm7p1yKiSw7oz32IZ_uwjFOMMz77sxicv-zPomVVt4U,2157
|
@@ -51,7 +51,7 @@ odoo/addons/account_reconcile_oca/static/src/scss/reconcile.scss,sha256=qL7RJ_6X
|
|
51
51
|
odoo/addons/account_reconcile_oca/static/src/xml/reconcile.xml,sha256=sLoq3aN8Rs4Ex9dyEqENhRU9FYT9Cm1R_KrI4zk7FJY,8698
|
52
52
|
odoo/addons/account_reconcile_oca/tests/__init__.py,sha256=8JhP4auByShS8Z_Ik5dShMuWdh1kBlYP_DLI4Ku8XWA,79
|
53
53
|
odoo/addons/account_reconcile_oca/tests/test_account_reconcile.py,sha256=opQs4FgChPdphc25Jzs07TuYxoVGBCj6IAPueMLNkH0,10576
|
54
|
-
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=
|
54
|
+
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=Sj9PSTutJJXSxhPaqAKrJK_i0AsoUpTuKpjW6hNrBJY,39086
|
55
55
|
odoo/addons/account_reconcile_oca/views/account_account.xml,sha256=Z6S9dDF2CnaSl8CYw69dxJiuVznJZzZX2BrhaDeMP3c,916
|
56
56
|
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=yGOV7nOj5dVwp09ItOIfvNiBQrO_FpAC36gcnjI98JE,7066
|
57
57
|
odoo/addons/account_reconcile_oca/views/account_bank_statement.xml,sha256=wG7C5SExLc3LeXy_megI-wVg6Ut7lbMihsEcHhXh5qo,1850
|
@@ -60,7 +60,7 @@ odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=WQGxMPgl4Um-I
|
|
60
60
|
odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=EwbPYENnMYA6eRAz8N-l3qBosjOzw-S77sJ3a46meMU,934
|
61
61
|
odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=Wzf76i6mhryqpCOHA06CMnUPzpEUBOaVL_L-8CKumNA,5239
|
62
62
|
odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=hL06Z_0Eg96LU6ta7VHRaheUDehJ6tVexBjU6X52Vng,1412
|
63
|
-
odoo_addon_account_reconcile_oca-16.0.1.
|
64
|
-
odoo_addon_account_reconcile_oca-16.0.1.
|
65
|
-
odoo_addon_account_reconcile_oca-16.0.1.
|
66
|
-
odoo_addon_account_reconcile_oca-16.0.1.
|
63
|
+
odoo_addon_account_reconcile_oca-16.0.1.3.0.dist-info/METADATA,sha256=HR4Xo1kw4u9JaVr5O9_4mItVs-QdOtSDGQdwHZPTDQ0,4324
|
64
|
+
odoo_addon_account_reconcile_oca-16.0.1.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
65
|
+
odoo_addon_account_reconcile_oca-16.0.1.3.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
66
|
+
odoo_addon_account_reconcile_oca-16.0.1.3.0.dist-info/RECORD,,
|
File without changes
|