odoo-addon-account-payment-order 17.0.1.6.0__py3-none-any.whl → 17.0.1.7.0__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:538d2bc60a44af9190831089f5148760ed2c62fa7ac20cc53cdfe766d34e118a
10
+ !! source digest: sha256:3c994e15fbbad1e5f0a5fcc8f8265f936ecefa46b0731b5b345329565d482be7
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -40,9 +40,9 @@ Installation
40
40
 
41
41
  This module depends on:
42
42
 
43
- - account_payment_partner
44
- - base_iban
45
- - document
43
+ - account_payment_partner
44
+ - base_iban
45
+ - document
46
46
 
47
47
  This modules is part of the OCA/bank-payment suite.
48
48
 
@@ -91,40 +91,40 @@ Authors
91
91
  Contributors
92
92
  ------------
93
93
 
94
- - Stéphane Bidoul <stephane.bidoul@acsone.eu>
95
- - Alexis de Lattre <alexis.delattre@akretion.com>
96
- - Adrien Peiffer <adrien.peiffer@acsone.eu>
97
- - Stefan Rijnhart
98
- - Laurent Mignon <laurent.mignon@acsone.eu>
99
- - Alexandre Fayolle
100
- - Danimar Ribeiro
101
- - Erwin van der Ploeg
102
- - Raphaël Valyi
103
- - Sandy Carter
104
- - Angel Moya <angel.moya@domatix.com>
105
- - Jose María Alzaga <jose.alzaga@aselcis.com>
106
- - Meyomesse Gilles <meyomesse.gilles@gmail.com>
107
- - Denis Roussel <denis.roussel@acsone.eu>
108
- - `DynApps <https://www.dynapps.be>`__:
94
+ - Stéphane Bidoul <stephane.bidoul@acsone.eu>
95
+ - Alexis de Lattre <alexis.delattre@akretion.com>
96
+ - Adrien Peiffer <adrien.peiffer@acsone.eu>
97
+ - Stefan Rijnhart
98
+ - Laurent Mignon <laurent.mignon@acsone.eu>
99
+ - Alexandre Fayolle
100
+ - Danimar Ribeiro
101
+ - Erwin van der Ploeg
102
+ - Raphaël Valyi
103
+ - Sandy Carter
104
+ - Angel Moya <angel.moya@domatix.com>
105
+ - Jose María Alzaga <jose.alzaga@aselcis.com>
106
+ - Meyomesse Gilles <meyomesse.gilles@gmail.com>
107
+ - Denis Roussel <denis.roussel@acsone.eu>
108
+ - `DynApps <https://www.dynapps.be>`__:
109
109
 
110
- - Raf Ven <raf.ven@dynapps.be>
110
+ - Raf Ven <raf.ven@dynapps.be>
111
111
 
112
- - Andrea Stirpe <a.stirpe@onestein.nl>
113
- - `Jarsa <https://www.jarsa.com.mx>`__:
112
+ - Andrea Stirpe <a.stirpe@onestein.nl>
113
+ - `Jarsa <https://www.jarsa.com.mx>`__:
114
114
 
115
- - Alan Ramos <alan.ramos@jarsa.com.mx>
115
+ - Alan Ramos <alan.ramos@jarsa.com.mx>
116
116
 
117
- - `Tecnativa <https://www.tecnativa.com>`__:
117
+ - `Tecnativa <https://www.tecnativa.com>`__:
118
118
 
119
- - Pedro M. Baeza
120
- - Carlos Dauden
121
- - Carlos Roca
119
+ - Pedro M. Baeza
120
+ - Carlos Dauden
121
+ - Carlos Roca
122
122
 
123
- - `Open Source Integrators <https://www.opensourceintegrators.com>`__:
123
+ - `Open Source Integrators <https://www.opensourceintegrators.com>`__:
124
124
 
125
- - Ammar Officewala <aofficewala@opensourceintegrators.com>
125
+ - Ammar Officewala <aofficewala@opensourceintegrators.com>
126
126
 
127
- - Marçal Isern <marsal.isern@qubiq.es>
127
+ - Marçal Isern <marsal.isern@qubiq.es>
128
128
 
