odoo-addon-account-reconcile-oca 16.0.1.2.10__py3-none-any.whl → 16.0.1.2.12__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:d9953a0cdfb581fb43423f15451cf6022c99a95ed64b3b8458a497166ebaa6d3
10
+ !! source digest: sha256:7fe40b33ad622d1d511a9203e3e94c024050eb427a77330a46a60977c6ce423b
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": "16.0.1.2.10",
8
+ "version": "16.0.1.2.12",
9
9
  "license": "AGPL-3",
10
10
  "author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
11
11
  "maintainers": ["etobella"],
@@ -130,7 +130,9 @@ class AccountBankStatementLine(models.Model):
130
130
  for line in data:
131
131
  if line["kind"] != "suspense":
132
132
  pending_amount += line["amount"]
133
- if line.get("counterpart_line_id") == self.add_account_move_line_id.id:
133
+ if self.add_account_move_line_id.id in line.get(
134
+ "counterpart_line_ids", []
135
+ ):
134
136
  is_new_line = False
135
137
  else:
136
138
  new_data.append(line)
@@ -161,8 +163,8 @@ class AccountBankStatementLine(models.Model):
161
163
  suspense_line = False
162
164
  counterparts = []
163
165
  for line in data:
164
- if line.get("counterpart_line_id"):
165
- counterparts.append(line["counterpart_line_id"])
166
+ if line.get("counterpart_line_ids"):
167
+ counterparts += line["counterpart_line_ids"]
166
168
  if (
167
169
  line["account_id"][0] == self.journal_id.suspense_account_id.id
168
170
  or not line["account_id"][0]
@@ -524,10 +526,10 @@ class AccountBankStatementLine(models.Model):
524
526
  )
525
527
  .create(self._reconcile_move_line_vals(line_vals))
526
528
  )
527
- if line_vals.get("counterpart_line_id"):
529
+ if line_vals.get("counterpart_line_ids"):
528
530
  to_reconcile.append(
529
531
  self.env["account.move.line"].browse(
530
- line_vals.get("counterpart_line_id")
532
+ line_vals.get("counterpart_line_ids")
531
533
  )
532
534
  + line
533
535
  )
@@ -590,10 +592,10 @@ class AccountBankStatementLine(models.Model):
590
592
  .with_context(check_move_validity=False, skip_invoice_sync=True)
591
593
  .create(self._reconcile_move_line_vals(line_vals, move.id))
592
594
  )
593
- if line_vals.get("counterpart_line_id") and line.account_id.reconcile:
595
+ if line_vals.get("counterpart_line_ids") and line.account_id.reconcile:
594
596
  to_reconcile[line.account_id.id] |= (
595
597
  self.env["account.move.line"].browse(
596
- line_vals.get("counterpart_line_id")
598
+ line_vals.get("counterpart_line_ids")
597
599
  )
598
600
  | line
599
601
  )
@@ -86,10 +86,10 @@ class AccountReconcileAbstract(models.AbstractModel):
86
86
  vals.update(
87
87
  {
88
88
  "id": False,
89
- "counterpart_line_id": (
89
+ "counterpart_line_ids": (
90
90
  line.matched_debit_ids.mapped("debit_move_id")
91
91
  | line.matched_credit_ids.mapped("credit_move_id")
92
- ).id,
92
+ ).ids,
93
93
  }
94
94
  )
