odoo-addon-account-payment-order 18.0.1.2.2.1__py3-none-any.whl → 18.0.1.2.3__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.
@@ -11,7 +11,7 @@ Account Payment Order
11
11
  !! This file is generated by oca-gen-addon-readme !!
12
12
  !! changes will be overwritten. !!
13
13
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14
- !! source digest: sha256:2ce90a207180781d129a58398eab1dc58fb2d2da3526a1db9994da3ca322c792
14
+ !! source digest: sha256:75ce664f0a1429d49d1fe97ec15acaf229bd13059242956183c5e06df6b3e8f0
15
15
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
16
 
17
17
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -9,7 +9,7 @@
9
9
 
10
10
  {
11
11
  "name": "Account Payment Order",
12
- "version": "18.0.1.2.2",
12
+ "version": "18.0.1.2.3",
13
13
  "license": "AGPL-3",
14
14
  "author": "ACSONE SA/NV, "
15
15
  "Therp BV, "
@@ -257,6 +257,14 @@ class AccountPaymentOrder(models.Model):
257
257
  self.write({"state": "cancel"})
258
258
  return True
259
259
 
260
+ def _group_payment_lines(self):
261
+ """
262
+ Return True if payment lines should be grouped by the hashcode,
263
+ False otherwise.
264
+ """
265
+ self.ensure_one()
266
+ return self.payment_mode_id.group_lines
267
+
260
268
  def draft2open(self):
261
269
  """
262
270
  Called when you click on the 'Confirm' button
@@ -330,7 +338,7 @@ class AccountPaymentOrder(models.Model):
330
338
  # Group options
331
339
  hashcode = (
332
340
  payline.payment_line_hashcode()
333
- if order.payment_mode_id.group_lines
341
+ if order._group_payment_lines()
334
342
  else payline.id
335
343
  )
336
344
  if hashcode in group_paylines:
@@ -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:2ce90a207180781d129a58398eab1dc58fb2d2da3526a1db9994da3ca322c792
375
+ !! source digest: sha256:75ce664f0a1429d49d1fe97ec15acaf229bd13059242956183c5e06df6b3e8f0
376
376
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
377
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.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/bank-payment/tree/18.0/account_payment_order"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-18-0/bank-payment-18-0-account_payment_order"><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/bank-payment&amp;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 module adds support for payment orders and debit orders.</p>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_payment_order
3
- Version: 18.0.1.2.2.1
3
+ Version: 18.0.1.2.3
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-account_payment_partner==18.0.*
6
6
  Requires-Dist: odoo==18.0.*
@@ -29,7 +29,7 @@ Account Payment Order
29
29
  !! This file is generated by oca-gen-addon-readme !!
30
30
  !! changes will be overwritten. !!
31
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
- !! source digest: sha256:2ce90a207180781d129a58398eab1dc58fb2d2da3526a1db9994da3ca322c792
32
+ !! source digest: sha256:75ce664f0a1429d49d1fe97ec15acaf229bd13059242956183c5e06df6b3e8f0
33
33
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
34
34
 
35
35
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -1,6 +1,6 @@
1
- odoo/addons/account_payment_order/README.rst,sha256=mjKpgse-RW1KYvVGqPZaEr-0xhfDBeBFVH4NIyp07Fo,4827
1
+ odoo/addons/account_payment_order/README.rst,sha256=Hzhd8A3OFO2hzQnTh3aAL3hJO3QWJziTUbiO82oBW1o,4827
2
2
  odoo/addons/account_payment_order/__init__.py,sha256=HVXFv0Gbl3gl3fcRBZhi3rlZgriQVo_8LiEgUjtkcFs,96
3
- odoo/addons/account_payment_order/__manifest__.py,sha256=Qv0tG5xCwfV7iePvtBHQ8BDdPj5qwIoGnU49qCZMcj8,1606
3
+ odoo/addons/account_payment_order/__manifest__.py,sha256=rwzDS1oi_9xivjRPkfq-m14VUchvgFiSsuCOC15i_7c,1606
4
4
  odoo/addons/account_payment_order/hooks.py,sha256=XQDHFvlq4pQCJoEM6sY01Vh6kOgG6JFP3DPNPliyntA,667
5
5
  odoo/addons/account_payment_order/data/payment_seq.xml,sha256=EKeoSUKlM3TH7vljq7tj6XvPJMMQu8IMtwKC_LM4C4A,864
6
6
  odoo/addons/account_payment_order/demo/payment_demo.xml,sha256=-qNu7yLwK9I80Ol6YfwoccqpSsCHx2kSumcp2WlgsxU,1412
@@ -53,7 +53,7 @@ odoo/addons/account_payment_order/models/account_payment.py,sha256=LuuMhhq2UMt0n
53
53
  odoo/addons/account_payment_order/models/account_payment_line.py,sha256=LqUdoNKMlznKNL7AUgN4ycc280IA50tgFsA5d4jMXa0,9704
54
54
  odoo/addons/account_payment_order/models/account_payment_method.py,sha256=z1_LzvZY17SPRTwT2XwHFyUfy2YN3m00WA62gznPzcE,431
55
55
  odoo/addons/account_payment_order/models/account_payment_mode.py,sha256=uONi4ezJRHHbTeD1cDiUDWorvoGnWnKeqTVGHsohJRM,3589
56
- odoo/addons/account_payment_order/models/account_payment_order.py,sha256=-3yO2RM10LhmG9DEi1fSP3sZjqXoOwkbQ4LHG1yjg1c,17630
56
+ odoo/addons/account_payment_order/models/account_payment_order.py,sha256=PL6aXswS-xECtrgkwou2K3e1XKZj9gij1JCNnDVRuRQ,17857
57
57
  odoo/addons/account_payment_order/models/res_bank.py,sha256=NE2mFJJN99Xbo41aFuj5BvqZcoy8BMAQxn6LRnx6028,852
58
58
  odoo/addons/account_payment_order/readme/CONFIGURE.md,sha256=qbBcBpgDh1iWfaWYEUc1D1G0XCkSS4XFbcIIsXZ5VKE,124
59
59
  odoo/addons/account_payment_order/readme/CONTRIBUTORS.md,sha256=BMSSH4suh2Qr_UkAccXWCZKAHCnmNM7rqiTLZW7ox3I,990
@@ -67,7 +67,7 @@ odoo/addons/account_payment_order/report/print_account_payment_order.xml,sha256=
67
67
  odoo/addons/account_payment_order/security/ir.model.access.csv,sha256=eRNTXBrqKQh6WtYxY3ubNJtIQwZI2xWx-PdFpgtRxJ8,1552
68
68
  odoo/addons/account_payment_order/security/payment_security.xml,sha256=CcCo7CMZh-4lVxmw4YNz8yGskFmIhsKXukAj9mWxIJA,1202
69
69
  odoo/addons/account_payment_order/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
70
- odoo/addons/account_payment_order/static/description/index.html,sha256=PaMANapTS_zYpWcPHnYLVJtZTluL84RgjN-3Wmcl9KY,16269
70
+ odoo/addons/account_payment_order/static/description/index.html,sha256=ep1Ul6t56LgceguaCXmf7pblsvwAu_PWamAtshRY1ZY,16269
71
71
  odoo/addons/account_payment_order/tests/__init__.py,sha256=lOx5jg7LBTMs0mXira6LpqK_dNDUbPa5nViWWAug7xc,174
72
72
  odoo/addons/account_payment_order/tests/test_account_payment.py,sha256=CfF1wbrljRBEhvF1KyIzclmWMQT2TD1MkPSt-PVn42o,5117
73
73
  odoo/addons/account_payment_order/tests/test_bank.py,sha256=NsBI4a58LANtwCNgg_Ds08DR9Zy96Q6RNZ26Xy7-0Fc,961
@@ -89,7 +89,7 @@ odoo/addons/account_payment_order/wizard/account_payment_line_create.py,sha256=t
89
89
  odoo/addons/account_payment_order/wizard/account_payment_line_create_view.xml,sha256=VMUDW0xs3xaivsCwDI8kFLGQzN2NsRp39TgbOIjZiPQ,4132
90
90
  odoo/addons/account_payment_order/wizard/account_payment_update.py,sha256=rn_wvjvSGlBxC6FLXSbPrwW_PcB34Ncrf7Y4LABtcY4,502
91
91
  odoo/addons/account_payment_order/wizard/account_payment_update_views.xml,sha256=_L686GyDuGvvzWL0ECQTOSWkUuS0pedORZR9KH4ff4U,977
92
- odoo_addon_account_payment_order-18.0.1.2.2.1.dist-info/METADATA,sha256=CfYbCwjg8MJ8xLJNvI5z8PHORmlQpI1f3GBMhFV0gkA,5511
93
- odoo_addon_account_payment_order-18.0.1.2.2.1.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
94
- odoo_addon_account_payment_order-18.0.1.2.2.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
95
- odoo_addon_account_payment_order-18.0.1.2.2.1.dist-info/RECORD,,
92
+ odoo_addon_account_payment_order-18.0.1.2.3.dist-info/METADATA,sha256=Au8gB8hhqP1oIEuvJCIht2Vkux1XWU6gD0GHMgH1PsA,5509
93
+ odoo_addon_account_payment_order-18.0.1.2.3.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
94
+ odoo_addon_account_payment_order-18.0.1.2.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
95
+ odoo_addon_account_payment_order-18.0.1.2.3.dist-info/RECORD,,