odoo-addon-account-payment-order 17.0.1.4.2.2__py3-none-any.whl → 17.0.1.4.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.
@@ -7,7 +7,7 @@ Account Payment Order
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:34262e956520d4690ac7430df127e9b241b48fc2aa8e51bba4f7c5951b282f56
10
+ !! source digest: sha256:66ab4156ac8d8456a3515c92a640b61253c42cf525f14854073d4bee15d1b8c4
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |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": "17.0.1.4.2",
12
+ "version": "17.0.1.4.3",
13
13
  "license": "AGPL-3",
14
14
  "author": "ACSONE SA/NV, "
15
15
  "Therp BV, "
@@ -45,6 +45,15 @@ class AccountPayment(models.Model):
45
45
  for item in self:
46
46
  item.payment_line_date = item.payment_line_ids[:1].date
47
47
 
48
+ @api.depends("payment_line_ids")
49
+ def _compute_partner_bank_id(self):
50
+ # Force the payment line bank account. The grouping function has already
51
+ # assured that there's no more than one bank account in the group
52
+ order_pays = self.filtered("payment_line_ids")
53
+ for pay in order_pays:
54
+ pay.partner_bank_id = pay.payment_line_ids.partner_bank_id
55
+ return super(AccountPayment, self - order_pays)._compute_partner_bank_id()
56
+
48
57
  def update_payment_reference(self):
49
58
  view = self.env.ref("account_payment_order.account_payment_update_view_form")
