odoo-addon-account-reconcile-oca 18.0.1.0.1__py3-none-any.whl → 18.0.1.0.3__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 -2
- odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py +7 -2
- odoo/addons/account_reconcile_oca/static/description/index.html +1 -1
- odoo/addons/account_reconcile_oca/static/src/js/reconcile_move_line/reconcile_move_line_controller.esm.js +5 -4
- odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml +1 -1
- {odoo_addon_account_reconcile_oca-18.0.1.0.1.dist-info → odoo_addon_account_reconcile_oca-18.0.1.0.3.dist-info}/METADATA +2 -2
- {odoo_addon_account_reconcile_oca-18.0.1.0.1.dist-info → odoo_addon_account_reconcile_oca-18.0.1.0.3.dist-info}/RECORD +10 -12
- odoo/addons/account_reconcile_oca/static/src/js/reconcile_manual/reconcile_manual_controller.esm.js +0 -33
- odoo/addons/account_reconcile_oca/static/src/js/reconcile_manual/reconcile_manual_view.esm.js +0 -10
- {odoo_addon_account_reconcile_oca-18.0.1.0.1.dist-info → odoo_addon_account_reconcile_oca-18.0.1.0.3.dist-info}/WHEEL +0 -0
- {odoo_addon_account_reconcile_oca-18.0.1.0.1.dist-info → odoo_addon_account_reconcile_oca-18.0.1.0.3.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:d184238b47f394e8fd55c8b2027bd745084402306edce638a5e983497e12573a
|
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": "18.0.1.0.
|
8
|
+
"version": "18.0.1.0.3",
|
9
9
|
"license": "AGPL-3",
|
10
10
|
"author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
|
11
11
|
"maintainers": ["etobella"],
|
@@ -36,7 +36,6 @@
|
|
36
36
|
"account_reconcile_oca/static/src/js/widgets/reconcile_move_line_widget.esm.js",
|
37
37
|
"account_reconcile_oca/static/src/js/reconcile_move_line/*.esm.js",
|
38
38
|
"account_reconcile_oca/static/src/js/reconcile_form/*.esm.js",
|
39
|
-
"account_reconcile_oca/static/src/js/reconcile_manual/*.esm.js",
|
40
39
|
"account_reconcile_oca/static/src/js/reconcile/*.esm.js",
|
41
40
|
"account_reconcile_oca/static/src/xml/reconcile.xml",
|
42
41
|
"account_reconcile_oca/static/src/scss/reconcile.scss",
|
@@ -566,11 +566,16 @@ class AccountBankStatementLine(models.Model):
|
|
566
566
|
continue
|
567
567
|
new_data.append(line_data)
|
568
568
|
liquidity_amount += line_data["amount"]
|
569
|
-
|
569
|
+
partner = (
|
570
|
+
reconcile_model._get_partner_from_mapping(self) or self._retrieve_partner()
|
571
|
+
)
|
570
572
|
for line in reconcile_model._get_write_off_move_lines_dict(
|
571
|
-
-liquidity_amount,
|
573
|
+
-liquidity_amount, partner.id
|
572
574
|
):
|
573
575
|
new_line = line.copy()
|
576
|
+
new_line["partner_id"] = (
|
577
|
+
partner and [partner.id, partner.display_name] or False
|
578
|
+
)
|
574
579
|
amount = line.get("balance")
|
575
580
|
if self.foreign_currency_id:
|
576
581
|
amount = self.foreign_currency_id._convert(
|
@@ -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:d184238b47f394e8fd55c8b2027bd745084402306edce638a5e983497e12573a
|
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/18.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-18-0/account-reconcile-18-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=18.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
|
@@ -8,10 +8,11 @@ export class ReconcileMoveLineController extends ListController {
|
|
8
8
|
}
|
9
9
|
async clickAddAll() {
|
10
10
|
await this.props.parentRecord.save();
|
11
|
-
await this.orm.call(
|
12
|
-
this.props.parentRecord.
|
13
|
-
|
14
|
-
|
11
|
+
await this.model.orm.call(
|
12
|
+
this.props.parentRecord.resModel,
|
13
|
+
"add_multiple_lines",
|
14
|
+
[this.props.parentRecord.resIds, this.model.root.domain]
|
15
|
+
);
|
15
16
|
await this.props.parentRecord.load();
|
16
17
|
this.props.parentRecord.model.notify();
|
17
18
|
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
>account.account.reconcile.form (in account_reconcile_oca)</field>
|
9
9
|
<field name="model">account.account.reconcile</field>
|
10
10
|
<field name="arch" type="xml">
|
11
|
-
<form js_class="
|
11
|
+
<form js_class="reconcile_form" create="0">
|
12
12
|
<field name="manual_delete" invisible="1" />
|
13
13
|
<field name="manual_reference" invisible="1" />
|
14
14
|
<field name="company_currency_id" invisible="1" />
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-account_reconcile_oca
|
3
|
-
Version: 18.0.1.0.
|
3
|
+
Version: 18.0.1.0.3
|
4
4
|
Requires-Python: >=3.10
|
5
5
|
Requires-Dist: odoo-addon-account_reconcile_model_oca==18.0.*
|
6
6
|
Requires-Dist: odoo-addon-account_statement_base==18.0.*
|
@@ -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:d184238b47f394e8fd55c8b2027bd745084402306edce638a5e983497e12573a
|
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=_QR0ytRMnEx7tOJMX48oNFYMXEP4_vbR2ArApoMktJc,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=zxURziZ67BqTbPWpTt4ZS4SjjXfvQaX9gSlLmJ9z0fE,1788
|
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=UKHgUXdDr54NsxdYk5czOdD-kmJas-8zlq5D7VQtIh4,203
|
6
6
|
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=5gK02FBQjnhlqJdk3LOxlr9YCBFDG9W9Rbee0WYw-IM,25428
|
@@ -19,7 +19,7 @@ odoo/addons/account_reconcile_oca/i18n/zh_CN.po,sha256=E90cE9nDSkUWaP3Ngvj3NG0xT
|
|
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=-M3lrYywAASLysnha1GEXXYkINWARXO3VIEyiRg4yL0,7088
|
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=
|
22
|
+
odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=cunPYEzrHSDtFjKH-_4wyuLt8_jmETt3BJrWsKVv1_A,53081
|
23
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=kQ0N2z4HRHCw5UyffrdpCX6mUGAllpcEJ-YCUmSqhKM,5078
|
@@ -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=Rib7-YMuFT7ID70sSUAoMeyUzNlFGBSVFIES00Kb1Rs,13790
|
35
35
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=Zyk9E7M_dpuqXyB8-TQhRFPGozQA9dCyEsht4_UJWbM,4871
|
36
36
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=8kQb0XINafwaiW3jaogkqIijYChliJHXPj0Kr6Sp6Vk,446
|
37
37
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=SjwJu1wXFRJ_-fIOFqG0DO0KfkErSTVoW1uFHzsKoP0,2096
|
@@ -40,9 +40,7 @@ odoo/addons/account_reconcile_oca/static/src/js/reconcile_form/reconcile_form_co
|
|
40
40
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile_form/reconcile_form_notebook.esm.js,sha256=La2TfmXUid6xCLdU7XeDPAFxS-iPUhfxCU_zZ-NyJ4U,954
|
41
41
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile_form/reconcile_form_renderer.esm.js,sha256=NOXw7s1wQNFjyZelgJli082Fp9J5XSViT6ldOHGKR1A,311
|
42
42
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile_form/reconcile_form_view.esm.js,sha256=mlkV1uxrus6sL73-B3zu08Mn9YXUtR2fmkY9BlAMS5I,449
|
43
|
-
odoo/addons/account_reconcile_oca/static/src/js/
|
44
|
-
odoo/addons/account_reconcile_oca/static/src/js/reconcile_manual/reconcile_manual_view.esm.js,sha256=i9Z1olDLJKAu2xsQOWdqMJrZS5LAL6eFOexoMui46Ck,360
|
45
|
-
odoo/addons/account_reconcile_oca/static/src/js/reconcile_move_line/reconcile_move_line_controller.esm.js,sha256=hPVNDqKeGcmj0cr5pqZg-H6lLYMWD_sVCHACpMz80F0,927
|
43
|
+
odoo/addons/account_reconcile_oca/static/src/js/reconcile_move_line/reconcile_move_line_controller.esm.js,sha256=3cC1CfGFvdbtiiYaDom-stdlbMtcklu1xq2kUBh0SZ8,944
|
46
44
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile_move_line/reconcile_move_line_renderer.esm.js,sha256=vlDk5Cgjqe1Y-eItfxZfhAKgIi8wNJkNZOH-29mPwxY,584
|
47
45
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile_move_line/reconcile_move_line_view.esm.js,sha256=xWcxhNVvUTABPr5GhwAb4ZfPoFfnhD2JtxjZU_LopHI,549
|
48
46
|
odoo/addons/account_reconcile_oca/static/src/js/widgets/reconcile_chatter_field.esm.js,sha256=xx5E0kEwFAucyYy5KLD3qvrNhVpCOrwHXc0L9OlnfSs,890
|
@@ -55,14 +53,14 @@ odoo/addons/account_reconcile_oca/tests/__init__.py,sha256=8JhP4auByShS8Z_Ik5dSh
|
|
55
53
|
odoo/addons/account_reconcile_oca/tests/test_account_reconcile.py,sha256=Q8gaZDJyyzDSzlSe_4UOroCHI_HzWdz19i0C2eLJ7Mg,10310
|
56
54
|
odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=Vub7ic9_8ciwNbBOmosUT0MVt5MKgmd3UYUkHSDqDeQ,53552
|
57
55
|
odoo/addons/account_reconcile_oca/views/account_account.xml,sha256=-2UyFKoQI1ec5YYzz8prYQPrKwZTvFqTTbnloNPP-jE,864
|
58
|
-
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=
|
56
|
+
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=Oq1OEMyZDbvKs8kuFl5sL-c__ih2PNa0StfnfizGd68,6765
|
59
57
|
odoo/addons/account_reconcile_oca/views/account_bank_statement.xml,sha256=NI1z1pi23hYawhLCzRL9ZRIWxwWM4BfyY49kv188XzM,2434
|
60
58
|
odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml,sha256=-pk8VPBZvPlADr2w4PevaNUMOV9eS56UeuXKD7sEDnw,21664
|
61
59
|
odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=kO9TjjowUBV-4oNKmxa7KrJ_oqCLnjSsKAosOwvo0Y8,3310
|
62
60
|
odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=DmtEGKT5R8QwI_xEAZH1l8tC6pe-GlIQtb4tikHK3z0,971
|
63
61
|
odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=a1AqrG0ppplhiAWXabwjbLrvFCatBHys2xNoHxtTgCE,5324
|
64
62
|
odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=uO3fyDQanxF_UfJ2ggc4H9t6gO2cKGMh08IOQemoudc,803
|
65
|
-
odoo_addon_account_reconcile_oca-18.0.1.0.
|
66
|
-
odoo_addon_account_reconcile_oca-18.0.1.0.
|
67
|
-
odoo_addon_account_reconcile_oca-18.0.1.0.
|
68
|
-
odoo_addon_account_reconcile_oca-18.0.1.0.
|
63
|
+
odoo_addon_account_reconcile_oca-18.0.1.0.3.dist-info/METADATA,sha256=q51TVVV3Wmcp1lf69TAGVe29th3SOxeNvEkBpjO_LJo,4360
|
64
|
+
odoo_addon_account_reconcile_oca-18.0.1.0.3.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
65
|
+
odoo_addon_account_reconcile_oca-18.0.1.0.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
66
|
+
odoo_addon_account_reconcile_oca-18.0.1.0.3.dist-info/RECORD,,
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile_manual/reconcile_manual_controller.esm.js
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
import {FormController} from "@web/views/form/form_controller";
|
2
|
-
import {useViewButtons} from "@web/views/view_button/view_button_hook";
|
3
|
-
const {useRef} = owl;
|
4
|
-
|
5
|
-
export class ReconcileManualController extends FormController {
|
6
|
-
setup() {
|
7
|
-
super.setup(...arguments);
|
8
|
-
this.env.exposeController(this);
|
9
|
-
const rootRef = useRef("root");
|
10
|
-
useViewButtons(this.model, rootRef, {
|
11
|
-
reload: this.reloadFormController.bind(this),
|
12
|
-
beforeExecuteAction: this.beforeExecuteActionButton.bind(this),
|
13
|
-
afterExecuteAction: this.afterExecuteActionButton.bind(this),
|
14
|
-
});
|
15
|
-
}
|
16
|
-
displayName() {
|
17
|
-
return this.env.config.getDisplayName();
|
18
|
-
}
|
19
|
-
async reloadFormController() {
|
20
|
-
try {
|
21
|
-
await this.model.root.load();
|
22
|
-
} catch (error) {
|
23
|
-
// eslint-disable-next-line no-undef
|
24
|
-
console.error("Error reloading form controller:", error);
|
25
|
-
// This should happen when we reconcile a line (no more possible data...)
|
26
|
-
if (this.env.parentController) {
|
27
|
-
await this.env.parentController.model.root.load();
|
28
|
-
await this.env.parentController.render(true);
|
29
|
-
this.env.parentController.selectRecord();
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile_manual/reconcile_manual_view.esm.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import {ReconcileManualController} from "./reconcile_manual_controller.esm.js";
|
2
|
-
import {formView} from "@web/views/form/form_view";
|
3
|
-
import {registry} from "@web/core/registry";
|
4
|
-
|
5
|
-
export const FormManualReconcileView = {
|
6
|
-
...formView,
|
7
|
-
Controller: ReconcileManualController,
|
8
|
-
};
|
9
|
-
|
10
|
-
registry.category("views").add("reconcile_manual", FormManualReconcileView);
|
File without changes
|