odoo-addon-account-banking-mandate 17.0.1.0.1.5__py3-none-any.whl → 17.0.1.0.2__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 Banking Mandate
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:98dfdf808d30b6ea26499f8730c46b110090f51a5327f914075e406fdeb94686
10
+ !! source digest: sha256:54363bd03808909c400ec1c73ac11dbe3a53a87fd0696cf6d3fdaf74c51a7d4a
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "Account Banking Mandate",
9
9
  "summary": "Banking mandates",
10
- "version": "17.0.1.0.1",
10
+ "version": "17.0.1.0.2",
11
11
  "development_status": "Production/Stable",
12
12
  "license": "AGPL-3",
13
13
  "author": "Compassion CH, "
@@ -175,8 +175,7 @@ class AccountBankingMandate(models.Model):
175
175
  @api.model_create_multi
176
176
  def create(self, vals_list):
177
177
  for vals in vals_list:
178
- unique_mandate_reference = vals.get("unique_mandate_reference", "/")
179
- if unique_mandate_reference == "/":
178
+ if (vals.get("unique_mandate_reference") or "/") == "/":
180
179
  vals["unique_mandate_reference"] = (
181
180
  self.env["ir.sequence"].next_by_code("account.banking.mandate")
182
181
  or "New"
@@ -8,10 +8,11 @@
8
8
 
9
9
  /*
10
10
  :Author: David Goodger (goodger@python.org)
11
- :Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11
+ :Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
12
12
  :Copyright: This stylesheet has been placed in the public domain.
13
13
 
14
14
  Default cascading style sheet for the HTML output of Docutils.
15
+ Despite the name, some widely supported CSS2 features are used.
15
16
 
16
17
  See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
17
18
  customize this style sheet.
@@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
274
275
  margin-left: 2em ;
275
276
  margin-right: 2em }
276
277
 
277
- pre.code .ln { color: grey; } /* line numbers */
278
+ pre.code .ln { color: gray; } /* line numbers */
278
279
  pre.code, code { background-color: #eeeeee }
279
280
  pre.code .comment, code .comment { color: #5C6576 }
280
281
  pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@ span.option {
300
301
  span.pre {
301
302
  white-space: pre }
302
303
 
303
- span.problematic {
304
+ span.problematic, pre.problematic {
304
305
  color: red }
305
306
 
306
307
  span.section-subtitle {
@@ -366,7 +367,7 @@ ul.auto-toc {
366
367
  !! This file is generated by oca-gen-addon-readme !!
367
368
  !! changes will be overwritten. !!
368
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:98dfdf808d30b6ea26499f8730c46b110090f51a5327f914075e406fdeb94686
370
+ !! source digest: sha256:54363bd03808909c400ec1c73ac11dbe3a53a87fd0696cf6d3fdaf74c51a7d4a
370
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
372
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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_banking_mandate"><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_banking_mandate"><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
373
  <p>This module adds a generic model for banking mandates. These mandates
@@ -437,7 +438,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
437
438
  <div class="section" id="maintainers">
438
439
  <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
439
440
  <p>This module is maintained by the OCA.</p>
440
- <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
441
+ <a class="reference external image-reference" href="https://odoo-community.org">
442
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
443
+ </a>
441
444
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
442
445
  mission is to support the collaborative development of Odoo features and
443
446
  promote its widespread use.</p>
@@ -171,3 +171,28 @@ class TestMandate(TransactionCase):
171
171
  }
172
172
  )
173
173
  self.assertTrue(mandate.unique_mandate_reference)
174
+
175
+ def test_mandate_reference_06(self):
176
+ """
177
+ Test case: create a mandate with False as reference (empty with UX)
178
+ Expected result: the reference of the created mandate is not False
179
+ """
180
+ bank_account = self.env.ref("account_payment_mode.res_partner_12_iban")
181
+ mandate_1 = self.env["account.banking.mandate"].create(
182
+ {
183
+ "partner_bank_id": bank_account.id,
184
+ "signature_date": "2015-01-01",
185
+ "company_id": self.company.id,
186
+ "unique_mandate_reference": False,
187
+ }
188
+ )
189
+ self.assertTrue(mandate_1.unique_mandate_reference)
190
+ mandate_2 = self.env["account.banking.mandate"].create(
191
+ {
192
+ "partner_bank_id": bank_account.id,
193
+ "signature_date": "2015-01-01",
194
+ "company_id": self.company.id,
195
+ "unique_mandate_reference": "",
196
+ }
197
+ )
198
+ self.assertTrue(mandate_2.unique_mandate_reference)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_banking_mandate
3
- Version: 17.0.1.0.1.5
3
+ Version: 17.0.1.0.2
4
4
  Requires-Python: >=3.10
5
5
  Requires-Dist: odoo-addon-account_payment_order>=17.0dev,<17.1dev
6
6
  Requires-Dist: odoo>=17.0a,<17.1dev
@@ -24,7 +24,7 @@ Account Banking Mandate
24
24
  !! This file is generated by oca-gen-addon-readme !!
25
25
  !! changes will be overwritten. !!
26
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
27
- !! source digest: sha256:98dfdf808d30b6ea26499f8730c46b110090f51a5327f914075e406fdeb94686
27
+ !! source digest: sha256:54363bd03808909c400ec1c73ac11dbe3a53a87fd0696cf6d3fdaf74c51a7d4a
28
28
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29
29
 
30
30
  .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -1,6 +1,6 @@
1
- odoo/addons/account_banking_mandate/README.rst,sha256=OT64dGEokXGuC93U8bekXdc1cbJ0jz2SPa5l91Xm9Pg,3929
1
+ odoo/addons/account_banking_mandate/README.rst,sha256=3jjZo2COtT5-D5ROQ7cvQhN5UzRuj3NXxxanj6mRAWY,3929
2
2
  odoo/addons/account_banking_mandate/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
3
- odoo/addons/account_banking_mandate/__manifest__.py,sha256=zINfDhQhliR0nkTHQ1UqS7QzOj8U-V0xXpWTrxkFhp0,1199
3
+ odoo/addons/account_banking_mandate/__manifest__.py,sha256=t2rOMTeb1y2REVOoa_qjAxB1ilhd4Da5DhtSkf4YjRk,1199
4
4
  odoo/addons/account_banking_mandate/data/mandate_reference_sequence.xml,sha256=Pne_W7tMPmZPLXorBXyeP30OhAUl6tJaAoPFDCg4_ug,381
5
5
  odoo/addons/account_banking_mandate/i18n/account_banking_mandate.pot,sha256=i__GcjUI0Du86aCNbWe472wIzRV7jFNgnNKK86TQPuQ,21886
6
6
  odoo/addons/account_banking_mandate/i18n/am.po,sha256=aAYkgP36RLJNsCprxxlj1W_xvc8YT8_66H_S2Oa7JwM,22270
@@ -39,7 +39,7 @@ odoo/addons/account_banking_mandate/i18n/th.po,sha256=VCGzdK3uS4ox9Z_wRhNQTo-2kj
39
39
  odoo/addons/account_banking_mandate/i18n/tr.po,sha256=Tu7FOu9BkkfgHB27ZfFYa5YoOkCb7Oy0Y9GasPTNiVA,22252
40
40
  odoo/addons/account_banking_mandate/i18n/vi.po,sha256=qNghz7PgZjzb5JxDpbXY07hQhPUwW7ma1-kqAi69NiM,22197
41
41
  odoo/addons/account_banking_mandate/models/__init__.py,sha256=h7Yg6QxhBEd_GVy6HfsDLkYks22cRkdZo9xvLwhuwFU,226
42
- odoo/addons/account_banking_mandate/models/account_banking_mandate.py,sha256=_lS7G37TdNA3GtgKyHAamv-aEy0wsXhwCn-vGCp9ypM,7803
42
+ odoo/addons/account_banking_mandate/models/account_banking_mandate.py,sha256=ui_J9jkeECdrPovyGWPg5Ne_aA_4Twh_aqZj-j9U51o,7743
43
43
  odoo/addons/account_banking_mandate/models/account_move.py,sha256=bdz1BgrFOPKrMOZ0qFLD_oX1ATQAuoO_QXnJ0nK_NNE,992
44
44
  odoo/addons/account_banking_mandate/models/account_move_line.py,sha256=7-IIKtt2-6xTerBapvGXria5lxWIpm31yIoibfQiADo,1214
45
45
  odoo/addons/account_banking_mandate/models/account_payment_line.py,sha256=0q6nHZht--Il3U3ryjdAJD6WHloA1VYupJelD6sLf6M,2724
@@ -53,17 +53,17 @@ odoo/addons/account_banking_mandate/readme/USAGE.md,sha256=ZzvichPxeWOyMAhpl73gZ
53
53
  odoo/addons/account_banking_mandate/security/ir.model.access.csv,sha256=66g45xnkyv9SFcqo06-lhF_ffqxLVDfTSiChc_MSxNQ,358
54
54
  odoo/addons/account_banking_mandate/security/mandate_security.xml,sha256=WbewZ27MzIpwIwNm22uZSxgDPejYQ7fkCtAdaJJqIwc,762
55
55
  odoo/addons/account_banking_mandate/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
56
- odoo/addons/account_banking_mandate/static/description/index.html,sha256=8qz3tf8dK_5A6Kkyrh-OZeVh_RypqgsmVprwN9z_a3U,14404
56
+ odoo/addons/account_banking_mandate/static/description/index.html,sha256=FBhV0FypJE_p_PBgFC0ZYsNyMg0Rih8upNu2qVxkTKs,14487
57
57
  odoo/addons/account_banking_mandate/tests/__init__.py,sha256=VYtfoW8h3bB01yKyMfXK9lLWooWPaxF2lTd40c5xwUo,62
58
58
  odoo/addons/account_banking_mandate/tests/test_invoice_mandate.py,sha256=DvLDpAHrwYBNXho34iBdLZrFFH-7fBzqMv4ymYyFDjs,10304
59
- odoo/addons/account_banking_mandate/tests/test_mandate.py,sha256=LtaPzdQqI7uZ89D5gQoMoPREBIKtHWiq-MnTpWtCzv8,6635
59
+ odoo/addons/account_banking_mandate/tests/test_mandate.py,sha256=RWKYnVOrT5yq-eA9wbvk7dHGaL3fBtnM2HvReCtzeTQ,7649
60
60
  odoo/addons/account_banking_mandate/views/account_banking_mandate_view.xml,sha256=pe-LbAo6MDToulojfKgVMPzSi3qJr0asTIuWEJx42bg,9911
61
61
  odoo/addons/account_banking_mandate/views/account_move_view.xml,sha256=LGaVIVbOsacws7gRBPdudshs5akWl_L9fYQkitYOguE,1093
62
62
  odoo/addons/account_banking_mandate/views/account_payment_line.xml,sha256=RLadAnEvXd690JHPQRzM4i639G_qa-6UyF0qPxzLpv8,1743
63
63
  odoo/addons/account_banking_mandate/views/account_payment_method.xml,sha256=XvOE23q96BxjQOAxUKRpm5YUU74HVbPhMvtHc-lxTlI,634
64
64
  odoo/addons/account_banking_mandate/views/res_partner.xml,sha256=ztgR1z0FvRwAKMFzMUzBr8TuCQ-XOxTQBTmmChkX3zg,988
65
65
  odoo/addons/account_banking_mandate/views/res_partner_bank_view.xml,sha256=WgvMSDdnNH2TdOqlBQ6EYfjzhSjUyjNtpOQQXHFlIIE,1400
66
- odoo_addon_account_banking_mandate-17.0.1.0.1.5.dist-info/METADATA,sha256=qG8NtYO-v4HLaLS7WHgNfghD1d0KYBjCZT7bszX36rQ,4603
67
- odoo_addon_account_banking_mandate-17.0.1.0.1.5.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
68
- odoo_addon_account_banking_mandate-17.0.1.0.1.5.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
69
- odoo_addon_account_banking_mandate-17.0.1.0.1.5.dist-info/RECORD,,
66
+ odoo_addon_account_banking_mandate-17.0.1.0.2.dist-info/METADATA,sha256=0Bq7YVNR59nt2md-6A2ZXybCqLVlMqEj0GVCNuz9SsY,4601
67
+ odoo_addon_account_banking_mandate-17.0.1.0.2.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
68
+ odoo_addon_account_banking_mandate-17.0.1.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
69
+ odoo_addon_account_banking_mandate-17.0.1.0.2.dist-info/RECORD,,