odoo-addon-account-reconcile-oca 17.0.1.5.17__py3-none-any.whl → 17.0.1.5.18__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-17.0.1.5.17.dist-info → odoo_addon_account_reconcile_oca-17.0.1.5.18.dist-info}/METADATA +3 -2
- {odoo_addon_account_reconcile_oca-17.0.1.5.17.dist-info → odoo_addon_account_reconcile_oca-17.0.1.5.18.dist-info}/RECORD +10 -10
- {odoo_addon_account_reconcile_oca-17.0.1.5.17.dist-info → odoo_addon_account_reconcile_oca-17.0.1.5.18.dist-info}/WHEEL +0 -0
- {odoo_addon_account_reconcile_oca-17.0.1.5.17.dist-info → odoo_addon_account_reconcile_oca-17.0.1.5.18.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:f5ea6e3a47d5601899213ca2b0c16edce1690f0c20d71db238c0ea7a9f696623
|
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": "17.0.1.5.
|
8
|
+
"version": "17.0.1.5.18",
|
9
9
|
"license": "AGPL-3",
|
10
10
|
"author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
|
11
11
|
"maintainers": ["etobella"],
|
@@ -493,6 +493,11 @@ msgstr ""
|
|
493
493
|
msgid "Payable"
|
494
494
|
msgstr ""
|
495
495
|
|
496
|
+
#. module: account_reconcile_oca
|
497
|
+
#: model:ir.model.fields,field_description:account_reconcile_oca.field_account_bank_statement_line__previous_manual_amount_in_currency
|
498
|
+
msgid "Previous Manual Amount In Currency"
|
499
|
+
msgstr ""
|
500
|
+
|
496
501
|
#. module: account_reconcile_oca
|
497
502
|
#: model_terms:ir.ui.view,arch_db:account_reconcile_oca.account_move_line_search_reconcile_view
|
498
503
|
msgid "Purchases"
|
@@ -77,6 +77,12 @@ class AccountBankStatementLine(models.Model):
|
|
77
77
|
prefetch=False,
|
78
78
|
currency_field="manual_in_currency_id",
|
79
79
|
)
|
80
|
+
previous_manual_amount_in_currency = fields.Monetary(
|
81
|
+
store=False,
|
82
|
+
default=False,
|
83
|
+
prefetch=False,
|
84
|
+
currency_field="manual_in_currency_id",
|
85
|
+
)
|
80
86
|
manual_exchange_counterpart = fields.Boolean(
|
81
87
|
store=False,
|
82
88
|
)
|
@@ -388,6 +394,7 @@ class AccountBankStatementLine(models.Model):
|
|
388
394
|
"currency_id"
|
389
395
|
] != line.get("line_currency_id")
|
390
396
|
self.manual_amount_in_currency = line.get("currency_amount")
|
397
|
+
self.previous_manual_amount_in_currency = line.get("currency_amount")
|
391
398
|
self.manual_name = line["name"]
|
392
399
|
self.manual_exchange_counterpart = line.get("is_exchange_counterpart", False)
|
393
400
|
self.manual_partner_id = line.get("partner_id") and line["partner_id"][0]
|
@@ -406,10 +413,6 @@ class AccountBankStatementLine(models.Model):
|
|
406
413
|
data = self.reconcile_data_info.get("data", [])
|
407
414
|
new_data = []
|
408
415
|
related_move_line_id = False
|
409
|
-
for line in data:
|
410
|
-
if line.get("reference") == self.manual_reference:
|
411
|
-
related_move_line_id = line.get("id")
|
412
|
-
break
|
413
416
|
for line in data:
|
414
417
|
if (
|
415
418
|
self.manual_delete
|
@@ -433,21 +436,6 @@ class AccountBankStatementLine(models.Model):
|
|
433
436
|
)
|
434
437
|
self.can_reconcile = self.reconcile_data_info.get("can_reconcile", False)
|
435
438
|
|
436
|
-
@api.onchange("manual_amount_in_currency")
|
437
|
-
def _onchange_manual_amount_in_currency(self):
|
438
|
-
if (
|
439
|
-
self.manual_line_id.exists()
|
440
|
-
and self.manual_line_id
|
441
|
-
and self.manual_kind != "liquidity"
|
442
|
-
):
|
443
|
-
self.manual_amount = self.manual_in_currency_id._convert(
|
444
|
-
self.manual_amount_in_currency,
|
445
|
-
self.company_id.currency_id,
|
446
|
-
self.company_id,
|
447
|
-
self.manual_line_id.date,
|
448
|
-
)
|
449
|
-
self._onchange_manual_reconcile_vals()
|
450
|
-
|
451
439
|
def _get_manual_reconcile_vals(self):
|
452
440
|
vals = {
|
453
441
|
"name": self.manual_name,
|
@@ -466,6 +454,7 @@ class AccountBankStatementLine(models.Model):
|
|
466
454
|
"credit": -self.manual_amount if self.manual_amount < 0 else 0.0,
|
467
455
|
"debit": self.manual_amount if self.manual_amount > 0 else 0.0,
|
468
456
|
"analytic_distribution": self.analytic_distribution,
|
457
|
+
"currency_amount": self.manual_amount_in_currency,
|
469
458
|
}
|
470
459
|
liquidity_lines, _suspense_lines, _other_lines = self._seek_for_lines()
|
471
460
|
if self.manual_line_id and self.manual_line_id.id not in liquidity_lines.ids:
|
@@ -487,11 +476,35 @@ class AccountBankStatementLine(models.Model):
|
|
487
476
|
"manual_name",
|
488
477
|
"manual_amount",
|
489
478
|
"analytic_distribution",
|
479
|
+
"manual_amount_in_currency",
|
490
480
|
)
|
491
481
|
def _onchange_manual_reconcile_vals(self):
|
492
482
|
self.ensure_one()
|
493
483
|
data = self.reconcile_data_info.get("data", [])
|
494
484
|
new_data = []
|
485
|
+
if (
|
486
|
+
self.manual_in_currency_id
|
487
|
+
and float_compare(
|
488
|
+
self.manual_amount_in_currency,
|
489
|
+
self.previous_manual_amount_in_currency,
|
490
|
+
precision_rounding=self.manual_in_currency_id.rounding,
|
491
|
+
)
|
492
|
+
!= 0
|
493
|
+
):
|
494
|
+
in_currency_date = self.date
|
495
|
+
if (
|
496
|
+
self.manual_line_id.exists()
|
497
|
+
and self.manual_line_id
|
498
|
+
and self.manual_kind != "liquidity"
|
499
|
+
):
|
500
|
+
in_currency_date = self.manual_line_id.date
|
501
|
+
self.manual_amount = self.manual_in_currency_id._convert(
|
502
|
+
self.manual_amount_in_currency,
|
503
|
+
self.manual_currency_id,
|
504
|
+
self.company_id,
|
505
|
+
in_currency_date,
|
506
|
+
)
|
507
|
+
self.previous_manual_amount_in_currency = self.manual_amount_in_currency
|
495
508
|
for line in data:
|
496
509
|
if line["reference"] == self.manual_reference:
|
497
510
|
if self._check_line_changed(line):
|
@@ -514,6 +527,7 @@ class AccountBankStatementLine(models.Model):
|
|
514
527
|
)
|
515
528
|
line.update(
|
516
529
|
{
|
530
|
+
"currency_amount": self.manual_amount_in_currency,
|
517
531
|
"amount": amount,
|
518
532
|
"credit": -amount if amount < 0 else 0.0,
|
519
533
|
"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:f5ea6e3a47d5601899213ca2b0c16edce1690f0c20d71db238c0ea7a9f696623
|
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/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>
|
378
378
|
<p>This addon allows to reconcile bank statements and account marked as
|
@@ -226,6 +226,7 @@
|
|
226
226
|
<field name="is_reconciled" invisible="1" />
|
227
227
|
<field name="foreign_currency_id" invisible="1" />
|
228
228
|
<field name="company_currency_id" invisible="1" />
|
229
|
+
<field name="previous_manual_amount_in_currency" invisible="1" />
|
229
230
|
<field name="currency_id" invisible="1" />
|
230
231
|
<field
|
231
232
|
name="reconcile_data_info"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: odoo-addon-account_reconcile_oca
|
3
|
-
Version: 17.0.1.5.
|
3
|
+
Version: 17.0.1.5.18
|
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
|
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python
|
|
14
14
|
Classifier: Framework :: Odoo
|
15
15
|
Classifier: Framework :: Odoo :: 17.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:f5ea6e3a47d5601899213ca2b0c16edce1690f0c20d71db238c0ea7a9f696623
|
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=PYcm19MAMLljoLQFq6ChLxEXffABSyZy-2uL3UUf4q4,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=r5SwsEstn-XV6uY4cXZaYz3ndUzp94nM9B0NXCbqwhg,1899
|
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
|
-
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=
|
6
|
+
odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=Sl3e7QgJomoJKdDI85cSMg09BHgxK3IwHHE4E_1MfAs,26250
|
7
7
|
odoo/addons/account_reconcile_oca/i18n/ca.po,sha256=RoTNlADuJhgQ_ElabXWViCQJ2Z1CK-EHT3jH53mnZGM,28078
|
8
8
|
odoo/addons/account_reconcile_oca/i18n/es.po,sha256=7URuRFpoH8vxfbrZiPawHn8fY7JShVIff3y1Lj7KhtI,28949
|
9
9
|
odoo/addons/account_reconcile_oca/i18n/fr.po,sha256=RBaZBVI69TSIKAH1cP6V3oBEqFxuP3cu868Tw1yACpM,28341
|
@@ -19,7 +19,7 @@ odoo/addons/account_reconcile_oca/i18n/zh_CN.po,sha256=ILUDUbsuaR12dfjEEYGXlMa-V
|
|
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=XXLkq9g4_6x6vZQIAr3i7r-_OJ8vwvC1dTanvL5eWGg,7452
|
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=YJMSkGvYGF0K0GJlbxXc7cA0ZO0sWUTHwWXpN8aehvI,53687
|
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=XJb9P7PWb7EzWnABzUzjODA4ybK1-91mMhbuM1IRz7o,5101
|
@@ -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=mH5oRuYGA2CG8gzWHcJzNl3uJck45kUGbBElsQwK3hc,14006
|
36
36
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=k85Scd4skR5y56TvFVEqB_uf7vCD9Y7RpInETuNBAc8,4891
|
37
37
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=ewNK1VQgFZWccTiyJMKYkOG6KtbHHVnI2pdNy9kjkig,467
|
38
38
|
odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=9NSr3iZ7H_QGTpixW5D4WEJuD_u4KRpdYwRmKqcML_k,2117
|
@@ -58,12 +58,12 @@ odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=5T
|
|
58
58
|
odoo/addons/account_reconcile_oca/views/account_account.xml,sha256=0RiPmzfRUj54oMYKWM7mLnZL-5IhI5W8fiRruHL0SYc,866
|
59
59
|
odoo/addons/account_reconcile_oca/views/account_account_reconcile.xml,sha256=2FKosNTl4hVC_yVq8uRzZvMMrXyEttK_YTsdnV8o0NI,7016
|
60
60
|
odoo/addons/account_reconcile_oca/views/account_bank_statement.xml,sha256=QrjQZ3OTsnbopdLnnsFaZ0f7ncLkOUbtVj9osXdxw5k,2436
|
61
|
-
odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml,sha256=
|
61
|
+
odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml,sha256=osgKE8XUUJPANCazrjgAm4WfoyKqV2gY6ayh5ifNLnc,22092
|
62
62
|
odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=T5tZ5Ev0psYp78f3NkNVJjWMUOssYJ7WzLpsMKyOvI4,3378
|
63
63
|
odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=BnvchVpOJ31M-kCoe6AHDxHMfrEEgJTPPysxguX3xgE,975
|
64
64
|
odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=Kr_ET1IAat3B8UoW6VPQO3q88JLVdE5-5jpb13ioCbY,5405
|
65
65
|
odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=PxIqWILg_L_ahR-SDlDWEqWDJKNumPRifFAGF0BG57E,807
|
66
|
-
odoo_addon_account_reconcile_oca-17.0.1.5.
|
67
|
-
odoo_addon_account_reconcile_oca-17.0.1.5.
|
68
|
-
odoo_addon_account_reconcile_oca-17.0.1.5.
|
69
|
-
odoo_addon_account_reconcile_oca-17.0.1.5.
|
66
|
+
odoo_addon_account_reconcile_oca-17.0.1.5.18.dist-info/METADATA,sha256=8k3xlaspUdbXxYAax-nTCC96Wco2U0pKrS0Oha4t7pA,4591
|
67
|
+
odoo_addon_account_reconcile_oca-17.0.1.5.18.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
68
|
+
odoo_addon_account_reconcile_oca-17.0.1.5.18.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
69
|
+
odoo_addon_account_reconcile_oca-17.0.1.5.18.dist-info/RECORD,,
|
File without changes
|