Commit Graph

12 Commits

Author SHA1 Message Date
Carlos Roca
4cef4a8cbf [FIX] account_banking_sepa_direct_debit: Fixed settings view and test_sdd implementation 2021-02-08 10:09:12 +01:00
Alexis de Lattre
174360b533 [MIG] account_banking_sepa_direct_debit to v14.0 2021-01-14 09:11:04 +01:00
Pedro M. Baeza
7afcea6dae [IMP] account_banking_sepa_direct_debit: Remove l10n_generic_coa hidden dependency in tests
As we were setting a new company with its CoA, we need to load in it one, but using
l10n_generic_coa doesn't serve, as we don't depend on that module (and we shouldn't),
but we are invoking its XML-ID for loading the CoA, trusting in the good faith that
the module is available and installed, which is not the case in some cases.

Luckily, Odoo provides already an inheritable test for having a minimal CoA that
doesn't require to load any chart. This PR uses that test and performs the minimal
changes to adapt the module tests to it.
2021-01-14 08:56:33 +01:00
Pedro M. Baeza
a81fe79bb6 [IMP] account_banking_sepa_direct_debit: Ease inheritance in tests
- Unfold SDD test in 2 classes: the base with initialization + the other with tests
- Internal variable for parametrizing the chart template to load
2021-01-14 08:56:33 +01:00
Marçal Isern
a1d76c9abd [MIG] account_banking_sepa_direct_debit: Migration to 13.0 2021-01-14 08:56:33 +01:00
Marçal Isern
bdae3ab5bf [IMP] account_banking_sepa_direct_debit: black, isort 2021-01-14 08:56:33 +01:00
Pedro M. Baeza
4d1f65c1fb [MIG] account_banking_sepa_direct_debit: Finish migration to 12.0
* Fixed tests
* Adjust code for Python dates handling
* Update copyrights
2021-01-14 08:56:33 +01:00
Sergio Teruel
23de947535 [MIG] account_banking_sepa_direct_debit: Migration to 12.0 2021-01-14 08:56:33 +01:00
Pedro M. Baeza
aa8df88e53 [FIX] account_banking_sepa_direct_debit: Fix tests due to upstream change
Odoo has added a constraint for avoiding a company currency change if there
are move lines, making these tests to fail, as the currency is changed to EUR.

With this commit, we create a new company with EUR currency for avoiding the
problem.

This commit also changes account_banking_mandate for not duplicating mandate
number, as it was detected during the test creation.

Similar to 1f8e345469695d1fb1a2ba2109ddea3adbdf1f78
2021-01-14 08:56:33 +01:00
etobella
5ed010ddb1 [MIG] account_banking_sepa_direct_debit 2021-01-14 08:56:33 +01:00
Alexis de Lattre
afd3aa0f94 [MIG] account_banking_sepa_direct_debit: Migration to 10.0 2021-01-14 08:56:33 +01:00
Alexis de Lattre
ee031e03a8 [MIG] account_banking_sepa_direct_debit: Migration to 9.0 2021-01-13 15:46:16 +01:00