129
129
  Maintainers
130
130
  -----------
@@ -9,7 +9,7 @@
9
9
 
10
10
  {
11
11
  "name": "Account Payment Order",
12
- "version": "17.0.1.6.0",
12
+ "version": "17.0.1.7.0",
13
13
  "license": "AGPL-3",
14
14
  "author": "ACSONE SA/NV, "
15
15
  "Therp BV, "
@@ -78,19 +78,17 @@ class AccountMove(models.Model):
78
78
  reference_moves |= self.reversal_move_id
79
79
  # Retrieve partial payments - e.g.: manual credit notes
80
80
  (
81
+ # List of triplets
82
+ # (account.partial.reconcile record, amount, account.move.line record)
81
83
  invoice_partials,
82
- exchange_diff_moves,
84
+ # List of account.move IDs
85
+ exchange_diff_move_ids,
83
86
  ) = self._get_reconciled_invoices_partials()
84
- for (
85
- _x,
86
- _y,
87
- payment_move_line,
88
- ) in invoice_partials + exchange_diff_moves:
89
- payment_move = payment_move_line.move_id
90
- if payment_move not in reference_moves:
91
- references.append(
92
- payment_move._get_payment_order_communication_direct()
93
- )
87
+ move_ids = [x[2].move_id.id for x in invoice_partials] + exchange_diff_move_ids
88
+ for move in self.browse(move_ids):
89
+ if move not in reference_moves:
90
+ references.append(move._get_payment_order_communication_direct())
91
+ reference_moves |= move
94
92
  # Add references to communication from lines move
95
93
  if references:
96
94
  communication += " " + " ".join(references)
@@ -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:538d2bc60a44af9190831089f5148760ed2c62fa7ac20cc53cdfe766d34e118a
370
+ !! source digest: sha256:3c994e15fbbad1e5f0a5fcc8f8265f936ecefa46b0731b5b345329565d482be7
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>
@@ -50,13 +50,21 @@
50
50
  <field name="payment_mode_id" position="after">
51
51
  <field name="payment_order_ok" invisible="1" />
52
52
  </field>
53
+ <!-- First we place the rest of the elements for the new reference distribution -->
53
54
  <field name="payment_reference" position="before">
54
- <field
55
- name="reference_type"
56
- readonly="state != 'draft'"
57
- invisible="move_type not in ('out_invoice', 'out_refund')"
58
- required="move_type in ('out_invoice', 'out_refund')"
59
- />
55
+ <label for="payment_reference" />
56
+ <div name="payment_reference_div" class="d-flex">
57
+ <field
58
+ name="reference_type"
59
+ readonly="state != 'draft'"
60
+ invisible="move_type not in ('out_invoice', 'out_refund')"
61
+ required="move_type in ('out_invoice', 'out_refund')"
62
+ />
63
+ </div>
64
+ </field>
65
+ <!-- Then we move the std field, as this can only be on a first level -->
66
+ <field name="reference_type" position="after">
67
+ <field name="payment_reference" position="move" />
60
68
  </field>
61
69
  </field>
62
70
  </record>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_payment_order
3
- Version: 17.0.1.6.0
3
+ Version: 17.0.1.7.0
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:538d2bc60a44af9190831089f5148760ed2c62fa7ac20cc53cdfe766d34e118a
27
+ !! source digest: sha256:3c994e15fbbad1e5f0a5fcc8f8265f936ecefa46b0731b5b345329565d482be7
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
@@ -57,9 +57,9 @@ Installation
57
57
 
58
58
  This module depends on:
59
59
 
60
- - account_payment_partner
61
- - base_iban
62
- - document
60
+ - account_payment_partner
61
+ - base_iban
62
+ - document
63
63
 
64
64
  This modules is part of the OCA/bank-payment suite.
65
65
 
@@ -108,40 +108,40 @@ Authors
108
108
  Contributors
109
109
  ------------
110
110
 
111
- - Stéphane Bidoul <stephane.bidoul@acsone.eu>
112
- - Alexis de Lattre <alexis.delattre@akretion.com>
113
- - Adrien Peiffer <adrien.peiffer@acsone.eu>
114
- - Stefan Rijnhart
115
- - Laurent Mignon <laurent.mignon@acsone.eu>
116
- - Alexandre Fayolle
117
- - Danimar Ribeiro
118
- - Erwin van der Ploeg
119
- - Raphaël Valyi
120
- - Sandy Carter
121
- - Angel Moya <angel.moya@domatix.com>
122
- - Jose María Alzaga <jose.alzaga@aselcis.com>
123
- - Meyomesse Gilles <meyomesse.gilles@gmail.com>
124
- - Denis Roussel <denis.roussel@acsone.eu>
125
- - `DynApps <https://www.dynapps.be>`__:
111
+ - Stéphane Bidoul <stephane.bidoul@acsone.eu>
112
+ - Alexis de Lattre <alexis.delattre@akretion.com>
113
+ - Adrien Peiffer <adrien.peiffer@acsone.eu>
114
+ - Stefan Rijnhart
115
+ - Laurent Mignon <laurent.mignon@acsone.eu>
116
+ - Alexandre Fayolle
117
+ - Danimar Ribeiro
118
+ - Erwin van der Ploeg
119
+ - Raphaël Valyi
120
+ - Sandy Carter
121
+ - Angel Moya <angel.moya@domatix.com>
122
+ - Jose María Alzaga <jose.alzaga@aselcis.com>
123
+ - Meyomesse Gilles <meyomesse.gilles@gmail.com>
124
+ - Denis Roussel <denis.roussel@acsone.eu>
125
+ - `DynApps <https://www.dynapps.be>`__:
126
126
 
127
- - Raf Ven <raf.ven@dynapps.be>
127
+ - Raf Ven <raf.ven@dynapps.be>
128
128
 
129
- - Andrea Stirpe <a.stirpe@onestein.nl>
130
- - `Jarsa <https://www.jarsa.com.mx>`__:
129
+ - Andrea Stirpe <a.stirpe@onestein.nl>
130
+ - `Jarsa <https://www.jarsa.com.mx>`__:
131
131
 
132
- - Alan Ramos <alan.ramos@jarsa.com.mx>
132
+ - Alan Ramos <alan.ramos@jarsa.com.mx>
133
133
 
134
- - `Tecnativa <https://www.tecnativa.com>`__:
134
+ - `Tecnativa <https://www.tecnativa.com>`__:
135
135
 
136
- - Pedro M. Baeza
137
- - Carlos Dauden
138
- - Carlos Roca
136
+ - Pedro M. Baeza
137
+ - Carlos Dauden
138
+ - Carlos Roca
139
139
 
140
- - `Open Source Integrators <https://www.opensourceintegrators.com>`__:
140
+ - `Open Source Integrators <https://www.opensourceintegrators.com>`__:
141
141
 
142
- - Ammar Officewala <aofficewala@opensourceintegrators.com>
142
+ - Ammar Officewala <aofficewala@opensourceintegrators.com>
143
143
 
144
- - Marçal Isern <marsal.isern@qubiq.es>
144
+ - Marçal Isern <marsal.isern@qubiq.es>
145
145
 
146
146
  Maintainers
147
147
  -----------
@@ -1,6 +1,6 @@
1
- odoo/addons/account_payment_order/README.rst,sha256=-avOtvfMNewz4sXFkhovoR3VYs7HbrwjRybK3C5i6mM,4680
1
+ odoo/addons/account_payment_order/README.rst,sha256=1gENGTuKZKHSv4NZRxcunSoAWmqNksvu42PVxIzS-Jw,4645
2
2
  odoo/addons/account_payment_order/__init__.py,sha256=HVXFv0Gbl3gl3fcRBZhi3rlZgriQVo_8LiEgUjtkcFs,96
3
- odoo/addons/account_payment_order/__manifest__.py,sha256=bYf6RNRQbLSZrEe7zqRB6lRUbqWAS9MRN-kSkYa3r1M,1606
3
+ odoo/addons/account_payment_order/__manifest__.py,sha256=XGenWRlV-7Ol13O2qln4yrFNL8lnZPee7ur6biOYJ_M,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
@@ -46,7 +46,7 @@ odoo/addons/account_payment_order/i18n/tr.po,sha256=SUlk-Khe65pfExDYzcZh2EuN6mXI
46
46
  odoo/addons/account_payment_order/i18n/vi.po,sha256=_dx2kGT6_QJBr1d3ewrc47eW9DXnoheYp8bMQ_7ya_c,50326
47
47
  odoo/addons/account_payment_order/models/__init__.py,sha256=AB9PJLjHR7TmbreS6BTHIEbeQvF0dYuk81dgN8_gbKs,285
48
48
  odoo/addons/account_payment_order/models/account_journal.py,sha256=J5PwsFBj61Jn7mnpd2e61hEo-2mYVQycxpV5zUXmTrs,1188
49
- odoo/addons/account_payment_order/models/account_move.py,sha256=4ed_De8rw0nkO2P5TVkh8REQQbBCT15VMbbomwVfzPI,9991
49
+ odoo/addons/account_payment_order/models/account_move.py,sha256=BPqR_fNo3NYHwRQejMF3FpHoM1MKf2_aQbOTsq0Ffd8,10081
50
50
  odoo/addons/account_payment_order/models/account_move_line.py,sha256=SLPNyIOWmE40FzkKsMIkhRVXc_UbSwJ9PICKj4AlDco,3783
51
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=j1NpE-y9xfBoCF6pnmU1p_xnvCARUMeh_aGJxjcNZMI,9603
@@ -66,14 +66,14 @@ 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=6I5N2a7jBLocqOioRq-eoqFI5pvPrkFbC9dJ7nq9UQk,16031
69
+ odoo/addons/account_payment_order/static/description/index.html,sha256=Xp35pVfOd9kfrus0bmCxPsKXEC2EaCaHRpIXkN8OFsM,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=rgQ5o84b-jB9fDwVKN23aVIfDYUlXUrl9DGFRvQtoOI,622
73
73
  odoo/addons/account_payment_order/tests/test_payment_mode.py,sha256=FGeaeoQe8tHRVjnp4xHBIWBF6a-UWrV6_pX9-HTETw4,3298
74
74
  odoo/addons/account_payment_order/tests/test_payment_order_inbound.py,sha256=SN_6o_xQDW2gWp1_6-iBSvzYydXi-XeHd5QMTw55WLk,8059
75
75
  odoo/addons/account_payment_order/tests/test_payment_order_outbound.py,sha256=s0w9o83kX3IKEUjur-yEuxuL4PTqHDl13hzuC1XRBnM,19128
76
- odoo/addons/account_payment_order/views/account_invoice_view.xml,sha256=JCD_j1AM25g9o12AW9LfmZOrNUrWUJNWY-Nrulj1018,4190
76
+ odoo/addons/account_payment_order/views/account_invoice_view.xml,sha256=cYXmLhtaOJbiJdQCSzaH_FdcpgR_Z6-PLFUUykYzuv0,4682
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=-DdtoJ_W0ZhYqSw1H--H3Tk0fFixY0Pyd53nqdP3h0g,5314
79
79
  odoo/addons/account_payment_order/views/account_payment_method.xml,sha256=zBGrZYNAFxgLQOpSE7alPUFJ8vESD4JWd0B3qmE4_vY,717
@@ -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.6.0.dist-info/METADATA,sha256=sowx_1dFa6X1rCULo3uFgMR9Ejhgnub03fpUDILYyYE,5343
92
- odoo_addon_account_payment_order-17.0.1.6.0.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
93
- odoo_addon_account_payment_order-17.0.1.6.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
94
- odoo_addon_account_payment_order-17.0.1.6.0.dist-info/RECORD,,
91
+ odoo_addon_account_payment_order-17.0.1.7.0.dist-info/METADATA,sha256=dAtyjpzdN2C65w3Mln6LPw_e9pWsQ1TC8HVUKySmELk,5308
92
+ odoo_addon_account_payment_order-17.0.1.7.0.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
93
+ odoo_addon_account_payment_order-17.0.1.7.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
94
+ odoo_addon_account_payment_order-17.0.1.7.0.dist-info/RECORD,,