odoo-addon-account-reconcile-oca 18.0.1.0.8__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 +33 -19
- 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.8.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.8.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.8.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.8.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
|
)
|
@@ -389,6 +395,7 @@ class AccountBankStatementLine(models.Model):
|
|
389
395
|
"currency_id"
|
390
396
|
] != line.get("line_currency_id")
|
391
397
|
self.manual_amount_in_currency = line.get("currency_amount")
|
398
|
+
self.previous_manual_amount_in_currency = line.get("currency_amount")
|
392
399
|
self.manual_name = line["name"]
|
393
400
|
self.manual_exchange_counterpart = line.get("is_exchange_counterpart", False)
|
394
401
|
self.manual_partner_id = line.get("partner_id") and line["partner_id"][0]
|
@@ -407,10 +414,6 @@ class AccountBankStatementLine(models.Model):
|
|
407
414
|
data = self.reconcile_data_info.get("data", [])
|
408
415
|
new_data = []
|
409
416
|
related_move_line_id = False
|
410
|
-
for line in data:
|
411
|
-
if line.get("reference") == self.manual_reference:
|
412
|
-
related_move_line_id = line.get("id")
|
413
|
-
break
|
414
417
|
for line in data:
|
415
418
|
if (
|
416
419
|
self.manual_delete
|
@@ -434,21 +437,6 @@ class AccountBankStatementLine(models.Model):
|
|
434
437
|
)
|
435
438
|
self.can_reconcile = self.reconcile_data_info.get("can_reconcile", False)
|
436
439
|
|
437
|
-
@api.onchange("manual_amount_in_currency")
|
438
|
-
def _onchange_manual_amount_in_currency(self):
|
439
|
-
if (
|
440
|
-
self.manual_line_id.exists()
|
441
|
-
and self.manual_line_id
|
442
|
-
and self.manual_kind != "liquidity"
|
443
|
-
):
|
444
|
-
self.manual_amount = self.manual_in_currency_id._convert(
|
445
|
-
self.manual_amount_in_currency,
|
446
|
-
self.company_id.currency_id,
|
447
|
-
self.company_id,
|
448
|
-
self.manual_line_id.date,
|
449
|
-
)
|
450
|
-
self._onchange_manual_reconcile_vals()
|
451
|
-
|
452
440
|
def _get_manual_reconcile_vals(self):
|
453
441
|
vals = {
|
454
442
|
"name": self.manual_name,
|
@@ -467,6 +455,7 @@ class AccountBankStatementLine(models.Model):
|
|
467
455
|
"credit": -self.manual_amount if self.manual_amount < 0 else 0.0,
|
468
456
|
"debit": self.manual_amount if self.manual_amount > 0 else 0.0,
|
469
457
|
"analytic_distribution": self.analytic_distribution,
|
458
|
+
"currency_amount": self.manual_amount_in_currency,
|
470
459
|
}
|
471
460
|
liquidity_lines, _suspense_lines, _other_lines = self._seek_for_lines()
|
472
461
|
if self.manual_line_id and self.manual_line_id.id not in liquidity_lines.ids:
|
@@ -488,11 +477,35 @@ class AccountBankStatementLine(models.Model):
|
|
488
477
|
"manual_name",
|
489
478
|
"manual_amount",
|
490
479
|
"analytic_distribution",
|
480
|
+
"manual_amount_in_currency",
|
491
481
|
)
|
492
482
|
def _onchange_manual_reconcile_vals(self):
|
493
483
|
self.ensure_one()
|
494
484
|
data = self.reconcile_data_info.get("data", [])
|
495
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
|
496
509
|
for line in data:
|
497
510
|
if line["reference"] == self.manual_reference:
|
498
511
|
if self._check_line_changed(line):
|
@@ -515,6 +528,7 @@ class AccountBankStatementLine(models.Model):
|
|
515
528
|
)
|
516
529
|
line.update(
|
517
530
|
{
|
531
|
+
"currency_amount": self.manual_amount_in_currency,
|
518
532
|
"amount": amount,
|
519
533
|
"credit": -amount if amount < 0 else 0.0,
|
520
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
|