odoo-addon-account-banking-mandate 16.0.1.3.1__py3-none-any.whl → 16.0.1.3.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.
- odoo/addons/account_banking_mandate/README.rst +1 -1
- odoo/addons/account_banking_mandate/__manifest__.py +1 -1
- odoo/addons/account_banking_mandate/models/account_banking_mandate.py +1 -2
- odoo/addons/account_banking_mandate/static/description/index.html +8 -5
- odoo/addons/account_banking_mandate/tests/test_mandate.py +25 -0
- {odoo_addon_account_banking_mandate-16.0.1.3.1.dist-info → odoo_addon_account_banking_mandate-16.0.1.3.2.dist-info}/METADATA +3 -6
- {odoo_addon_account_banking_mandate-16.0.1.3.1.dist-info → odoo_addon_account_banking_mandate-16.0.1.3.2.dist-info}/RECORD +9 -9
- {odoo_addon_account_banking_mandate-16.0.1.3.1.dist-info → odoo_addon_account_banking_mandate-16.0.1.3.2.dist-info}/WHEEL +0 -0
- {odoo_addon_account_banking_mandate-16.0.1.3.1.dist-info → odoo_addon_account_banking_mandate-16.0.1.3.2.dist-info}/top_level.txt +0 -0
|
@@ -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:
|
|
10
|
+
!! source digest: sha256:33c582134c0bd11eaaf3b530b3ed274c34e43d90776ac83c38b10e1198057b97
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
|
@@ -176,8 +176,7 @@ class AccountBankingMandate(models.Model):
|
|
|
176
176
|
@api.model_create_multi
|
|
177
177
|
def create(self, vals_list):
|
|
178
178
|
for vals in vals_list:
|
|
179
|
-
|
|
180
|
-
if unique_mandate_reference == "/":
|
|
179
|
+
if (vals.get("unique_mandate_reference") or "/") == "/":
|
|
181
180
|
vals["unique_mandate_reference"] = (
|
|
182
181
|
self.env["ir.sequence"].next_by_code("account.banking.mandate")
|
|
183
182
|
or "New"
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
:Author: David Goodger (goodger@python.org)
|
|
11
|
-
:Id: $Id: html4css1.css
|
|
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:
|
|
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:
|
|
370
|
+
!! source digest: sha256:33c582134c0bd11eaaf3b530b3ed274c34e43d90776ac83c38b10e1198057b97
|
|
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/16.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-16-0/bank-payment-16-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&target_branch=16.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.
|
|
@@ -438,7 +439,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
438
439
|
<div class="section" id="maintainers">
|
|
439
440
|
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
|
|
440
441
|
<p>This module is maintained by the OCA.</p>
|
|
441
|
-
<a class="reference external image-reference" href="https://odoo-community.org"
|
|
442
|
+
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
443
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
444
|
+
</a>
|
|
442
445
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
443
446
|
mission is to support the collaborative development of Odoo features and
|
|
444
447
|
promote its widespread use.</p>
|
|
@@ -170,3 +170,28 @@ class TestMandate(TransactionCase):
|
|
|
170
170
|
}
|
|
171
171
|
)
|
|
172
172
|
self.assertTrue(mandate.unique_mandate_reference)
|
|
173
|
+
|
|
174
|
+
def test_mandate_reference_06(self):
|
|
175
|
+
"""
|
|
176
|
+
Test case: create a mandate with False as reference (empty with UX)
|
|
177
|
+
Expected result: the reference of the created mandate is not False
|
|
178
|
+
"""
|
|
179
|
+
bank_account = self.env.ref("account_payment_mode.res_partner_12_iban")
|
|
180
|
+
mandate_1 = self.env["account.banking.mandate"].create(
|
|
181
|
+
{
|
|
182
|
+
"partner_bank_id": bank_account.id,
|
|
183
|
+
"signature_date": "2015-01-01",
|
|
184
|
+
"company_id": self.company.id,
|
|
185
|
+
"unique_mandate_reference": False,
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
self.assertTrue(mandate_1.unique_mandate_reference)
|
|
189
|
+
mandate_2 = self.env["account.banking.mandate"].create(
|
|
190
|
+
{
|
|
191
|
+
"partner_bank_id": bank_account.id,
|
|
192
|
+
"signature_date": "2015-01-01",
|
|
193
|
+
"company_id": self.company.id,
|
|
194
|
+
"unique_mandate_reference": "",
|
|
195
|
+
}
|
|
196
|
+
)
|
|
197
|
+
self.assertTrue(mandate_2.unique_mandate_reference)
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name: odoo-addon-
|
|
3
|
-
Version: 16.0.1.3.
|
|
2
|
+
Name: odoo-addon-account_banking_mandate
|
|
3
|
+
Version: 16.0.1.3.2
|
|
4
4
|
Summary: Banking mandates
|
|
5
5
|
Home-page: https://github.com/OCA/bank-payment
|
|
6
6
|
Author: Compassion CH, Tecnativa, Akretion, Therp B.V., Odoo Community Association (OCA)
|
|
7
7
|
Author-email: support@odoo-community.org
|
|
8
8
|
License: AGPL-3
|
|
9
|
-
Platform: UNKNOWN
|
|
10
9
|
Classifier: Programming Language :: Python
|
|
11
10
|
Classifier: Framework :: Odoo
|
|
12
11
|
Classifier: Framework :: Odoo :: 16.0
|
|
@@ -25,7 +24,7 @@ Account Banking Mandate
|
|
|
25
24
|
!! This file is generated by oca-gen-addon-readme !!
|
|
26
25
|
!! changes will be overwritten. !!
|
|
27
26
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
|
-
!! source digest: sha256:
|
|
27
|
+
!! source digest: sha256:33c582134c0bd11eaaf3b530b3ed274c34e43d90776ac83c38b10e1198057b97
|
|
29
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
30
29
|
|
|
31
30
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
|
@@ -125,5 +124,3 @@ promote its widespread use.
|
|
|
125
124
|
This module is part of the `OCA/bank-payment <https://github.com/OCA/bank-payment/tree/16.0/account_banking_mandate>`_ project on GitHub.
|
|
126
125
|
|
|
127
126
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
128
|
-
|
|
129
|
-
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
odoo/addons/account_banking_mandate/README.rst,sha256
|
|
1
|
+
odoo/addons/account_banking_mandate/README.rst,sha256=-qBGr1_jI-wXTeC0XeX-qHjUUL-FvW8K2IyWD002ZXs,3917
|
|
2
2
|
odoo/addons/account_banking_mandate/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
|
|
3
|
-
odoo/addons/account_banking_mandate/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/account_banking_mandate/__manifest__.py,sha256=FhmrARJRI8mVFOfRvOLjfEtDcpmQ8_hhSS6DWB297og,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=M4ArxbaxjQDHrJNRuqwx43B_512mQFcdqU3LvyKgTvg,22264
|
|
6
6
|
odoo/addons/account_banking_mandate/i18n/am.po,sha256=LxemBs85czlD6QwYmL27bXmdCMzQz8nKAsWKT5L9HXs,22648
|
|
@@ -39,7 +39,7 @@ odoo/addons/account_banking_mandate/i18n/th.po,sha256=WoR47WZ-F3tjXqOR6MN2h59bqh
|
|
|
39
39
|
odoo/addons/account_banking_mandate/i18n/tr.po,sha256=2wv9LhKEyCNck_yg_SWVVc1Ukjx_uabNEc9rHSsfISY,22630
|
|
40
40
|
odoo/addons/account_banking_mandate/i18n/vi.po,sha256=y2tt-nmCO33vSh3hTWUv4jXX58LylQ8wBuVXqySWuLs,22575
|
|
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=
|
|
42
|
+
odoo/addons/account_banking_mandate/models/account_banking_mandate.py,sha256=a50rFx93LYGNbUxS6iUnxq1ouf72pe1Pdd8QY0T1pAE,7713
|
|
43
43
|
odoo/addons/account_banking_mandate/models/account_move.py,sha256=juiCywz68pxIFj-8VYXme6dhcdTweTiGRNw1hhoJgoc,1041
|
|
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.rst,sha256=bGf8r-kiaS29WfWjwEZL
|
|
|
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=
|
|
56
|
+
odoo/addons/account_banking_mandate/static/description/index.html,sha256=O5rYnkBAaA_XASjZGTdSxhWw9D_MzvU3_mQYLWaiPLg,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=C_QUQFjaqfqElwK0ZB5DHVpNTpdAEx6REM-IbYFDGOc,10386
|
|
59
|
-
odoo/addons/account_banking_mandate/tests/test_mandate.py,sha256=
|
|
59
|
+
odoo/addons/account_banking_mandate/tests/test_mandate.py,sha256=ySBnuV-ElTCtqbiUQUzrUR2y6bJ2d3TIapC-epZ8maY,7654
|
|
60
60
|
odoo/addons/account_banking_mandate/views/account_banking_mandate_view.xml,sha256=r97sI5fq2CmeDQl8WefgvTBaOinOCa9SQjAO0h2bjME,9995
|
|
61
61
|
odoo/addons/account_banking_mandate/views/account_move_view.xml,sha256=9MLc5hLMk1BLxBWoduB_0PeWPErkza6CkjThqqlSGeU,1103
|
|
62
62
|
odoo/addons/account_banking_mandate/views/account_payment_line.xml,sha256=t_tnl1-Kf8oPfwhRcy6zSfApiaETeVI_muBT8oNhJEo,1763
|
|
63
63
|
odoo/addons/account_banking_mandate/views/account_payment_method.xml,sha256=xjrdpvlyMtnAWsUz34EkTqqlferFW-kDKb9y653hncQ,711
|
|
64
64
|
odoo/addons/account_banking_mandate/views/res_partner.xml,sha256=GpZpEIPSBQhYNhKlGIthnkYABy4rNMF1z2keGRq0nH4,1087
|
|
65
65
|
odoo/addons/account_banking_mandate/views/res_partner_bank_view.xml,sha256=5RMHyCc4ouinkLNbHGJb9APNodbBLP3kB7JBFmY39oM,1439
|
|
66
|
-
odoo_addon_account_banking_mandate-16.0.1.3.
|
|
67
|
-
odoo_addon_account_banking_mandate-16.0.1.3.
|
|
68
|
-
odoo_addon_account_banking_mandate-16.0.1.3.
|
|
69
|
-
odoo_addon_account_banking_mandate-16.0.1.3.
|
|
66
|
+
odoo_addon_account_banking_mandate-16.0.1.3.2.dist-info/METADATA,sha256=2SoTGd7SEtzkupu-i2c0uATvv2w2yuahTnqjtvUiqU0,4591
|
|
67
|
+
odoo_addon_account_banking_mandate-16.0.1.3.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
68
|
+
odoo_addon_account_banking_mandate-16.0.1.3.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
69
|
+
odoo_addon_account_banking_mandate-16.0.1.3.2.dist-info/RECORD,,
|
|
File without changes
|