odoo-addon-account-banking-mandate 16.0.1.3.3__py3-none-any.whl → 16.0.1.3.4__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:bdaa0e4fbc41a1c87166e6d220fc73371fdd3ca3d4c75928c897f69c6be82fc5
10
+ !! source digest: sha256:3601215eba30294d27cc9f7354971231ba35c0590892640eabdc73468fe40405
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": "16.0.1.3.3",
10
+ "version": "16.0.1.3.4",
11
11
  "development_status": "Production/Stable",
12
12
  "license": "AGPL-3",
13
13
  "author": "Compassion CH, "
@@ -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:bdaa0e4fbc41a1c87166e6d220fc73371fdd3ca3d4c75928c897f69c6be82fc5
370
+ !! source digest: sha256:3601215eba30294d27cc9f7354971231ba35c0590892640eabdc73468fe40405
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
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&amp;target_branch=16.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 a generic model for banking mandates.
@@ -5,12 +5,13 @@ from unittest.mock import patch
5
5
 
6
6
  from odoo import fields
7
7
  from odoo.exceptions import UserError
8
- from odoo.tests.common import TransactionCase
8
+ from odoo.tests.common import TransactionCase, tagged
9
9
 
10
10
  from odoo.addons.account.models.account_payment_method import AccountPaymentMethod
11
11
  from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT
12
12
 
13
13
 
14
+ @tagged("post_install", "-at_install")
14
15
  class TestInvoiceMandate(TransactionCase):
15
16
  def test_post_invoice_01(self):
16
17
  self.assertEqual(self.invoice.mandate_id, self.mandate)
@@ -208,6 +209,16 @@ class TestInvoiceMandate(TransactionCase):
208
209
  res = super().setUpClass()
209
210
  cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT))
210
211
  cls.company = cls.env.ref("base.main_company")
212
+ if not cls.company.chart_template_id:
213
+ # Load a CoA if there's none in the company
214
+ coa = cls.env.ref("l10n_generic_coa.configurable_chart_template", False)
215
+ if not coa:
216
+ # Load the first available CoA
217
+ coa = cls.env["account.chart.template"].search(
218
+ [("visible", "=", True)], limit=1
219
+ )
220
+ coa.try_loading(company=cls.company, install_demo=False)
221
+
211
222
  cls.partner = cls._create_res_partner("Peter with ACME Bank")
212
223
  cls.acme_bank = cls._create_res_bank(
213
224
  "ACME Bank", "GEBABEBB03B", "Charleroi", cls.env.ref("base.be")
@@ -5,17 +5,27 @@ from datetime import timedelta
5
5
 
6
6
  from odoo import fields
7
7
  from odoo.exceptions import UserError, ValidationError
8
- from odoo.tests.common import TransactionCase
8
+ from odoo.tests.common import TransactionCase, tagged
9
9
 
10
10
  from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT
11
11
 
12
12
 
13
+ @tagged("post_install", "-at_install")
13
14
  class TestMandate(TransactionCase):
14
15
  @classmethod
15
16
  def setUpClass(cls):
16
17
  res = super(TestMandate, cls).setUpClass()
17
18
  cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT))
18
19
  cls.company = cls.env.ref("base.main_company")
20
+ if not cls.company.chart_template_id:
21
+ # Load a CoA if there's none in the company
22
+ coa = cls.env.ref("l10n_generic_coa.configurable_chart_template", False)
23
+ if not coa:
24
+ # Load the first available CoA
25
+ coa = cls.env["account.chart.template"].search(
26
+ [("visible", "=", True)], limit=1
27
+ )
28
+ coa.try_loading(company=cls.company, install_demo=False)
19
29
  cls.company_2 = cls.env["res.company"].create({"name": "Company 2"})
20
30
  cls.company_2.partner_id.company_id = cls.company_2.id
21
31
  cls.bank_account = cls.env.ref("account_payment_mode.res_partner_12_iban")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_banking_mandate
