odoo-addon-account-reconcile-oca 17.0.1.4.3__py3-none-any.whl → 17.0.1.5.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/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/static/src/js/widgets/selection_badge_uncheck.esm.js +2 -11
- odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py +12 -0
- {odoo_addon_account_reconcile_oca-17.0.1.4.3.dist-info → odoo_addon_account_reconcile_oca-17.0.1.5.1.dist-info}/METADATA +2 -2
- {odoo_addon_account_reconcile_oca-17.0.1.4.3.dist-info → odoo_addon_account_reconcile_oca-17.0.1.5.1.dist-info}/RECORD +11 -11
- {odoo_addon_account_reconcile_oca-17.0.1.4.3.dist-info → odoo_addon_account_reconcile_oca-17.0.1.5.1.dist-info}/WHEEL +0 -0
- {odoo_addon_account_reconcile_oca-17.0.1.4.3.dist-info → odoo_addon_account_reconcile_oca-17.0.1.5.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:cfd63b21630a7dd1f579b1bf41ca7cb939142e9d1272237ce51f3270da76d0d9
|
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.
|
8
|
+
"version": "17.0.1.5.1",
|
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,
|
@@ -750,6 +759,7 @@ class AccountBankStatementLine(models.Model):
|
|
750
759
|
models = self.env["account.reconcile.model"].search(
|
751
760
|
[
|
752
761
|
("rule_type", "in", ["invoice_matching", "writeoff_suggestion"]),
|
762
|
+
("company_id", "in", result.company_id.ids),
|
753
763
|
("auto_reconcile", "=", True),
|
754
764
|
]
|
755
765
|
)
|
@@ -34,3 +34,12 @@ class AccountJournal(models.Model):
|
|
34
34
|
):
|
35
35
|
return False
|
36
36
|
return _("Well done! Everything has been reconciled")
|
37
|
+
|
38
|
+
def open_action(self):
|
39
|
+
self.ensure_one()
|
40
|
+
if self.type not in ["bank", "cash"]:
|
41
|
+
return super().open_action()
|
42
|
+
action = self.env["ir.actions.actions"]._for_xml_id(
|
43
|
+
"account_reconcile_oca.action_bank_statement_line_reconcile_all"
|
44
|
+
)
|
45
|
+
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:cfd63b21630a7dd1f579b1bf41ca7cb939142e9d1272237ce51f3270da76d0d9
|
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,10 +1,9 @@
|
|
1
1
|
/** @odoo-module **/
|
2
2
|
import {
|
3
3
|
BadgeSelectionField,
|
4
|
-
|
4
|
+
badgeSelectionField,
|
5
5
|
} from "@web/views/fields/badge_selection/badge_selection_field";
|
6
6
|
import {registry} from "@web/core/registry";
|
7
|
-
import {standardFieldProps} from "@web/views/fields/standard_field_props";
|
8
7
|
|
9
8
|
export class FieldSelectionBadgeUncheck extends BadgeSelectionField {
|
10
9
|
async onChange(value) {
|
@@ -20,19 +19,11 @@ export class FieldSelectionBadgeUncheck extends BadgeSelectionField {
|
|
20
19
|
}
|
21
20
|
}
|
22
21
|
|
23
|
-
FieldSelectionBadgeUncheck.props = {...standardFieldProps};
|
24
|
-
FieldSelectionBadgeUncheck.supportedTypes = ["many2one", "selection"];
|
25
|
-
FieldSelectionBadgeUncheck.additionalClasses = ["o_field_selection_badge"];
|
26
|
-
|
27
22
|
export const FieldSelectionBadgeUncheckField = {
|
23
|
+
...badgeSelectionField,
|
28
24
|
component: FieldSelectionBadgeUncheck,
|
29
25
|
supportedTypes: ["many2one"],
|
30
26
|
};
|
31
27
|
registry
|
32
28
|
.category("fields")
|
33
29
|
.add("selection_badge_uncheck", FieldSelectionBadgeUncheckField);
|
34
|
-
|
35
|
-
registry.category("preloadedData").add("selection_badge_uncheck", {
|
36
|
-
loadOnTypes: ["many2one"],
|
37
|
-
preload: preloadSelection,
|
38
|
-
});
|
@@ -17,6 +17,16 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|
17
17
|
def setUpClass(cls, chart_template_ref=None):
|
18
18
|
super().setUpClass(chart_template_ref=chart_template_ref)
|
19
19
|
cls.env = cls.env(context=cls._setup_context())
|
20
|
+
# Auto-disable reconciliation model created automatically with
|
21
|
+
# generate_account_reconcile_model() to avoid side effects in tests
|
22
|
+
cls.invoice_matching_models = cls.env["account.reconcile.model"].search(
|
23
|
+
[
|
24
|
+
("rule_type", "=", "invoice_matching"),
|
25
|
+
("auto_reconcile", "=", True),
|
26
|
+
("company_id", "=", cls.company.id),
|
27
|
+
]
|
28
|
+
)
|
29
|
+
cls.invoice_matching_models.active = False
|
20
30
|
|
21
31
|
cls.acc_bank_stmt_model = cls.env["account.bank.statement"]
|
22
32
|
cls.acc_bank_stmt_line_model = cls.env["account.bank.statement.line"]
|
@@ -995,6 +1005,8 @@ class TestReconciliationWidget(TestAccountReconciliationCommon):
|
|
995
1005
|
}
|
996
1006
|
)
|
997
1007
|
|
1008
|
+
self.invoice_matching_models.active = True
|
1009
|
+
self.invoice_matching_models.match_text_location_label = False
|
998
1010
|
bank_stmt_line = self.acc_bank_stmt_line_model.create(
|
999
1011
|
{
|
1000
1012
|
"name": "testLine",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-account_reconcile_oca
|
3
|
-
Version: 17.0.1.
|
3
|
+
Version: 17.0.1.5.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:cfd63b21630a7dd1f579b1bf41ca7cb939142e9d1272237ce51f3270da76d0d9
|
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=BYdnN4p-l3Lvz6cU9doJBfqeDpMULinKrQ1oGrwaakY,3703
|
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=xC0xDN9owVnlF2uoLHLtOYEEAzbhl70bX6OUXWPvxfI,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=RnxHPjPpQk_qZs4ZHFvH13KDHnqQO-ppgcUnULeZxwo,25700
|
@@ -19,8 +19,8 @@ odoo/addons/account_reconcile_oca/i18n/zh_CN.po,sha256=gHrxzsXR_B6rbs_0iU8_-9doe
|
|
19
19
|
odoo/addons/account_reconcile_oca/models/__init__.py,sha256=28wbZjUZa30uHQY10BMJtKQ_BqJgwLQMQvB9uv0H_fY,282
|
20
20
|
odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=ndgMwziMe2GsqEucoH0vZMqVmubgBcajJahh1LcNK9s,6709
|
21
21
|
odoo/addons/account_reconcile_oca/models/account_bank_statement.py,sha256=CFqlLLtmTqmt5yH3v_pkUfkZezSb1nEhBTu2J5gCjxM,1034
|
22
|
-
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=
|
23
|
-
odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=
|
22
|
+
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=lAqc6_rpaBiNkQYqznHETpYTWt_aEEMy2P9WiXt-xPo,39848
|
23
|
+
odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=PXXoGnByO7ve9_G09tnn95HKJoLvXM1pDxHDdd7bpU4,1359
|
24
24
|
odoo/addons/account_reconcile_oca/models/account_move_line.py,sha256=PfdU6cfrKjKMqL_qGqNdyPUWg-frGQ6nR5uCoYtW38M,1212
|
25
25
|
odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py,sha256=I23ZF31OvY5EqtfNHfm2Pir3JJ3z5CaYjEFr1OZ8oWI,3983
|
26
26
|
odoo/addons/account_reconcile_oca/models/res_company.py,sha256=IaSLPwHJZre5RYPVW8V6mnSoxltS_w0GUN1Ev-cfcB4,354
|
@@ -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=Il60xnNeZr5FYX-6p8iNSLh01sXLucHjnpfXgK3j5s0,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
|
@@ -48,12 +48,12 @@ odoo/addons/account_reconcile_oca/static/src/js/reconcile_move_line/reconcile_mo
|
|
48
48
|
odoo/addons/account_reconcile_oca/static/src/js/widgets/reconcile_chatter_field.esm.js,sha256=w8vDPCCovRJRKYZtp1XnlWGNGXDfvoJYuttKF-jpTHw,902
|
49
49
|
odoo/addons/account_reconcile_oca/static/src/js/widgets/reconcile_data_widget.esm.js,sha256=YrWCTvLIZqAE1McQMDVKqgIoJIZA1r1hAaxfd3l4Ulo,2920
|
50
50
|
odoo/addons/account_reconcile_oca/static/src/js/widgets/reconcile_move_line_widget.esm.js,sha256=G5lbsagkTYErqNlPvhW0vfljQWRKI4eI5spDlH3_emk,3772
|
51
|
-
odoo/addons/account_reconcile_oca/static/src/js/widgets/selection_badge_uncheck.esm.js,sha256=
|
51
|
+
odoo/addons/account_reconcile_oca/static/src/js/widgets/selection_badge_uncheck.esm.js,sha256=yFqG5t4wKA47k-wUMzPuDZ1AvILft6_hucGOz2YHWGE,836
|
52
52
|
odoo/addons/account_reconcile_oca/static/src/scss/reconcile.scss,sha256=b6clO2yWT91dEdTE3RcdORFE6dNqqzsXz3S0Rc5afZU,2318
|
53
53
|
odoo/addons/account_reconcile_oca/static/src/xml/reconcile.xml,sha256=hnXWp6pYXbAGf9EjmZaGDb4GHe1CBLGZMbbwbz0WuaY,8637
|
54
54
|
odoo/addons/account_reconcile_oca/tests/__init__.py,sha256=8JhP4auByShS8Z_Ik5dShMuWdh1kBlYP_DLI4Ku8XWA,79
|
55
55
|
odoo/addons/account_reconcile_oca/tests/test_account_reconcile.py,sha256=MP5M-NsVhMoYiU675hr1nsvZRRK-4e5KUYMCCKTUHB8,10807
|
56
|
-
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=
|
56
|
+
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=jy8F3hWd85x_1tBgPlT84PvfTrqFXLQogx_Dwv-wXEo,47041
|
57
57
|
odoo/addons/account_reconcile_oca/views/account_account.xml,sha256=0RiPmzfRUj54oMYKWM7mLnZL-5IhI5W8fiRruHL0SYc,866
|
58
58
|
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=2FKosNTl4hVC_yVq8uRzZvMMrXyEttK_YTsdnV8o0NI,7016
|
59
59
|
odoo/addons/account_reconcile_oca/views/account_bank_statement.xml,sha256=QrjQZ3OTsnbopdLnnsFaZ0f7ncLkOUbtVj9osXdxw5k,2436
|
@@ -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.
|
66
|
-
odoo_addon_account_reconcile_oca-17.0.1.
|
67
|
-
odoo_addon_account_reconcile_oca-17.0.1.
|
68
|
-
odoo_addon_account_reconcile_oca-17.0.1.
|
65
|
+
odoo_addon_account_reconcile_oca-17.0.1.5.1.dist-info/METADATA,sha256=8gPBjXvQHmKC4-klDrmDigDmC2v0MxqpJrZ4hTQzGYY,4388
|
66
|
+
odoo_addon_account_reconcile_oca-17.0.1.5.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
67
|
+
odoo_addon_account_reconcile_oca-17.0.1.5.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
68
|
+
odoo_addon_account_reconcile_oca-17.0.1.5.1.dist-info/RECORD,,
|
File without changes
|