odoo-addon-account-reconcile-oca 16.0.1.2.9__py3-none-any.whl → 16.0.1.2.11__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/migrations/16.0.1.2.0/pre-migration.py +4 -0
- odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py +9 -7
- odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py +3 -3
- odoo/addons/account_reconcile_oca/static/description/index.html +1 -1
- odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml +6 -4
- {odoo_addon_account_reconcile_oca-16.0.1.2.9.dist-info → odoo_addon_account_reconcile_oca-16.0.1.2.11.dist-info}/METADATA +2 -2
- {odoo_addon_account_reconcile_oca-16.0.1.2.9.dist-info → odoo_addon_account_reconcile_oca-16.0.1.2.11.dist-info}/RECORD +11 -11
- {odoo_addon_account_reconcile_oca-16.0.1.2.9.dist-info → odoo_addon_account_reconcile_oca-16.0.1.2.11.dist-info}/WHEEL +1 -1
- {odoo_addon_account_reconcile_oca-16.0.1.2.9.dist-info → odoo_addon_account_reconcile_oca-16.0.1.2.11.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:180ca7f094b2b786fdc289ad3daf0dc0169a4d31386248059abd6cfa5cd26cb9
|
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.2.
|
8
|
+
"version": "16.0.1.2.11",
|
9
9
|
"license": "AGPL-3",
|
10
10
|
"author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
|
11
11
|
"maintainers": ["etobella"],
|
@@ -3,6 +3,10 @@ from openupgradelib import openupgrade
|
|
3
3
|
|
4
4
|
@openupgrade.migrate()
|
5
5
|
def migrate(env, version):
|
6
|
+
if not openupgrade.column_exists(
|
7
|
+
env.cr, "account_bank_statement_line", "reconcile_data"
|
8
|
+
):
|
9
|
+
return # coming directly from v15, so reconcile_data doesn't exist
|
6
10
|
# Due to the big change we did, we need to loose how data is stored
|
7
11
|
openupgrade.logged_query(
|
8
12
|
env.cr,
|
@@ -130,7 +130,9 @@ class AccountBankStatementLine(models.Model):
|
|
130
130
|
for line in data:
|
131
131
|
if line["kind"] != "suspense":
|
132
132
|
pending_amount += line["amount"]
|
133
|
-
if
|
133
|
+
if self.add_account_move_line_id.id in line.get(
|
134
|
+
"counterpart_line_ids", []
|
135
|
+
):
|
134
136
|
is_new_line = False
|
135
137
|
else:
|
136
138
|
new_data.append(line)
|
@@ -161,8 +163,8 @@ class AccountBankStatementLine(models.Model):
|
|
161
163
|
suspense_line = False
|
162
164
|
counterparts = []
|
163
165
|
for line in data:
|
164
|
-
if line.get("
|
165
|
-
counterparts
|
166
|
+
if line.get("counterpart_line_ids"):
|
167
|
+
counterparts += line["counterpart_line_ids"]
|
166
168
|
if (
|
167
169
|
line["account_id"][0] == self.journal_id.suspense_account_id.id
|
168
170
|
or not line["account_id"][0]
|
@@ -524,10 +526,10 @@ class AccountBankStatementLine(models.Model):
|
|
524
526
|
)
|
525
527
|
.create(self._reconcile_move_line_vals(line_vals))
|
526
528
|
)
|
527
|
-
if line_vals.get("
|
529
|
+
if line_vals.get("counterpart_line_ids"):
|
528
530
|
to_reconcile.append(
|
529
531
|
self.env["account.move.line"].browse(
|
530
|
-
line_vals.get("
|
532
|
+
line_vals.get("counterpart_line_ids")
|
531
533
|
)
|
532
534
|
+ line
|
533
535
|
)
|
@@ -590,10 +592,10 @@ class AccountBankStatementLine(models.Model):
|
|
590
592
|
.with_context(check_move_validity=False, skip_invoice_sync=True)
|
591
593
|
.create(self._reconcile_move_line_vals(line_vals, move.id))
|
592
594
|
)
|
593
|
-
if line_vals.get("
|
595
|
+
if line_vals.get("counterpart_line_ids") and line.account_id.reconcile:
|
594
596
|
to_reconcile[line.account_id.id] |= (
|
595
597
|
self.env["account.move.line"].browse(
|
596
|
-
line_vals.get("
|
598
|
+
line_vals.get("counterpart_line_ids")
|
597
599
|
)
|
598
600
|
| line
|
599
601
|
)
|
@@ -86,10 +86,10 @@ class AccountReconcileAbstract(models.AbstractModel):
|
|
86
86
|
vals.update(
|
87
87
|
{
|
88
88
|
"id": False,
|
89
|
-
"
|
89
|
+
"counterpart_line_ids": (
|
90
90
|
line.matched_debit_ids.mapped("debit_move_id")
|
91
91
|
| line.matched_credit_ids.mapped("credit_move_id")
|
92
|
-
).
|
92
|
+
).ids,
|
93
93
|
}
|
94
94
|
)
|
95
95
|
if not float_is_zero(
|
@@ -98,5 +98,5 @@ class AccountReconcileAbstract(models.AbstractModel):
|
|
98
98
|
vals["original_amount"] = abs(original_amount)
|
99
99
|
vals["original_amount_unsigned"] = original_amount
|
100
100
|
if is_counterpart:
|
101
|
-
vals["
|
101
|
+
vals["counterpart_line_ids"] = line.ids
|
102
102
|
return vals
|
@@ -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:180ca7f094b2b786fdc289ad3daf0dc0169a4d31386248059abd6cfa5cd26cb9
|
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/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
372
|
<p>This addon allows to reconcile bank statements and account marked as <cite>reconcile</cite>.</p>
|
@@ -306,11 +306,12 @@
|
|
306
306
|
<field
|
307
307
|
name="context"
|
308
308
|
>{'default_journal_id': active_id, 'search_default_not_reconciled': True, 'view_ref': 'account_reconcile_oca.bank_statement_line_form_reconcile_view'}</field>
|
309
|
-
<field name="view_mode">tree</field>
|
309
|
+
<field name="view_mode">kanban,tree</field>
|
310
310
|
<field
|
311
311
|
name="view_ids"
|
312
312
|
eval="[(5, 0, 0),
|
313
|
-
(0, 0, {'view_mode': '
|
313
|
+
(0, 0, {'view_mode': 'kanban', 'view_id': ref('bank_statement_line_reconcile_view')}),
|
314
|
+
(0, 0, {'view_mode': 'tree', 'view_id': ref('account_statement_base.account_bank_statement_line_tree')})]"
|
314
315
|
/>
|
315
316
|
<field name="help" type="html">
|
316
317
|
<p class="o_view_nocontent_smiling_face">
|
@@ -325,11 +326,12 @@
|
|
325
326
|
<field
|
326
327
|
name="context"
|
327
328
|
>{'default_journal_id': active_id, 'view_ref': 'account_reconcile_oca.bank_statement_line_form_reconcile_view'}</field>
|
328
|
-
<field name="view_mode">tree</field>
|
329
|
+
<field name="view_mode">tree,kanban</field>
|
329
330
|
<field
|
330
331
|
name="view_ids"
|
331
332
|
eval="[(5, 0, 0),
|
332
|
-
(0, 0, {'view_mode': 'tree', 'view_id': ref('
|
333
|
+
(0, 0, {'view_mode': 'tree', 'view_id': ref('account_statement_base.account_bank_statement_line_tree')}),
|
334
|
+
(0, 0, {'view_mode': 'kanban', 'view_id': ref('bank_statement_line_reconcile_view')})]"
|
333
335
|
/>
|
334
336
|
<field name="help" type="html">
|
335
337
|
<p class="o_view_nocontent_smiling_face">
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-account-reconcile-oca
|
3
|
-
Version: 16.0.1.2.
|
3
|
+
Version: 16.0.1.2.11
|
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)
|
@@ -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:180ca7f094b2b786fdc289ad3daf0dc0169a4d31386248059abd6cfa5cd26cb9
|
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=4Q25HCTHnq6ugOGsZuwfU07HsSR3ENGhT4kELOWLqnM,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=e17Ebkg2Q-jDUkj5cWanrArJy4gacyinfkRLQtevf5Y,1742
|
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
6
|
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=7w56WP2yijfF6A5_SyRH2yyvVp41GBuDujDz2lfKghw,21966
|
@@ -13,20 +13,20 @@ odoo/addons/account_reconcile_oca/i18n/nl.po,sha256=cjSsmwf41eGC1tZhoQhAajnNy-Cs
|
|
13
13
|
odoo/addons/account_reconcile_oca/i18n/pt_BR.po,sha256=ZB99SrnqDGmThxJH84TfZ4Lw7uyVcezD--UUh8Gm2_M,24115
|
14
14
|
odoo/addons/account_reconcile_oca/i18n/sv.po,sha256=irqSW-63-Tf5DsNs5f0a7y-5vGyn7G-YLVB4inE3-Bg,23903
|
15
15
|
odoo/addons/account_reconcile_oca/i18n/tr.po,sha256=dalBH3TIcm_QV7do7PjYm--po81J1w8Al7hml5xGaZQ,23203
|
16
|
-
odoo/addons/account_reconcile_oca/migrations/16.0.1.2.0/pre-migration.py,sha256=
|
16
|
+
odoo/addons/account_reconcile_oca/migrations/16.0.1.2.0/pre-migration.py,sha256=Z_OLx-fclggJUAtYpepXRAAc68AizrIN6MWtl4zp0Qw,642
|
17
17
|
odoo/addons/account_reconcile_oca/models/__init__.py,sha256=dINawjlPnSpoOp0EIglDSILEqCMBAcHc--W1gB6Bcdg,185
|
18
18
|
odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=Yyd1ww8ybpC4s6YiM2Z_oVLR2pkBEn6Wx6yRYpiYI-Q,6282
|
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=cXzPHVfJSyUzVwiyWZkrafHAX-PTDRESPEpZbSbL4Yg,30592
|
20
20
|
odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=4qAsIF4eiKIU1DH16THZVqalZaSKUSsAMiAHEzK1y1k,584
|
21
21
|
odoo/addons/account_reconcile_oca/models/account_move_line.py,sha256=hfM8zL0Xee-AVIR91qzMr6oNWKeLhE8vwxmsvOPHoj8,1218
|
22
|
-
odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py,sha256=
|
22
|
+
odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py,sha256=RXnBqfV8mSHv3dVjy-752l1ALZ9rfQLxR_xz5mdyTOQ,4072
|
23
23
|
odoo/addons/account_reconcile_oca/readme/CONTRIBUTORS.rst,sha256=GAYxzAZEN5wTBewMNx4PD2y_QoI-dzpokacQ9NnaEso,16
|
24
24
|
odoo/addons/account_reconcile_oca/readme/DESCRIPTION.rst,sha256=nc8nUT3VmwXIXvJXpq_hj2MeJzNnpsByDS4G3elJsrU,82
|
25
25
|
odoo/addons/account_reconcile_oca/readme/ROADMAP.rst,sha256=MlQ8cFQmu5MzBoFW2WP_WGKVTLQK-9RCMgCjGT-TAJU,104
|
26
26
|
odoo/addons/account_reconcile_oca/readme/USAGE.rst,sha256=npPsx_C8T-JuCEJiTK4V44_5Io1j4ltO831T3yHFuCs,396
|
27
27
|
odoo/addons/account_reconcile_oca/security/ir.model.access.csv,sha256=XfN2EKOoChlEDonVd5DtodVAQyRbShiJ8nrXx6EwNmM,339
|
28
28
|
odoo/addons/account_reconcile_oca/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
29
|
-
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=
|
29
|
+
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=XhTssHPSsP_8O_IcDv_UWEtFUJrtQja_qmai_7QtsiQ,13746
|
30
30
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=vWiMfhwSjORjnUDiuoy1p_4jXma0W0iKogwdIzvxVss,3578
|
31
31
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=ewNK1VQgFZWccTiyJMKYkOG6KtbHHVnI2pdNy9kjkig,467
|
32
32
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=FJ0AFqv0OuMv7eeBoYtvIS6c4xtEgT7K98MdmKDCpGk,474
|
@@ -51,11 +51,11 @@ odoo/addons/account_reconcile_oca/tests/test_account_reconcile.py,sha256=opQs4Fg
|
|
51
51
|
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=RnWWQIhXINja99G9Fs7O_RQowJnwfy80yOYL7C0EL7Y,38809
|
52
52
|
odoo/addons/account_reconcile_oca/views/account_account.xml,sha256=Z6S9dDF2CnaSl8CYw69dxJiuVznJZzZX2BrhaDeMP3c,916
|
53
53
|
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=7QxYjURyRa0XvtjgUs3l95j2IMqWpeK8QktltJHh864,7008
|
54
|
-
odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml,sha256=
|
54
|
+
odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml,sha256=gwSVc5k4nmfDgvCFJyhJxI8huZB37cNV3DVCh58j4JM,19714
|
55
55
|
odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=uThFanMcE_i_m_016xnBtMPQkLkZT3qxh9dySI0-VqE,3204
|
56
56
|
odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=EwbPYENnMYA6eRAz8N-l3qBosjOzw-S77sJ3a46meMU,934
|
57
57
|
odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=dhS-fHYzDDoe1OyVMiCMrMGl41LobwmwbfMf3CZyL1U,5242
|
58
|
-
odoo_addon_account_reconcile_oca-16.0.1.2.
|
59
|
-
odoo_addon_account_reconcile_oca-16.0.1.2.
|
60
|
-
odoo_addon_account_reconcile_oca-16.0.1.2.
|
61
|
-
odoo_addon_account_reconcile_oca-16.0.1.2.
|
58
|
+
odoo_addon_account_reconcile_oca-16.0.1.2.11.dist-info/METADATA,sha256=mDnfTL93Dw581l8l7GcFCRcRpPaj2pqUhfkZJOsDey0,4345
|
59
|
+
odoo_addon_account_reconcile_oca-16.0.1.2.11.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
60
|
+
odoo_addon_account_reconcile_oca-16.0.1.2.11.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
61
|
+
odoo_addon_account_reconcile_oca-16.0.1.2.11.dist-info/RECORD,,
|