odoo-addon-account-reconcile-oca 18.0.1.0.7.1__py3-none-any.whl → 18.0.1.0.9__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 +5 -0
- odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py +38 -20
- odoo/addons/account_reconcile_oca/static/description/index.html +1 -1
- odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml +1 -0
- {odoo_addon_account_reconcile_oca-18.0.1.0.7.1.dist-info → odoo_addon_account_reconcile_oca-18.0.1.0.9.dist-info}/METADATA +3 -2
- {odoo_addon_account_reconcile_oca-18.0.1.0.7.1.dist-info → odoo_addon_account_reconcile_oca-18.0.1.0.9.dist-info}/RECORD +10 -10
- {odoo_addon_account_reconcile_oca-18.0.1.0.7.1.dist-info → odoo_addon_account_reconcile_oca-18.0.1.0.9.dist-info}/WHEEL +0 -0
- {odoo_addon_account_reconcile_oca-18.0.1.0.7.1.dist-info → odoo_addon_account_reconcile_oca-18.0.1.0.9.dist-info}/top_level.txt +0 -0
@@ -11,7 +11,7 @@ Account Reconcile Oca
|
|
11
11
|
!! This file is generated by oca-gen-addon-readme !!
|
12
12
|
!! changes will be overwritten. !!
|
13
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
14
|
-
!! source digest: sha256:
|
14
|
+
!! source digest: sha256:0b40eaa5ada9ccfe5d34c04635be9a951f8ff2a890065045b10fe9d15e1d4f3d
|
15
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
16
16
|
|
17
17
|
.. |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.9",
|
9
9
|
"license": "AGPL-3",
|
10
10
|
"author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
|
11
11
|
"maintainers": ["etobella"],
|
@@ -477,6 +477,11 @@ msgstr ""
|
|
477
477
|
msgid "Payable"
|
478
478
|
msgstr ""
|
479
479
|
|
480
|
+
#. module: account_reconcile_oca
|
481
|
+
#: model:ir.model.fields,field_description:account_reconcile_oca.field_account_bank_statement_line__previous_manual_amount_in_currency
|
482
|
+
msgid "Previous Manual Amount In Currency"
|
483
|
+
msgstr ""
|
484
|
+
|
480
485
|
#. module: account_reconcile_oca
|
481
486
|
#: model_terms:ir.ui.view,arch_db:account_reconcile_oca.account_move_line_search_reconcile_view
|
482
487
|
msgid "Purchases"
|
@@ -78,6 +78,12 @@ class AccountBankStatementLine(models.Model):
|
|
78
78
|
prefetch=False,
|
79
79
|
currency_field="manual_in_currency_id",
|
80
80
|
)
|
81
|
+
previous_manual_amount_in_currency = fields.Monetary(
|
82
|
+
store=False,
|
83
|
+
default=False,
|
84
|
+
prefetch=False,
|
85
|
+
currency_field="manual_in_currency_id",
|
86
|
+
)
|
81
87
|
manual_exchange_counterpart = fields.Boolean(
|
82
88
|
store=False,
|
83
89
|
)
|
@@ -87,7 +93,11 @@ class AccountBankStatementLine(models.Model):
|
|
87
93
|
store=False,
|
88
94
|
default=False,
|
89
95
|
prefetch=False,
|
90
|
-
domain=
|
96
|
+
domain="""
|
97
|
+
[('rule_type', '=', 'writeoff_button'),
|
98
|
+
'|',
|
99
|
+
('match_journal_ids', '=', False), ('match_journal_ids', '=', journal_id)]
|
100
|
+
""",
|
91
101
|
)
|
92
102
|
manual_name = fields.Char(store=False, default=False, prefetch=False)
|
93
103
|
manual_amount = fields.Monetary(
|
@@ -385,6 +395,7 @@ class AccountBankStatementLine(models.Model):
|
|
385
395
|
"currency_id"
|
386
396
|
] != line.get("line_currency_id")
|
387
397
|
self.manual_amount_in_currency = line.get("currency_amount")
|
398
|
+
self.previous_manual_amount_in_currency = line.get("currency_amount")
|
388
399
|
self.manual_name = line["name"]
|
389
400
|
self.manual_exchange_counterpart = line.get("is_exchange_counterpart", False)
|
390
401
|
self.manual_partner_id = line.get("partner_id") and line["partner_id"][0]
|
@@ -403,10 +414,6 @@ class AccountBankStatementLine(models.Model):
|
|
403
414
|
data = self.reconcile_data_info.get("data", [])
|
404
415
|
new_data = []
|
405
416
|
related_move_line_id = False
|
406
|
-
for line in data:
|
407
|
-
if line.get("reference") == self.manual_reference:
|
408
|
-
related_move_line_id = line.get("id")
|
409
|
-
break
|
410
417
|
for line in data:
|
411
418
|
if (
|
412
419
|
self.manual_delete
|
@@ -430,21 +437,6 @@ class AccountBankStatementLine(models.Model):
|
|
430
437
|
)
|
431
438
|
self.can_reconcile = self.reconcile_data_info.get("can_reconcile", False)
|
432
439
|
|
433
|
-
@api.onchange("manual_amount_in_currency")
|
434
|
-
def _onchange_manual_amount_in_currency(self):
|
435
|
-
if (
|
436
|
-
self.manual_line_id.exists()
|
437
|
-
and self.manual_line_id
|
438
|
-
and self.manual_kind != "liquidity"
|
439
|
-
):
|
440
|
-
self.manual_amount = self.manual_in_currency_id._convert(
|
441
|
-
self.manual_amount_in_currency,
|
442
|
-
self.company_id.currency_id,
|
443
|
-
self.company_id,
|
444
|
-
self.manual_line_id.date,
|
445
|
-
)
|
446
|
-
self._onchange_manual_reconcile_vals()
|
447
|
-
|
448
440
|
def _get_manual_reconcile_vals(self):
|
449
441
|
vals = {
|
450
442
|
"name": self.manual_name,
|
@@ -463,6 +455,7 @@ class AccountBankStatementLine(models.Model):
|
|
463
455
|
"credit": -self.manual_amount if self.manual_amount < 0 else 0.0,
|
464
456
|
"debit": self.manual_amount if self.manual_amount > 0 else 0.0,
|
465
457
|
"analytic_distribution": self.analytic_distribution,
|
458
|
+
"currency_amount": self.manual_amount_in_currency,
|
466
459
|
}
|
467
460
|
liquidity_lines, _suspense_lines, _other_lines = self._seek_for_lines()
|
468
461
|
if self.manual_line_id and self.manual_line_id.id not in liquidity_lines.ids:
|
@@ -484,11 +477,35 @@ class AccountBankStatementLine(models.Model):
|
|
484
477
|
"manual_name",
|
485
478
|
"manual_amount",
|
486
479
|
"analytic_distribution",
|
480
|
+
"manual_amount_in_currency",
|
487
481
|
)
|
488
482
|
def _onchange_manual_reconcile_vals(self):
|
489
483
|
self.ensure_one()
|
490
484
|
data = self.reconcile_data_info.get("data", [])
|
491
485
|
new_data = []
|
486
|
+
if (
|
487
|
+
self.manual_in_currency_id
|
488
|
+
and float_compare(
|
489
|
+
self.manual_amount_in_currency,
|
490
|
+
self.previous_manual_amount_in_currency,
|
491
|
+
precision_rounding=self.manual_in_currency_id.rounding,
|
492
|
+
)
|
493
|
+
!= 0
|
494
|
+
):
|
495
|
+
in_currency_date = self.date
|
496
|
+
if (
|
497
|
+
self.manual_line_id.exists()
|
498
|
+
and self.manual_line_id
|
499
|
+
and self.manual_kind != "liquidity"
|
500
|
+
):
|
501
|
+
in_currency_date = self.manual_line_id.date
|
502
|
+
self.manual_amount = self.manual_in_currency_id._convert(
|
503
|
+
self.manual_amount_in_currency,
|
504
|
+
self.manual_currency_id,
|
505
|
+
self.company_id,
|
506
|
+
in_currency_date,
|
507
|
+
)
|
508
|
+
self.previous_manual_amount_in_currency = self.manual_amount_in_currency
|
492
509
|
for line in data:
|
493
510
|
if line["reference"] == self.manual_reference:
|
494
511
|
if self._check_line_changed(line):
|
@@ -511,6 +528,7 @@ class AccountBankStatementLine(models.Model):
|
|
511
528
|
)
|
512
529
|
line.update(
|
513
530
|
{
|
531
|
+
"currency_amount": self.manual_amount_in_currency,
|
514
532
|
"amount": amount,
|
515
533
|
"credit": -amount if amount < 0 else 0.0,
|
516
534
|
"debit": amount if amount > 0 else 0.0,
|
@@ -372,7 +372,7 @@ ul.auto-toc {
|
|
372
372
|
!! This file is generated by oca-gen-addon-readme !!
|
373
373
|
!! changes will be overwritten. !!
|
374
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
375
|
-
!! source digest: sha256:
|
375
|
+
!! source digest: sha256:0b40eaa5ada9ccfe5d34c04635be9a951f8ff2a890065045b10fe9d15e1d4f3d
|
376
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
377
377
|
<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/license-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>
|
378
378
|
<p>This addon allows to reconcile bank statements and account marked as
|
@@ -219,6 +219,7 @@
|
|
219
219
|
<field name="is_reconciled" invisible="1" />
|
220
220
|
<field name="foreign_currency_id" invisible="1" />
|
221
221
|
<field name="company_currency_id" invisible="1" />
|
222
|
+
<field name="previous_manual_amount_in_currency" invisible="1" />
|
222
223
|
<field name="currency_id" invisible="1" />
|
223
224
|
<field
|
224
225
|
name="reconcile_data_info"
|
@@ -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.9
|
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.*
|
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python
|
|
14
14
|
Classifier: Framework :: Odoo
|
15
15
|
Classifier: Framework :: Odoo :: 18.0
|
16
16
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
17
|
+
Description-Content-Type: text/x-rst
|
17
18
|
|
18
19
|
.. image:: https://odoo-community.org/readme-banner-image
|
19
20
|
:target: https://odoo-community.org/get-involved?utm_source=readme
|
@@ -28,7 +29,7 @@ Account Reconcile Oca
|
|
28
29
|
!! This file is generated by oca-gen-addon-readme !!
|
29
30
|
!! changes will be overwritten. !!
|
30
31
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
31
|
-
!! source digest: sha256:
|
32
|
+
!! source digest: sha256:0b40eaa5ada9ccfe5d34c04635be9a951f8ff2a890065045b10fe9d15e1d4f3d
|
32
33
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
33
34
|
|
34
35
|
.. |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=XYybIEL43ydC5l4jxtOm6UONc1GRJHxkF7HI_a-xynM,3868
|
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=fUCjrngnsXXI_zejz2M2qbWwj7yptJfsw0SvYwtFnPA,1821
|
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
|
-
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=
|
6
|
+
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=ErwPUWEze4aziwjVIEpJ8aVXtGy8a0pfaPxCma9ncB0,25814
|
7
7
|
odoo/addons/account_reconcile_oca/i18n/ca.po,sha256=aJchA-pNFiCjPGI5Y3bpUuTTAgR5RF6Jh2dw6R70cKM,27734
|
8
8
|
odoo/addons/account_reconcile_oca/i18n/es.po,sha256=rJqlvZdtfTvVrTIdwvyb87u6GFY50lVhelAFagKDpHE,28605
|
9
9
|
odoo/addons/account_reconcile_oca/i18n/fr.po,sha256=elk_qoHLO2ZE9jPJ1gnYeYRzH-BhFhO-sWLLtTAJExM,28381
|
@@ -19,7 +19,7 @@ odoo/addons/account_reconcile_oca/i18n/zh_CN.po,sha256=MsrYBovGhUG-RBxSBQLwtkwz4
|
|
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=ngJzOnYFdsTrK51r8Gz7aTLqVSHQcPnTZVAw0slah3Y,7429
|
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=CxnyOCKcNoddPxwi-e1XXIdO2Wcaep_N4gy9H-HNFf8,53850
|
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=4YUkMb3HZA7fj1YuojLh4RNzn8AW36I1G_CJuEKbRaA,5099
|
@@ -32,7 +32,7 @@ odoo/addons/account_reconcile_oca/readme/USAGE.md,sha256=yNLGo35X7TW2TLyJqHU-gdQ
|
|
32
32
|
odoo/addons/account_reconcile_oca/security/ir.model.access.csv,sha256=XfN2EKOoChlEDonVd5DtodVAQyRbShiJ8nrXx6EwNmM,339
|
33
33
|
odoo/addons/account_reconcile_oca/security/security.xml,sha256=i978n9S9IyLCKqJRvw4gBy8mQBf2-QTPyVu8cRyDuVc,385
|
34
34
|
odoo/addons/account_reconcile_oca/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
35
|
-
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=
|
35
|
+
odoo/addons/account_reconcile_oca/static/description/index.html,sha256=rh0rCe_ppH7QsRvrwxAHPvyc2HVPW7QlKx2RONmN9E0,14006
|
36
36
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=Zyk9E7M_dpuqXyB8-TQhRFPGozQA9dCyEsht4_UJWbM,4871
|
37
37
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=8kQb0XINafwaiW3jaogkqIijYChliJHXPj0Kr6Sp6Vk,446
|
38
38
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=SjwJu1wXFRJ_-fIOFqG0DO0KfkErSTVoW1uFHzsKoP0,2096
|
@@ -56,12 +56,12 @@ odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=Vu
|
|
56
56
|
odoo/addons/account_reconcile_oca/views/account_account.xml,sha256=-2UyFKoQI1ec5YYzz8prYQPrKwZTvFqTTbnloNPP-jE,864
|
57
57
|
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=Oq1OEMyZDbvKs8kuFl5sL-c__ih2PNa0StfnfizGd68,6765
|
58
58
|
odoo/addons/account_reconcile_oca/views/account_bank_statement.xml,sha256=NI1z1pi23hYawhLCzRL9ZRIWxwWM4BfyY49kv188XzM,2434
|
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=rBLQ4yNWaP0qBC7UAAVftyg2p70CL1ZuwykWL-qpSI0,21746
|
60
60
|
odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=kO9TjjowUBV-4oNKmxa7KrJ_oqCLnjSsKAosOwvo0Y8,3310
|
61
61
|
odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=DmtEGKT5R8QwI_xEAZH1l8tC6pe-GlIQtb4tikHK3z0,971
|
62
62
|
odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=a1AqrG0ppplhiAWXabwjbLrvFCatBHys2xNoHxtTgCE,5324
|
63
63
|
odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=uO3fyDQanxF_UfJ2ggc4H9t6gO2cKGMh08IOQemoudc,803
|
64
|
-
odoo_addon_account_reconcile_oca-18.0.1.0.
|
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.
|
64
|
+
odoo_addon_account_reconcile_oca-18.0.1.0.9.dist-info/METADATA,sha256=CCs511b7lYrMl_YonlS4k1JOGYn7bCavr8Miz9oQAG8,4562
|
65
|
+
odoo_addon_account_reconcile_oca-18.0.1.0.9.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
66
|
+
odoo_addon_account_reconcile_oca-18.0.1.0.9.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
67
|
+
odoo_addon_account_reconcile_oca-18.0.1.0.9.dist-info/RECORD,,
|
File without changes
|