odoo-addon-account-reconcile-oca 16.0.2.0.11__py3-none-any.whl → 16.0.2.1.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/models/account_bank_statement_line.py +11 -1
- odoo/addons/account_reconcile_oca/models/account_journal.py +9 -0
- odoo/addons/account_reconcile_oca/static/description/index.html +1 -1
- odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py +12 -0
- odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml +3 -3
- {odoo_addon_account_reconcile_oca-16.0.2.0.11.dist-info → odoo_addon_account_reconcile_oca-16.0.2.1.0.dist-info}/METADATA +2 -2
- {odoo_addon_account_reconcile_oca-16.0.2.0.11.dist-info → odoo_addon_account_reconcile_oca-16.0.2.1.0.dist-info}/RECORD +11 -11
- {odoo_addon_account_reconcile_oca-16.0.2.0.11.dist-info → odoo_addon_account_reconcile_oca-16.0.2.1.0.dist-info}/WHEEL +0 -0
- {odoo_addon_account_reconcile_oca-16.0.2.0.11.dist-info → odoo_addon_account_reconcile_oca-16.0.2.1.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:6b56b826ddaf39b82eb55bb2852ff1b5b17fe7fae7eafbe3c79e023bddadf5f0
|
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.2.0
|
8
|
+
"version": "16.0.2.1.0",
|
9
9
|
"license": "AGPL-3",
|
10
10
|
"author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
|
11
11
|
"maintainers": ["etobella"],
|
@@ -532,7 +532,14 @@ class AccountBankStatementLine(models.Model):
|
|
532
532
|
res = (
|
533
533
|
self.env["account.reconcile.model"]
|
534
534
|
.search(
|
535
|
-
[
|
535
|
+
[
|
536
|
+
(
|
537
|
+
"rule_type",
|
538
|
+
"in",
|
539
|
+
["invoice_matching", "writeoff_suggestion"],
|
540
|
+
),
|
541
|
+
("company_id", "=", self.company_id.id),
|
542
|
+
]
|
536
543
|
)
|
537
544
|
._apply_rules(self, self._retrieve_partner())
|
538
545
|
)
|
@@ -555,6 +562,8 @@ class AccountBankStatementLine(models.Model):
|
|
555
562
|
)
|
556
563
|
amount -= sum(line.get("amount") for line in line_data)
|
557
564
|
data += line_data
|
565
|
+
if res.get("auto_reconcile"):
|
566
|
+
self.reconcile_bank_line()
|
558
567
|
return self._recompute_suspense_line(
|
559
568
|
data,
|
560
569
|
reconcile_auxiliary_id,
|
@@ -745,6 +754,7 @@ class AccountBankStatementLine(models.Model):
|
|
745
754
|
models = self.env["account.reconcile.model"].search(
|
746
755
|
[
|
747
756
|
("rule_type", "in", ["invoice_matching", "writeoff_suggestion"]),
|
757
|
+
("company_id", "in", result.company_id.ids),
|
748
758
|
("auto_reconcile", "=", True),
|
749
759
|
]
|
750
760
|
)
|
@@ -31,3 +31,12 @@ class AccountJournal(models.Model):
|
|
31
31
|
if self.get_journal_dashboard_datas()["number_to_reconcile"] > 0:
|
32
32
|
return False
|
33
33
|
return _("Well done! Everything has been reconciled")
|
34
|
+
|
35
|
+
def open_action(self):
|
36
|
+
self.ensure_one()
|
37
|
+
if self.type not in ["bank", "cash"]:
|
38
|
+
return super().open_action()
|
39
|
+
action = self.env["ir.actions.actions"]._for_xml_id(
|
40
|
+
"account_reconcile_oca.action_bank_statement_line_reconcile_all"
|
41
|
+
)
|
42
|
+
return action
|
@@ -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:6b56b826ddaf39b82eb55bb2852ff1b5b17fe7fae7eafbe3c79e023bddadf5f0
|
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/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>
|
373
373
|
<p>This addon allows to reconcile bank statements and account marked as <cite>reconcile</cite>.</p>
|
@@ -10,6 +10,16 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|
10
10
|
@classmethod
|
11
11
|
def setUpClass(cls, chart_template_ref=None):
|
12
12
|
super().setUpClass(chart_template_ref=chart_template_ref)
|
13
|
+
# Auto-disable reconciliation model created automatically with
|
14
|
+
# generate_account_reconcile_model() to avoid side effects in tests
|
15
|
+
cls.invoice_matching_models = cls.env["account.reconcile.model"].search(
|
16
|
+
[
|
17
|
+
("rule_type", "=", "invoice_matching"),
|
18
|
+
("auto_reconcile", "=", True),
|
19
|
+
("company_id", "=", cls.company.id),
|
20
|
+
]
|
21
|
+
)
|
22
|
+
cls.invoice_matching_models.active = False
|
13
23
|
|
14
24
|
cls.acc_bank_stmt_model = cls.env["account.bank.statement"]
|
15
25
|
cls.acc_bank_stmt_line_model = cls.env["account.bank.statement.line"]
|
@@ -988,6 +998,8 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|
988
998
|
}
|
989
999
|
)
|
990
1000
|
|
1001
|
+
self.invoice_matching_models.active = True
|
1002
|
+
self.invoice_matching_models.match_text_location_label = False
|
991
1003
|
bank_stmt_line = self.acc_bank_stmt_line_model.create(
|
992
1004
|
{
|
993
1005
|
"name": "testLine",
|
@@ -356,12 +356,12 @@
|
|
356
356
|
<field
|
357
357
|
name="context"
|
358
358
|
>{'default_journal_id': active_id, 'view_ref': 'account_reconcile_oca.bank_statement_line_form_reconcile_view'}</field>
|
359
|
-
<field name="view_mode">tree
|
359
|
+
<field name="view_mode">kanban,tree</field>
|
360
360
|
<field
|
361
361
|
name="view_ids"
|
362
362
|
eval="[(5, 0, 0),
|
363
|
-
(0, 0, {'view_mode': '
|
364
|
-
(0, 0, {'view_mode': '
|
363
|
+
(0, 0, {'view_mode': 'kanban', 'view_id': ref('bank_statement_line_reconcile_view')}),
|
364
|
+
(0, 0, {'view_mode': 'tree', 'view_id': ref('account_statement_base.account_bank_statement_line_tree')})]"
|
365
365
|
/>
|
366
366
|
<field name="help" type="html">
|
367
367
|
<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.2.0
|
3
|
+
Version: 16.0.2.1.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:6b56b826ddaf39b82eb55bb2852ff1b5b17fe7fae7eafbe3c79e023bddadf5f0
|
27
27
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
28
28
|
|
29
29
|
.. |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=enKChjjMgTHA7rbGziGL8IBKToBe0rnaJcif-5jrbXk,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=i8KlwxKiR3sq1tJAXyVgvQE-QB2MmT36hCXCx7rxZM8,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
6
|
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=UOXZfULkd2lLxY1q6OJb-D4C8KqXV1U-7eG_52CP5lU,26737
|
@@ -18,8 +18,8 @@ odoo/addons/account_reconcile_oca/migrations/16.0.1.2.0/pre-migration.py,sha256=
|
|
18
18
|
odoo/addons/account_reconcile_oca/models/__init__.py,sha256=28wbZjUZa30uHQY10BMJtKQ_BqJgwLQMQvB9uv0H_fY,282
|
19
19
|
odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=Bgp4aHX6nSjm8OaRn380Bf5LcQ-Yo4nFt9CzzlExykc,6780
|
20
20
|
odoo/addons/account_reconcile_oca/models/account_bank_statement.py,sha256=CFqlLLtmTqmt5yH3v_pkUfkZezSb1nEhBTu2J5gCjxM,1034
|
21
|
-
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=
|
22
|
-
odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=
|
21
|
+
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=OMKOf2bgD__HfghDi9XLxlrKY_v7lJdrTqdz4rN0Eek,39188
|
22
|
+
odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=8vluuQ0q0rGmVnJWyaSOAhTD0WZQuawKNqhUCEEYRvo,1306
|
23
23
|
odoo/addons/account_reconcile_oca/models/account_move_line.py,sha256=yLNHitduzhS5ShrWWw31S5zirIadFsG8ga1gtXehRTc,1213
|
24
24
|
odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py,sha256=jRboiVtRZmFBoZB2OQU4FOK4wwv7WLwjtX00XUO3FzA,3916
|
25
25
|
odoo/addons/account_reconcile_oca/models/res_company.py,sha256=IaSLPwHJZre5RYPVW8V6mnSoxltS_w0GUN1Ev-cfcB4,354
|
@@ -30,7 +30,7 @@ odoo/addons/account_reconcile_oca/readme/ROADMAP.rst,sha256=MlQ8cFQmu5MzBoFW2WP_
|
|
30
30
|
odoo/addons/account_reconcile_oca/readme/USAGE.rst,sha256=npPsx_C8T-JuCEJiTK4V44_5Io1j4ltO831T3yHFuCs,396
|
31
31
|
odoo/addons/account_reconcile_oca/security/ir.model.access.csv,sha256=XfN2EKOoChlEDonVd5DtodVAQyRbShiJ8nrXx6EwNmM,339
|
32
32
|
odoo/addons/account_reconcile_oca/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
33
|
-
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=
|
33
|
+
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=SwrYzPNQcR96E85zjBC4ae1JFj6xAl0lLpEuE7ydncM,13829
|
34
34
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=Q_WFfEwl2q0Nr6cugeIt0ziVTZ7oFxM7UdcPzFP6FEs,4856
|
35
35
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=ewNK1VQgFZWccTiyJMKYkOG6KtbHHVnI2pdNy9kjkig,467
|
36
36
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=jm7p1yKiSw7oz32IZ_uwjFOMMz77sxicv-zPomVVt4U,2157
|
@@ -52,16 +52,16 @@ odoo/addons/account_reconcile_oca/static/src/scss/reconcile.scss,sha256=cQoernco
|
|
52
52
|
odoo/addons/account_reconcile_oca/static/src/xml/reconcile.xml,sha256=sLoq3aN8Rs4Ex9dyEqENhRU9FYT9Cm1R_KrI4zk7FJY,8698
|
53
53
|
odoo/addons/account_reconcile_oca/tests/__init__.py,sha256=8JhP4auByShS8Z_Ik5dShMuWdh1kBlYP_DLI4Ku8XWA,79
|
54
54
|
odoo/addons/account_reconcile_oca/tests/test_account_reconcile.py,sha256=opQs4FgChPdphc25Jzs07TuYxoVGBCj6IAPueMLNkH0,10576
|
55
|
-
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=
|
55
|
+
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=BVNygNLWcehjLuTiYrNuOaIHYvJHsdOjbMpi9Q_AFRA,45030
|
56
56
|
odoo/addons/account_reconcile_oca/views/account_account.xml,sha256=Z6S9dDF2CnaSl8CYw69dxJiuVznJZzZX2BrhaDeMP3c,916
|
57
57
|
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=yGOV7nOj5dVwp09ItOIfvNiBQrO_FpAC36gcnjI98JE,7066
|
58
58
|
odoo/addons/account_reconcile_oca/views/account_bank_statement.xml,sha256=e8ojLqYeZaMdTj-F0QdmFST4ICAlaKV66SJPkHXCdEU,2473
|
59
|
-
odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml,sha256=
|
59
|
+
odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml,sha256=S_bCBnXlt7OXT4uDbYh-U27OeAecDg_gSYdXoWnAOMs,21620
|
60
60
|
odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=WQGxMPgl4Um-IhSCzMXlbUoOjjkB11I9L2YHk1p3rak,3434
|
61
61
|
odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=qMXpycJJfaztyToulMmLY1NF2UDL2lcZM-m1tTiAoRY,995
|
62
62
|
odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=BfObEwM6vXHMtxOFMOGDdCPOWO4ybz3w1_fm4_ufqM0,5274
|
63
63
|
odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=hL06Z_0Eg96LU6ta7VHRaheUDehJ6tVexBjU6X52Vng,1412
|
64
|
-
odoo_addon_account_reconcile_oca-16.0.2.0.
|
65
|
-
odoo_addon_account_reconcile_oca-16.0.2.0.
|
66
|
-
odoo_addon_account_reconcile_oca-16.0.2.0.
|
67
|
-
odoo_addon_account_reconcile_oca-16.0.2.0.
|
64
|
+
odoo_addon_account_reconcile_oca-16.0.2.1.0.dist-info/METADATA,sha256=X9yM649y5NjBXkkcJiV6_zygTht_sAITPbduyCrh0Ns,4322
|
65
|
+
odoo_addon_account_reconcile_oca-16.0.2.1.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
66
|
+
odoo_addon_account_reconcile_oca-16.0.2.1.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
67
|
+
odoo_addon_account_reconcile_oca-16.0.2.1.0.dist-info/RECORD,,
|
File without changes
|