odoo-addon-account-payment-order 17.0.1.2.0.1__py3-none-any.whl → 17.0.1.3.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:e6f2e6c27901923135487b858666260c015a9ef890b0d05719d19a0f30dcaf4e
10
+ !! source digest: sha256:08f5eaaa9c6291e33d808e2dbeb1ec17d1021f32b4db55972b8347abdce1f7e0
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.2.0",
12
+ "version": "17.0.1.3.0",
13
13
  "license": "AGPL-3",
14
14
  "author": "ACSONE SA/NV, "
15
15
  "Therp BV, "
@@ -9,7 +9,7 @@ msgstr ""
9
9
  "Project-Id-Version: Odoo Server 11.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "POT-Creation-Date: 2017-11-23 03:38+0000\n"
12
- "PO-Revision-Date: 2024-04-16 16:42+0000\n"
12
+ "PO-Revision-Date: 2024-06-12 21:40+0000\n"
13
13
  "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
14
14
  "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
15
15
  "Language: it\n"
@@ -996,7 +996,7 @@ msgstr "Ordine di pagamento ok"
996
996
  #. module: account_payment_order
997
997
  #: model:ir.model.fields,field_description:account_payment_order.field_account_payment__order_state
998
998
  msgid "Payment Order State"
999
- msgstr ""
999
+ msgstr "Stato ordine pgamento"
1000
1000
 
1001
1001
  #. module: account_payment_order
1002
1002
  #: model:ir.actions.act_window,name:account_payment_order.account_payment_order_outbound_action
@@ -1290,7 +1290,7 @@ msgstr "Tipo di attività eccezione sul record."
1290
1290
  #: model_terms:ir.ui.view,arch_db:account_payment_order.view_account_payment_tree_payment_order
1291
1291
  #, python-format
1292
1292
  msgid "Update Payment Reference"
1293
- msgstr ""
1293
+ msgstr "Aggiorna riferimento pagamento"
1294
1294
 
1295
1295
  #. module: account_payment_order
1296
1296
  #: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document
@@ -234,3 +234,12 @@ class AccountMove(models.Model):
234
234
  }
235
235
  )
236
236
  return action
237
+
238
+ @api.model
239
+ def _get_invoice_in_payment_state(self):
240
+ """Called from _compute_payment_state method.
241
+ Consider in_payment all the moves that are included in a payment order.
242
+ """
243
+ if self.line_ids.payment_line_ids:
244
+ return "in_payment"
245
+ return super()._get_invoice_in_payment_state()
@@ -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:e6f2e6c27901923135487b858666260c015a9ef890b0d05719d19a0f30dcaf4e
369
+ !! source digest: sha256:08f5eaaa9c6291e33d808e2dbeb1ec17d1021f32b4db55972b8347abdce1f7e0
370
370
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
371
  <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>
372
372
  <p>This module adds support for payment orders and debit orders.</p>
@@ -112,25 +112,20 @@ class TestPaymentOrderInbound(TestPaymentOrderInboundBase):
112
112
  def test_creation(self):
113
113
  payment_order = self.inbound_order
114
114
  self.assertEqual(len(payment_order.ids), 1)
115
-
116
115
  payment_order.write({"journal_id": self.journal.id})
117
-
118
116
  self.assertEqual(len(payment_order.payment_line_ids), 1)
119
117
  self.assertFalse(payment_order.payment_ids)
120
-
121
118
  # Open payment order
122
119
  payment_order.draft2open()
123
-
124
120
  self.assertEqual(payment_order.payment_count, 1)
125
-
126
121
  # Generate and upload
127
122
  payment_order.open2generated()
128
123
  payment_order.generated2uploaded()
129
-
130
124
  self.assertEqual(payment_order.state, "uploaded")
125
+ self.assertEqual(self.invoice.payment_state, "in_payment")
131
126
  with self.assertRaises(UserError):
132
127
  payment_order.unlink()
133
-
128
+ # Cancel order
134
129
  payment_order.action_uploaded_cancel()
135
130
  self.assertEqual(payment_order.state, "cancel")
136
131
  payment_order.cancel2draft()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_payment_order
3
- Version: 17.0.1.2.0.1
3
+ Version: 17.0.1.3.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:e6f2e6c27901923135487b858666260c015a9ef890b0d05719d19a0f30dcaf4e
27
+ !! source digest: sha256:08f5eaaa9c6291e33d808e2dbeb1ec17d1021f32b4db55972b8347abdce1f7e0
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=W69EB5Gx3khBk4DgmhAy4F8x-tmBU4hSQ1Kl8nL7fE8,4680
1
+ odoo/addons/account_payment_order/README.rst,sha256=ipumvH8G5EH3ikDgWRS6Au99e9yWmpz36fpNkoQmpM4,4680
2
2
  odoo/addons/account_payment_order/__init__.py,sha256=HVXFv0Gbl3gl3fcRBZhi3rlZgriQVo_8LiEgUjtkcFs,96