95
95
  if not float_is_zero(
@@ -98,5 +98,5 @@ class AccountReconcileAbstract(models.AbstractModel):
98
98
  vals["original_amount"] = abs(original_amount)
99
99
  vals["original_amount_unsigned"] = original_amount
100
100
  if is_counterpart:
101
- vals["counterpart_line_id"] = line.id
101
+ vals["counterpart_line_ids"] = line.ids
102
102
  return vals
@@ -366,7 +366,7 @@ ul.auto-toc {
366
366
  !! This file is generated by oca-gen-addon-readme !!
367
367
  !! changes will be overwritten. !!
368
368
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:d9953a0cdfb581fb43423f15451cf6022c99a95ed64b3b8458a497166ebaa6d3
369
+ !! source digest: sha256:7fe40b33ad622d1d511a9203e3e94c024050eb427a77330a46a60977c6ce423b
370
370
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
371
  <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/16.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-16-0/account-reconcile-16-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=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
372
  <p>This addon allows to reconcile bank statements and account marked as <cite>reconcile</cite>.</p>
@@ -83,7 +83,7 @@
83
83
  <td>
84
84
  <span
85
85
  t-esc="reconcile_line.partner_id[1]"
86
- t-if="reconcile_line.partner_id"
86
+ t-if="reconcile_line.partner_id and reconcile_line.partner_id[1]"
87
87
  />
88
88
  </td>
89
89
  <td t-esc="reconcile_line.date_format" />
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account-reconcile-oca
3
- Version: 16.0.1.2.10
3
+ Version: 16.0.1.2.12
4
4
  Summary: Reconcile addons for Odoo CE accounting
5
5
  Home-page: https://github.com/OCA/account-reconcile
6
6
  Author: CreuBlanca,Dixmit,Odoo Community Association (OCA)
@@ -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:d9953a0cdfb581fb43423f15451cf6022c99a95ed64b3b8458a497166ebaa6d3
27
+ !! source digest: sha256:7fe40b33ad622d1d511a9203e3e94c024050eb427a77330a46a60977c6ce423b
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=FW-_VTa6mEMcJaXrWdrsY537rozvWFnAEWcw6cnzR_k,3709
1
+ odoo/addons/account_reconcile_oca/README.rst,sha256=LygShVQvOcBexQJFU-jpfHhc16wI0O0y1Ilu3dnLA74,3709
2
2
  odoo/addons/account_reconcile_oca/__init__.py,sha256=vqRYeBgCVZMpZhYvILSxVsNLC9V7zDnvxMnKU8RQP94,55
3
- odoo/addons/account_reconcile_oca/__manifest__.py,sha256=qyhazMMMY6crDQjLswGIQZhxNk7FUfGi7cXkk4qAUoQ,1742
3
+ odoo/addons/account_reconcile_oca/__manifest__.py,sha256=6jzntiGQt0_3fBcxGT-wAoWtOQRFv-GZmKCQ2DPI55k,1742
4
4
  odoo/addons/account_reconcile_oca/hooks.py,sha256=l2-vYiPh-Wu_4Hi3GvfoUmc527S-Jozb07-DbP6LzDA,187
5
5
  odoo/addons/account_reconcile_oca/demo/demo.xml,sha256=6k0uK-H1aBiyogVNhQMQfFGL5zUfUGV2M-sSV6LHeUs,204
6
6
  odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=7w56WP2yijfF6A5_SyRH2yyvVp41GBuDujDz2lfKghw,21966
@@ -16,17 +16,17 @@ odoo/addons/account_reconcile_oca/i18n/tr.po,sha256=dalBH3TIcm_QV7do7PjYm--po81J
16
16
  odoo/addons/account_reconcile_oca/migrations/16.0.1.2.0/pre-migration.py,sha256=Z_OLx-fclggJUAtYpepXRAAc68AizrIN6MWtl4zp0Qw,642
17
17
  odoo/addons/account_reconcile_oca/models/__init__.py,sha256=dINawjlPnSpoOp0EIglDSILEqCMBAcHc--W1gB6Bcdg,185
18
18
  odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=Yyd1ww8ybpC4s6YiM2Z_oVLR2pkBEn6Wx6yRYpiYI-Q,6282
19
- odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=H98iWPsdfMc1Vjcy40hiLVMOKN_pNeNYwrTX00PvzvA,30548
19
+ odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=cXzPHVfJSyUzVwiyWZkrafHAX-PTDRESPEpZbSbL4Yg,30592
20
20
  odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=4qAsIF4eiKIU1DH16THZVqalZaSKUSsAMiAHEzK1y1k,584
21
21
  odoo/addons/account_reconcile_oca/models/account_move_line.py,sha256=hfM8zL0Xee-AVIR91qzMr6oNWKeLhE8vwxmsvOPHoj8,1218
22
- odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py,sha256=06CN-On-1IEE_fnLyFkpWplvH0NbOzfzBQOR9h4BjVU,4068
22
+ odoo/addons/account_reconcile_oca/models/account_reconcile_abstract.py,sha256=RXnBqfV8mSHv3dVjy-752l1ALZ9rfQLxR_xz5mdyTOQ,4072
23
23
  odoo/addons/account_reconcile_oca/readme/CONTRIBUTORS.rst,sha256=GAYxzAZEN5wTBewMNx4PD2y_QoI-dzpokacQ9NnaEso,16
24
24
  odoo/addons/account_reconcile_oca/readme/DESCRIPTION.rst,sha256=nc8nUT3VmwXIXvJXpq_hj2MeJzNnpsByDS4G3elJsrU,82
25
25
  odoo/addons/account_reconcile_oca/readme/ROADMAP.rst,sha256=MlQ8cFQmu5MzBoFW2WP_WGKVTLQK-9RCMgCjGT-TAJU,104
26
26
  odoo/addons/account_reconcile_oca/readme/USAGE.rst,sha256=npPsx_C8T-JuCEJiTK4V44_5Io1j4ltO831T3yHFuCs,396
27
27
  odoo/addons/account_reconcile_oca/security/ir.model.access.csv,sha256=XfN2EKOoChlEDonVd5DtodVAQyRbShiJ8nrXx6EwNmM,339
28
28
  odoo/addons/account_reconcile_oca/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
29
- odoo/addons/account_reconcile_oca/static/description/index.html,sha256=4yTnc0y2GywnHfiOjssT78AlZQzZ30blnVJuGJueaVU,13746
29
+ odoo/addons/account_reconcile_oca/static/description/index.html,sha256=L_lMZMVOk-No8IZ4Jm8561DlB5jbYCXlNE_XoDoTRHs,13746
30
30
  odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=vWiMfhwSjORjnUDiuoy1p_4jXma0W0iKogwdIzvxVss,3578
31
31
  odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_kanban_record.esm.js,sha256=ewNK1VQgFZWccTiyJMKYkOG6KtbHHVnI2pdNy9kjkig,467
32
32
  odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_renderer.esm.js,sha256=FJ0AFqv0OuMv7eeBoYtvIS6c4xtEgT7K98MdmKDCpGk,474
@@ -45,7 +45,7 @@ odoo/addons/account_reconcile_oca/static/src/js/widgets/reconcile_data_widget.es
45
45
  odoo/addons/account_reconcile_oca/static/src/js/widgets/reconcile_move_line_widget.esm.js,sha256=s_GHeElGkhsa2nQvd0eKxXdrsMPL2g0YfPC-REyUqew,1604
46
46
  odoo/addons/account_reconcile_oca/static/src/js/widgets/selection_badge_uncheck.esm.js,sha256=zH2cqAerAF4cYDQMyMYTeFKoPIo1v_UmeFyPiwAz8tM,943
47
47
  odoo/addons/account_reconcile_oca/static/src/scss/reconcile.scss,sha256=MxV3I2M-aNlt7UiZBaZEl8jQfI1iVTUVP9dSm8kwCmQ,2236
48
- odoo/addons/account_reconcile_oca/static/src/xml/reconcile.xml,sha256=8wo2naYKoDniQWEXEzbsBQ4AQyS5jcvfz2UOd20jMR8,6823
48
+ odoo/addons/account_reconcile_oca/static/src/xml/reconcile.xml,sha256=spo3rMMoOsfzzZxkCCmI5idr19y5f9xxQFC6A7cqurg,6856
49
49
  odoo/addons/account_reconcile_oca/tests/__init__.py,sha256=8JhP4auByShS8Z_Ik5dShMuWdh1kBlYP_DLI4Ku8XWA,79
50
50
  odoo/addons/account_reconcile_oca/tests/test_account_reconcile.py,sha256=opQs4FgChPdphc25Jzs07TuYxoVGBCj6IAPueMLNkH0,10576
51
51
  odoo/addons/account_reconcile_oca/tests/test_bank_account_reconcile.py,sha256=RnWWQIhXINja99G9Fs7O_RQowJnwfy80yOYL7C0EL7Y,38809
@@ -55,7 +55,7 @@ odoo/addons/account_reconcile_oca/views/account_bank_statement_line.xml,sha256=g
55
55
  odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=uThFanMcE_i_m_016xnBtMPQkLkZT3qxh9dySI0-VqE,3204
56
56
  odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=EwbPYENnMYA6eRAz8N-l3qBosjOzw-S77sJ3a46meMU,934
57
57
  odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=dhS-fHYzDDoe1OyVMiCMrMGl41LobwmwbfMf3CZyL1U,5242
58
- odoo_addon_account_reconcile_oca-16.0.1.2.10.dist-info/METADATA,sha256=x-fWbzmOoU7eMq-Xj6ZamjMtbz-ZWEjbatVtN_cvm1g,4345
59
- odoo_addon_account_reconcile_oca-16.0.1.2.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
60
- odoo_addon_account_reconcile_oca-16.0.1.2.10.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
61
- odoo_addon_account_reconcile_oca-16.0.1.2.10.dist-info/RECORD,,
58
+ odoo_addon_account_reconcile_oca-16.0.1.2.12.dist-info/METADATA,sha256=0V8BC7lofjBRZb87EyslBYIuKqxApzaAxfDjU1AuII4,4345
59
+ odoo_addon_account_reconcile_oca-16.0.1.2.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
60
+ odoo_addon_account_reconcile_oca-16.0.1.2.12.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
61
+ odoo_addon_account_reconcile_oca-16.0.1.2.12.dist-info/RECORD,,