Commit Graph

752 Commits

Author SHA1 Message Date
Alexis de Lattre
cd54ffe6d3 Add print button on mandate
[UPD] Update account_banking_sepa_direct_debit.pot

account_banking_sepa_direct_debit 14.0.1.1.0
2024-04-03 11:03:58 +05:30
Alexis de Lattre
d2f69641c6 account_banking_sepa_direct_debit: fix print_report_name 2024-04-03 11:03:58 +05:30
Yves Le Doeuff
fd81a14267 Translated using Weblate (French)
Currently translated at 100.0% (71 of 71 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_sepa_direct_debit/fr/
2024-04-03 11:03:58 +05:30
Carlos Roca
cc2513c734 [FIX] account_banking_sepa_direct_debit: Fixed settings view and test_sdd implementation
[UPD] Update account_banking_sepa_direct_debit.pot

[UPD] README.rst
2024-04-03 11:03:58 +05:30
Alexis de Lattre
bde77c7796 [MIG] account_banking_sepa_direct_debit to v14.0 2024-04-03 11:03:58 +05:30
Carlos Roca
87ea0cdb7e [IMP] accont_banking_sepa_direct_debit: black, isort, prettier 2024-04-03 11:03:58 +05:30
Ignacio Buioli
4d3b69adfd Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (71 of 71 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_sepa_direct_debit/es_AR/
2024-04-03 11:03:58 +05:30
Pedro M. Baeza
d48eddd3cb [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.
2024-04-03 11:03:58 +05:30
Ignacio Buioli
b76aa019a4 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (71 of 71 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_sepa_direct_debit/es_AR/
2024-04-03 11:03:58 +05:30
Pedro M. Baeza
a4d4b9b938 [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
2024-04-03 11:03:58 +05:30
Ignacio Buioli
e7603b7001 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (71 of 71 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_sepa_direct_debit/es_AR/
2024-04-03 11:03:58 +05:30
Ignacio Buioli
ad7f5ebe91 Added translation using Weblate (Spanish (Argentina)) 2024-04-03 11:03:58 +05:30
Marçal Isern
5925ac0552 [MIG] account_banking_sepa_direct_debit: Migration to 13.0 2024-04-03 11:03:58 +05:30
Marçal Isern
a376161fd9 [IMP] account_banking_sepa_direct_debit: black, isort 2024-04-03 11:03:58 +05:30
oihane
0cbb0519b7 Translated using Weblate (Spanish)
Currently translated at 75.6% (59 of 78 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_sepa_direct_debit/es/
2024-04-03 11:03:58 +05:30
Sergio Teruel
71234863db [FIX] account_banking_sepa_direct_debit: Fix report mandate. Adapt to bootstrap 4 2024-04-03 11:03:58 +05:30
Pedro M. Baeza
fb5b3dab94 [IMP] account_banking_sepa_direct_debit: Rise exception if the mandate type is not correct
Closes #600
2024-04-03 11:03:58 +05:30
Marco Calcagni
f5da66a3ae Translated using Weblate (Italian)
Currently translated at 22.1% (17 of 77 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_sepa_direct_debit/it/
2024-04-03 11:03:58 +05:30
Marco Calcagni
975d2f314f Added translation using Weblate (Italian) 2024-04-03 11:03:58 +05:30
Sergio Teruel
48c6a3ef5d [12.0][FIX] account_banking_sepa_direct_debit: Fix positional arguments in message_post 2024-04-03 11:03:58 +05:30
Thomas Binsfeld
f77df4e21c [REF] Account Banking SEPA Direct Debit: check SEPA ready 2024-04-03 11:03:58 +05:30
Thomas Binsfeld
150b9e84bb [FIX] Account Banking SEPA Direct Debit: creditor identifier in config
The sepa_creditor_identifier in res.config.settings is readonly by default (related) but should not.
2024-04-03 11:03:58 +05:30
Pedro M. Baeza
ede94a56b4 [MIG] account_banking_sepa_direct_debit: Finish migration to 12.0
* Fixed tests
* Adjust code for Python dates handling
* Update copyrights
2024-04-03 11:03:58 +05:30
Sergio Teruel
eff89f11d2 [MIG] account_banking_sepa_direct_debit: Migration to 12.0 2024-04-03 11:03:58 +05:30
andreparames
edb81c5817 [ADD] sepa: add Instruction Identification field
InstrId is optional, so there should be no harm in
adding it always, with the same value as EndToEndId.
2024-04-03 11:03:58 +05:30
Stéphane Bidoul
99bd3d4598 [ADD] sepa: support for Purpose Code 2024-04-03 11:03:58 +05:30
Enric Tobella
1491eff89e Translated using Weblate (Español (España))
Currently translated at 100,0% (60 of 60 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_banking_sepa_direct_debit/es/
2024-04-03 11:03:58 +05:30
Alexis de Lattre
ade95e0866 [10.0][FIX] Split account move generated for SEPA direct debits per sequence_type (#464)
The sequence_type of mandates switches from First to Recurring:
- BEFORE: when state switched from 'open' to 'generated'
- NOW: when state switches from 'generated' to 'uploaded'
2024-04-03 11:03:58 +05:30
Andrea
d58f8d92aa [11.0][FIX] account_banking_sepa_direct_debit: printing report 2024-04-03 11:03:58 +05:30
Pedro M. Baeza
937a30e132 [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
2024-04-03 11:03:58 +05:30
OCA Transbot
4ee78bd36c OCA Transbot updated translations from Transifex 2024-04-03 11:03:58 +05:30
etobella
3e89dc5cf5 [MIG] account_banking_sepa_direct_debit 2024-04-03 11:03:58 +05:30
Pedro M. Baeza
553fb92916 account_banking*: Show identifiers at payment mode level
Now the visibility is controlled through a security group.
2024-04-03 11:03:58 +05:30
OCA Transbot
dfc688bfcf OCA Transbot updated translations from Transifex 2024-04-03 11:03:58 +05:30
Alexis de Lattre
4bb808b3c2 [MIG] account_banking_sepa_direct_debit: Migration to 10.0 2024-04-03 11:03:58 +05:30
OCA Transbot
640c17b010 OCA Transbot updated translations from Transifex 2024-04-03 11:03:58 +05:30
Antonio Espinosa
a88820058e [IMP] account_banking_sepa_direct_debit: Add english lang to mandate 2024-04-03 11:03:58 +05:30
OCA Transbot
df372d82ea OCA Transbot updated translations from Transifex 2024-04-03 11:03:58 +05:30
Pedro M. Baeza
413fec1362 [FIX+IMP] account_banking_sepa_direct_debit: 3 things:
* Remove unused POT files
* Spanish translation
* Fix mandate report layout
2024-04-03 11:03:58 +05:30
Alexis de Lattre
4112826a0b [MIG] account_banking_sepa_direct_debit: Migration to 9.0 2024-04-03 11:03:58 +05:30
OCA Transbot
77b6c16d42 OCA Transbot updated translations from Transifex 2024-04-03 11:03:58 +05:30
Sergio Incaser
96463290d6 sepa_direct_debit_mandate: Split basic and sepa mandate 2024-04-03 11:03:58 +05:30
Pedro M. Baeza
0590f28101 account_banking_sepa_direct_debit: Fixes #257 2024-04-03 11:03:58 +05:30
Antonio Espinosa
692cb05d26 Define SEPA identifiers per payment mode 2024-04-03 11:03:58 +05:30
Pedro M. Baeza
970c2ea631 [IMP] account_banking_sepa_direct_debit: Short headers + Bump version numbers + es translations 2024-04-03 11:03:58 +05:30
Alexis de Lattre
25456b7426 [IMP] account_banking_sepa_direct_debit: 4 things
* Add bank.payment.lines object to allow grouping in the payments
* Add a hook to inherit grouping of the transfer account move line

  Use that new hook in SEPA direct debits
  Better variable names
* FIX Reading wrong field for sequence type of SEPA DD
  Loop on bank payment lines instead of payment lines
* Update automated tests and demo data
* Add on_change on field 'type' of payment.mode for easier configuration
2024-04-03 11:03:58 +05:30
sergio-incaser
0f10f3ee15 account_banking_sepa_direct_debit: Fix error in payment order validation when there is more than one line with the same mandate. 2024-04-03 11:03:58 +05:30
Alexis de Lattre
5cf5a92d51 Port SEPA modules to new API
Fix an important regression in account_banking_sepa_direct_debit: "Date of Last Debit" was not set any more
Proper write of date_done with account_banking_payment_export is installed without account_banking_payment_transfer
Add post-install script for date_sent on payment.order
2024-04-03 11:03:58 +05:30
Philippe Schmidt
d435cb2f1f Add requested descriptions in an OCA README.rst file 2024-04-03 11:03:58 +05:30
Alexis de Lattre
1d535f2195 Use attachments instead of creating a specific object for each kind of payment order 2024-04-03 11:03:58 +05:30