3
- odoo/addons/account_payment_order/__manifest__.py,sha256=qyNWyn9PyEDLq_PMaXqz8yz9Wa6gfPP832spNcLo6ko,1606
3
+ odoo/addons/account_payment_order/__manifest__.py,sha256=_vwBWpyZcZR2RbRDzkD3Rp-TP4CtIhgrm1ow_Q8uRrI,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
@@ -27,7 +27,7 @@ odoo/addons/account_payment_order/i18n/fr.po,sha256=RPGb55FnT2KM4SbmRux17_WKqh_s
27
27
  odoo/addons/account_payment_order/i18n/fr_FR.po,sha256=sUTL-KTneeP7h3G3atGEOHhnXLKVMIbxiU6aJYI7Ctc,63533
28
28
  odoo/addons/account_payment_order/i18n/gl.po,sha256=n4hztdjBqtmXSq4rGT7aEP6ZT3wMHBy_DidT_6VDBsU,50187
29
29
  odoo/addons/account_payment_order/i18n/hr.po,sha256=XCHgxKKN1DaxTkARE-mr30LbkMjZJ-PYm50_UD9CpxA,50883
30
- odoo/addons/account_payment_order/i18n/it.po,sha256=_e_I0T6wgFdusuEP0Tlk6EnCNWMLMWR_1O6FdQxSzK0,58676
30
+ odoo/addons/account_payment_order/i18n/it.po,sha256=lfRSaQ6gPi7PiDSl0yR7ytrwkU4mrVmIhVFZa6jbzu0,58727
31
31
  odoo/addons/account_payment_order/i18n/lt.po,sha256=wwCa6jSKBQ5qVKcx6JcE4AkcwyzKYjzCY6G-d7fGq8U,50184
32
32
  odoo/addons/account_payment_order/i18n/nb_NO.po,sha256=hx0KdOd4pSWcLDo8AG-mJH530pg8NW03Y2CHQFP8NFc,52036
33
33
  odoo/addons/account_payment_order/i18n/nl.po,sha256=Npdf9HLvCj3XBF4xMe-IddEt6dXI3B5-xFXY_UH7HI8,57522
@@ -46,7 +46,7 @@ odoo/addons/account_payment_order/i18n/tr.po,sha256=8dyoua7Y0ll6AbaJHc_u_L1TMiPT
46
46
  odoo/addons/account_payment_order/i18n/vi.po,sha256=HLhT_Xz1mvzo03ehNPLW5SIj7frz2ETPOXQyZiUwjGY,50112
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=ldI1Msd8oguDxTdxFdj1l8r1oTtkY8gL7unD0O3zGYg,9755
49
+ odoo/addons/account_payment_order/models/account_move.py,sha256=4CIqwmNGoENLwjTAy96YkJdPfoJI3bHwRqCteIewgTM,10092
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=E454zmUY1cO2UBJJEyDO6PTPYokfr3y0kXo77zuPKOk,2119
52
52
  odoo/addons/account_payment_order/models/account_payment_line.py,sha256=tf98Hiy3kzT5y9FBj0LJPYet9GI9tFVGdTZZOPBcsrg,9433
@@ -66,12 +66,12 @@ 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=pxr4qrshPS_vxckdUyOrbH1v7NHAh5EX5iq4tzYoXfw,15948
69
+ odoo/addons/account_payment_order/static/description/index.html,sha256=Ut0UykoMF_wm6nmMpD1BpAOxsw1MSGhoIzYg4U-ujBs,15948
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
- odoo/addons/account_payment_order/tests/test_payment_order_inbound.py,sha256=hk-nHeuIPYnhWnxruEHW8izDVG8DKgTdaOCtdzkWdTY,5431
74
+ odoo/addons/account_payment_order/tests/test_payment_order_inbound.py,sha256=nnvZZlLF286oSmJwL6jjbkF9WtuHRK2oBgvJKW3kqzw,5514
75
75
  odoo/addons/account_payment_order/tests/test_payment_order_outbound.py,sha256=-AvPlxSOaQ5j6wDjIbnvBYWU_V2H9Y-J98eUitJdt4Q,18019
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
@@ -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.2.0.1.dist-info/METADATA,sha256=TablYvuhB7mtH8UY0z6bS-5nQs5R87LDGO6n8HfQW5E,5345
92
- odoo_addon_account_payment_order-17.0.1.2.0.1.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
93
- odoo_addon_account_payment_order-17.0.1.2.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
94
- odoo_addon_account_payment_order-17.0.1.2.0.1.dist-info/RECORD,,
91
+ odoo_addon_account_payment_order-17.0.1.3.0.dist-info/METADATA,sha256=X4TTDbS2UoJ6uDpjlF9t6czlcazXXwa24-guwZ0itGI,5343
92
+ odoo_addon_account_payment_order-17.0.1.3.0.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
93
+ odoo_addon_account_payment_order-17.0.1.3.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
94
+ odoo_addon_account_payment_order-17.0.1.3.0.dist-info/RECORD,,