odoo-addon-account-reconcile-oca 18.0.1.0.0.7__py3-none-any.whl → 18.0.1.0.2__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.
@@ -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:724ba0bf29e558813ec81c62b41fb300550d68da0570edf8e00e438ffc0ee5c9
10
+ !! source digest: sha256:55ee6428583abe284076024bdc392cccdd09aa32d1c1a03b934cf62eb5ff7d98
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.0",
8
+ "version": "18.0.1.0.2",
9
9
  "license": "AGPL-3",
10
10
  "author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
11
11
  "maintainers": ["etobella"],
@@ -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, self._retrieve_partner().id
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(
@@ -1282,3 +1287,11 @@ class AccountBankStatementLine(models.Model):
1282
1287
  for line in lines:
1283
1288
  self._add_account_move_line(line, keep_current=True)
1284
1289
  return res
1290
+
1291
+ def _retrieve_partner(self):
1292
+ if self.env.context.get("skip_retrieve_partner"):
1293
+ # This hook can be used, for example, when importing files.
1294
+ # With large databases, we already have the information, moreover,
1295
+ # the data might be preloaded, so it has no sense to import it again
1296
+ return self.partner_id
1297
+ return super()._retrieve_partner()
@@ -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:724ba0bf29e558813ec81c62b41fb300550d68da0570edf8e00e438ffc0ee5c9
370
+ !! source digest: sha256:55ee6428583abe284076024bdc392cccdd09aa32d1c1a03b934cf62eb5ff7d98
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&amp;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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_reconcile_oca
3
- Version: 18.0.1.0.0.7
3
+ Version: 18.0.1.0.2
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:724ba0bf29e558813ec81c62b41fb300550d68da0570edf8e00e438ffc0ee5c9
27
+ !! source digest: sha256:55ee6428583abe284076024bdc392cccdd09aa32d1c1a03b934cf62eb5ff7d98
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=TZhpEwdO94aheAhzcwiuDObhuklwXGRl7OhmgUEO434,3703
1
+ odoo/addons/account_reconcile_oca/README.rst,sha256=Nky5KKvxUF-ZStHN2uqO53lVsvHm3J9KGmGsDKff4yA,3703
2
2
  odoo/addons/account_reconcile_oca/__init__.py,sha256=vqRYeBgCVZMpZhYvILSxVsNLC9V7zDnvxMnKU8RQP94,55
3
- odoo/addons/account_reconcile_oca/__manifest__.py,sha256=QGk6UWelYg3z4ea_wPfjlPbio5fX9Ngd6BXnAppLf3E,1865
3
+ odoo/addons/account_reconcile_oca/__manifest__.py,sha256=RuneUWk2PMnchhsYD_K8k7JbT13E1TH9Dj_ypRqpnys,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=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=X7fIC_yQzczUo7WN05e2e8Bh0zc7TNy7ku42qtBapC4,52454
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=_u0-GAScPvSm2kDIr220EM60JWc362ItC6FXHvUDjNU,13790
34
+ odoo/addons/account_reconcile_oca/static/description/index.html,sha256=5beEEuxt-bHcFZghlZNkvpM6MfDgy5-HDlIFgYvr8oM,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
@@ -62,7 +62,7 @@ odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=kO9TjjowUBV-4
62
62
  odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=DmtEGKT5R8QwI_xEAZH1l8tC6pe-GlIQtb4tikHK3z0,971
63
63
  odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=a1AqrG0ppplhiAWXabwjbLrvFCatBHys2xNoHxtTgCE,5324
64
64
  odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=uO3fyDQanxF_UfJ2ggc4H9t6gO2cKGMh08IOQemoudc,803
65
- odoo_addon_account_reconcile_oca-18.0.1.0.0.7.dist-info/METADATA,sha256=y5AZvUxeBnXzpFiIzeokrC2Yhr-pntWT1DNfFwPU9mA,4362
66
- odoo_addon_account_reconcile_oca-18.0.1.0.0.7.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
67
- odoo_addon_account_reconcile_oca-18.0.1.0.0.7.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
68
- odoo_addon_account_reconcile_oca-18.0.1.0.0.7.dist-info/RECORD,,
65
+ odoo_addon_account_reconcile_oca-18.0.1.0.2.dist-info/METADATA,sha256=pv9UC8hROfIN5wDhRVlNfSD9JGutquHf218v_qBE2sk,4360
66
+ odoo_addon_account_reconcile_oca-18.0.1.0.2.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
67
+ odoo_addon_account_reconcile_oca-18.0.1.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
68
+ odoo_addon_account_reconcile_oca-18.0.1.0.2.dist-info/RECORD,,