3
- Version: 16.0.1.3.3
3
+ Version: 16.0.1.3.4
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)
@@ -12,8 +12,8 @@ Classifier: Framework :: Odoo :: 16.0
12
12
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Requires-Python: >=3.10
15
- Requires-Dist: odoo-addon-account-payment-order <16.1dev,>=16.0dev
16
- Requires-Dist: odoo <16.1dev,>=16.0a
15
+ Requires-Dist: odoo-addon-account-payment-order<16.1dev,>=16.0dev
16
+ Requires-Dist: odoo<16.1dev,>=16.0a
17
17
 
18
18
  =======================
19
19
  Account Banking Mandate
@@ -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:bdaa0e4fbc41a1c87166e6d220fc73371fdd3ca3d4c75928c897f69c6be82fc5
27
+ !! source digest: sha256:3601215eba30294d27cc9f7354971231ba35c0590892640eabdc73468fe40405
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=zE7wJ28HZh2qpt6OeJ5EWEYg15C_1pHCLC-nwoL7g68,3917
1
+ odoo/addons/account_banking_mandate/README.rst,sha256=ZW4RfUqdlg3vRInK9zkJqKrEPTTpkPLORYoIGJGL9b4,3917
2
2
  odoo/addons/account_banking_mandate/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
3
- odoo/addons/account_banking_mandate/__manifest__.py,sha256=lMyGyw77cRp5UsnassYop31IlVaxd-JZ0J3VJXafpsk,1199
3
+ odoo/addons/account_banking_mandate/__manifest__.py,sha256=A5LR3BOHdgdwEVPG0kBMwyo5aHoZJulZBkyiqngasvM,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
@@ -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=Li2HWOXT0eYR17QrUBZtOywTU8Pj5F4WE5X_nLiSk-k,14487
56
+ odoo/addons/account_banking_mandate/static/description/index.html,sha256=vDqJ1qMuOaLk4cKXSHcLsvKE1URKKQOulwOmsFzBJKc,14487
57
57
  odoo/addons/account_banking_mandate/tests/__init__.py,sha256=VYtfoW8h3bB01yKyMfXK9lLWooWPaxF2lTd40c5xwUo,62
58
- odoo/addons/account_banking_mandate/tests/test_invoice_mandate.py,sha256=qmvNyplEG9rAfbwHULJtZQzAe3V2lce5D-8ynxGhDFA,10513
59
- odoo/addons/account_banking_mandate/tests/test_mandate.py,sha256=x_ZHTlsjMuTJZSv9cqrudBZ2u9xUBZzHg2sL8-3nGGU,7854
58
+ odoo/addons/account_banking_mandate/tests/test_invoice_mandate.py,sha256=uovTHagdJPjVtcRSjA2vYZ68vOAocZDYKjhVi_noI_w,11024
59
+ odoo/addons/account_banking_mandate/tests/test_mandate.py,sha256=gf13DoLfw1qiCZmnmQjdHPpAuRkhiG14wzTncPusjQ4,8364
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.3.dist-info/METADATA,sha256=3PmWDHelMVGaBoTGSOYQROeoRY6QW1WicHfCN6AvTkY,4591
67
- odoo_addon_account_banking_mandate-16.0.1.3.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
68
- odoo_addon_account_banking_mandate-16.0.1.3.3.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
69
- odoo_addon_account_banking_mandate-16.0.1.3.3.dist-info/RECORD,,
66
+ odoo_addon_account_banking_mandate-16.0.1.3.4.dist-info/METADATA,sha256=Ef5NWcIL7ErKXIlA9M2yI1NhphwnHLNP7E-g5MaF-dE,4589
67
+ odoo_addon_account_banking_mandate-16.0.1.3.4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
68
+ odoo_addon_account_banking_mandate-16.0.1.3.4.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
69
+ odoo_addon_account_banking_mandate-16.0.1.3.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: bdist_wheel (0.45.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5