50
59
  return {
@@ -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:34262e956520d4690ac7430df127e9b241b48fc2aa8e51bba4f7c5951b282f56
370
+ !! source digest: sha256:66ab4156ac8d8456a3515c92a640b61253c42cf525f14854073d4bee15d1b8c4
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-payment/tree/17.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-17-0/bank-payment-17-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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>This module adds support for payment orders and debit orders.</p>
@@ -203,6 +203,7 @@ class TestPaymentOrderOutbound(TestPaymentOrderOutboundBase):
203
203
  line_created_due.create_payment_lines()
204
204
  self.assertGreater(len(order.payment_line_ids), 0)
205
205
  order.draft2open()
206
+ self.assertEqual(order.payment_ids[0].partner_bank_id, self.partner.bank_ids)
206
207
  order.open2generated()
207
208
  order.generated2uploaded()
208
209
  self.assertEqual(order.move_ids[0].date, order.payment_ids[0].date)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_payment_order
3
- Version: 17.0.1.4.2.2
3
+ Version: 17.0.1.4.3
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-account_payment_partner>=17.0dev,<17.1dev
6
6
  Requires-Dist: odoo>=17.0a,<17.1dev
@@ -24,7 +24,7 @@ Account Payment Order
24
24
  !! This file is generated by oca-gen-addon-readme !!
25
25
  !! changes will be overwritten. !!
26
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
- !! source digest: sha256:34262e956520d4690ac7430df127e9b241b48fc2aa8e51bba4f7c5951b282f56
27
+ !! source digest: sha256:66ab4156ac8d8456a3515c92a640b61253c42cf525f14854073d4bee15d1b8c4
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -1,6 +1,6 @@
1
- odoo/addons/account_payment_order/README.rst,sha256=R0mGHFULdcXm5IEcHmJFkSIA4zA2gDoyejmOwpL5nwc,4680
1
+ odoo/addons/account_payment_order/README.rst,sha256=qkzlYwmJUXFsSo7irqBYmBeosYEDVuicl-U7oCGj8jc,4680
2
2
  odoo/addons/account_payment_order/__init__.py,sha256=HVXFv0Gbl3gl3fcRBZhi3rlZgriQVo_8LiEgUjtkcFs,96
3
- odoo/addons/account_payment_order/__manifest__.py,sha256=lQGek1UkezELPMPDXzPZg64BBlLKGuEZUVyeQL8gnUQ,1606
3
+ odoo/addons/account_payment_order/__manifest__.py,sha256=3x4rQhrE7JCwzYvbKYTHpNogRZZvldNdrmKjU83iwEg,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
@@ -48,7 +48,7 @@ odoo/addons/account_payment_order/models/__init__.py,sha256=AB9PJLjHR7TmbreS6BTH
48
48
  odoo/addons/account_payment_order/models/account_journal.py,sha256=J5PwsFBj61Jn7mnpd2e61hEo-2mYVQycxpV5zUXmTrs,1188
49
49
  odoo/addons/account_payment_order/models/account_move.py,sha256=4ed_De8rw0nkO2P5TVkh8REQQbBCT15VMbbomwVfzPI,9991
50
50
  odoo/addons/account_payment_order/models/account_move_line.py,sha256=SLPNyIOWmE40FzkKsMIkhRVXc_UbSwJ9PICKj4AlDco,3783
51
- odoo/addons/account_payment_order/models/account_payment.py,sha256=F0IHzXhxxNg3sLhgaF-XPi84LdmvE1GsNWAWozarTTI,3013
51
+ odoo/addons/account_payment_order/models/account_payment.py,sha256=b4BV4NQSLNZkfPABvs8SKYiQ0VomuJLT9Mpyps4tD4w,3486
52
52
  odoo/addons/account_payment_order/models/account_payment_line.py,sha256=64Foji2I2dnK1Ec-6tviRVr2xWxpvI0ssEaKnXFOMvI,9443
53
53
  odoo/addons/account_payment_order/models/account_payment_method.py,sha256=z1_LzvZY17SPRTwT2XwHFyUfy2YN3m00WA62gznPzcE,431
54
54
  odoo/addons/account_payment_order/models/account_payment_mode.py,sha256=uONi4ezJRHHbTeD1cDiUDWorvoGnWnKeqTVGHsohJRM,3589
@@ -66,13 +66,13 @@ odoo/addons/account_payment_order/report/print_account_payment_order.xml,sha256=
66
66
  odoo/addons/account_payment_order/security/ir.model.access.csv,sha256=DquU4QYd706_JxewPT0eAy4pc37FeGcoynOqUmu45kc,1211
67
67
  odoo/addons/account_payment_order/security/payment_security.xml,sha256=kfkYDi4hkrQCm8lRUUIrqQoibzN8h67H2qV_mj390eQ,1248
68
68
  odoo/addons/account_payment_order/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
69
- odoo/addons/account_payment_order/static/description/index.html,sha256=WSe77JlWzWqGBMnW_6_gSUhNRptnZCqysy2dzEOjva4,16031
69
+ odoo/addons/account_payment_order/static/description/index.html,sha256=Xxk75rtLppWrHpIpABb09bEJAHHd1xnSp7dwfvOkI6M,16031
70
70
  odoo/addons/account_payment_order/tests/__init__.py,sha256=lOx5jg7LBTMs0mXira6LpqK_dNDUbPa5nViWWAug7xc,174
71
71
  odoo/addons/account_payment_order/tests/test_account_payment.py,sha256=D_gDXDO94gpgANHEJx6cCIHh7em2GOXZqhWqqav4XVw,6787
72
72
  odoo/addons/account_payment_order/tests/test_bank.py,sha256=4d1l8o43-Gy_D7d24Na-E7T9o5ALAgtn8xD7JWJJ2UQ,403
73
73
  odoo/addons/account_payment_order/tests/test_payment_mode.py,sha256=ek_ypq8ignQPMzFoDT3JR53tZ00Utfc5TY5W3Htx01A,3300
74
74
  odoo/addons/account_payment_order/tests/test_payment_order_inbound.py,sha256=SN_6o_xQDW2gWp1_6-iBSvzYydXi-XeHd5QMTw55WLk,8059
75
- odoo/addons/account_payment_order/tests/test_payment_order_outbound.py,sha256=JDxT8EvO3IaH2lDzXn7KFtnK8MwqUO_nY40IiTU_x4s,17986
75
+ odoo/addons/account_payment_order/tests/test_payment_order_outbound.py,sha256=RmjWVnp0yF0vRF-bQURVxthbQ8Wd18IgMeFLv7vPgO8,18072
76
76
  odoo/addons/account_payment_order/views/account_invoice_view.xml,sha256=JCD_j1AM25g9o12AW9LfmZOrNUrWUJNWY-Nrulj1018,4190
77
77
  odoo/addons/account_payment_order/views/account_move_line.xml,sha256=MZDzWzwWVO9HkMT0dmGJHJuLNmYo2gtgga3ls6iBWyk,2373
78
78
  odoo/addons/account_payment_order/views/account_payment_line.xml,sha256=CiKzHP5Sy7UA1xtpTta5Dq0VZD4Own1K5SxxtYiAZxg,4965
@@ -88,7 +88,7 @@ odoo/addons/account_payment_order/wizard/account_payment_line_create.py,sha256=F
88
88
  odoo/addons/account_payment_order/wizard/account_payment_line_create_view.xml,sha256=Ln0tzR3xytjZdSuzWSc6X4MQxUG2vPxqfiPSo5JCguc,4532
89
89
  odoo/addons/account_payment_order/wizard/account_payment_update.py,sha256=20_tas7P85zDv1A-LyG5UTjKdx9EJy-0vKldt1n3Tt8,547
90
90
  odoo/addons/account_payment_order/wizard/account_payment_update_views.xml,sha256=NW4YiMhhmM5xCJ5n86KNPtn5xRnCmvzuwRw-BmRiBMM,979
91
- odoo_addon_account_payment_order-17.0.1.4.2.2.dist-info/METADATA,sha256=LOAkdnC3cpNLpNwZktY-S3h04vsujDWxtwIETyaX_KU,5345
92
- odoo_addon_account_payment_order-17.0.1.4.2.2.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
93
- odoo_addon_account_payment_order-17.0.1.4.2.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
94
- odoo_addon_account_payment_order-17.0.1.4.2.2.dist-info/RECORD,,
91
+ odoo_addon_account_payment_order-17.0.1.4.3.dist-info/METADATA,sha256=Cbf5XOA6xrehoLJygmzwrlKRao0tcmYjZu13sRV1-Xo,5343
92
+ odoo_addon_account_payment_order-17.0.1.4.3.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
93
+ odoo_addon_account_payment_order-17.0.1.4.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
94
+ odoo_addon_account_payment_order-17.0.1.4.3.dist-info/RECORD,,