Commit Graph

500 Commits

Author SHA1 Message Date
Pedro M. Baeza
809aaaaeda [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.
2022-04-08 13:12:22 +02:00
Ignacio Buioli
4c212aa263 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/
2022-04-08 13:12:22 +02:00
Pedro M. Baeza
54d0afb643 [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
2022-04-08 13:12:22 +02:00
Ignacio Buioli
89981eaa09 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/
2022-04-08 13:12:22 +02:00
Ignacio Buioli
61034962ab Added translation using Weblate (Spanish (Argentina)) 2022-04-08 13:12:22 +02:00
Marçal Isern
8b7e48827f [MIG] account_banking_sepa_direct_debit: Migration to 13.0 2022-04-08 13:12:22 +02:00
Marçal Isern
110b5415bc [IMP] account_banking_sepa_direct_debit: black, isort 2022-04-08 13:12:22 +02:00
oihane
a15bb8e912 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/
2022-04-08 13:12:22 +02:00
Sergio Teruel
43e4d759b3 [FIX] account_banking_sepa_direct_debit: Fix report mandate. Adapt to bootstrap 4 2022-04-08 13:12:22 +02:00
Pedro M. Baeza
2382d21fc0 [IMP] account_banking_sepa_direct_debit: Rise exception if the mandate type is not correct
Closes #600
2022-04-08 13:12:22 +02:00
Marco Calcagni
567f4006f1 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/
2022-04-08 13:12:22 +02:00
Marco Calcagni
a21a6d225a Added translation using Weblate (Italian) 2022-04-08 13:12:22 +02:00
Sergio Teruel
a5a3fe203c [12.0][FIX] account_banking_sepa_direct_debit: Fix positional arguments in message_post 2022-04-08 13:12:22 +02:00
Thomas Binsfeld
a141d75d56 [REF] Account Banking SEPA Direct Debit: check SEPA ready 2022-04-08 13:12:22 +02:00
Thomas Binsfeld
ea9e737517 [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.
2022-04-08 13:12:22 +02:00
Pedro M. Baeza
c20cca73c4 [MIG] account_banking_sepa_direct_debit: Finish migration to 12.0
* Fixed tests
* Adjust code for Python dates handling
* Update copyrights
2022-04-08 13:12:22 +02:00
Sergio Teruel
2a769c1eab [MIG] account_banking_sepa_direct_debit: Migration to 12.0 2022-04-08 13:12:22 +02:00
andreparames
af60506542 [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.
2022-04-08 13:12:22 +02:00
Stéphane Bidoul
0ea7d468b8 [ADD] sepa: support for Purpose Code 2022-04-08 13:12:22 +02:00
Enric Tobella
8abe38a0b2 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/
2022-04-08 13:12:22 +02:00
Alexis de Lattre
a5cbb4660d [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'
2022-04-08 13:12:21 +02:00
Andrea
1c12338ca1 [11.0][FIX] account_banking_sepa_direct_debit: printing report 2022-04-08 13:12:21 +02:00
Pedro M. Baeza
75a1bd57c8 [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
2022-04-08 13:12:21 +02:00
OCA Transbot
16e6b7e649 OCA Transbot updated translations from Transifex 2022-04-08 13:12:21 +02:00
etobella
f6559db598 [MIG] account_banking_sepa_direct_debit 2022-04-08 13:12:21 +02:00
Pedro M. Baeza
73f8e243fd account_banking*: Show identifiers at payment mode level
Now the visibility is controlled through a security group.
2022-04-08 13:12:21 +02:00
OCA Transbot
5923ddcc48 OCA Transbot updated translations from Transifex 2022-04-08 13:12:21 +02:00
Alexis de Lattre
48ab7a87ea [MIG] account_banking_sepa_direct_debit: Migration to 10.0 2022-04-08 13:12:21 +02:00
OCA Transbot
8df6ae83a5 OCA Transbot updated translations from Transifex 2022-04-08 13:12:21 +02:00
Antonio Espinosa
abdbf9ed64 [IMP] account_banking_sepa_direct_debit: Add english lang to mandate 2022-04-08 13:12:21 +02:00
OCA Transbot
c456e47349 OCA Transbot updated translations from Transifex 2022-04-08 13:12:21 +02:00
Pedro M. Baeza
84cfb78031 [FIX+IMP] account_banking_sepa_direct_debit: 3 things:
* Remove unused POT files
* Spanish translation
* Fix mandate report layout
2022-04-08 13:12:21 +02:00
Alexis de Lattre
e6afc37aaf [MIG] account_banking_sepa_direct_debit: Migration to 9.0 2022-04-08 13:12:21 +02:00
OCA Transbot
dc39a405fa OCA Transbot updated translations from Transifex 2022-04-08 13:12:21 +02:00
Sergio Incaser
a13a7506b9 sepa_direct_debit_mandate: Split basic and sepa mandate 2022-04-08 13:12:21 +02:00
Pedro M. Baeza
2a6aaed214 account_banking_sepa_direct_debit: Fixes #257 2022-04-08 13:12:21 +02:00
Antonio Espinosa
c59dd1331a Define SEPA identifiers per payment mode 2022-04-08 13:12:21 +02:00
Pedro M. Baeza
2bc24a103a [IMP] account_banking_sepa_direct_debit: Short headers + Bump version numbers + es translations 2022-04-08 13:12:21 +02:00
Alexis de Lattre
1b4b29b1e0 [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
2022-04-08 13:12:21 +02:00
sergio-incaser
c15d48e815 account_banking_sepa_direct_debit: Fix error in payment order validation when there is more than one line with the same mandate. 2022-04-08 13:12:21 +02:00
Alexis de Lattre
7b54e61888 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
2022-04-08 13:12:21 +02:00
Philippe Schmidt
9240920227 Add requested descriptions in an OCA README.rst file 2022-04-08 13:12:21 +02:00
Alexis de Lattre
0fa8689b01 Use attachments instead of creating a specific object for each kind of payment order 2022-04-08 13:12:21 +02:00
Stéphane Bidoul
031077863d sepa direct debit: get BIC from bank account if not available on bank 2022-04-08 13:12:21 +02:00
Alexis de Lattre
278dce4069 [IMP] account_banking_sepa_direct_debit: 5 things:
* Transfer move: one transfer move for each payment.order with only 1 line in the transfer account for the total of the account move. Move the inherit of the 'Invoice' button of payment.order from account_banking_payment_transfer to account_banking_payment_export Demo data: Add a bank account + mandate on Agrolait, to be able to easily test multi-partner SEPA DD
* mandates: search by reference, add group_by, add seq type in tree view
* Add scheme in mandate tree+search view Replace tabs by spaces in mandate views account_banking_mandate/views/account_banking_mandate_view.xml: convert from dos to unix format
* Add sale_ok and purchase_ok filters in partner/sale/purchase form views Use widget=selection for payment_mode_id fields Update demo data
* Limit lenght of mandate reference, according to ISO 20022
2022-04-08 13:12:21 +02:00
Pedro M. Baeza
01c0730d46 [FIX+IMP] account_banking_sepa_direct_debit: Several things:
* Restore scheme field in mandate view
* Uncaught flake8 errors
* Set args correctly for cron job
* Split for removing stock dependency on sale
* Remove old translations templates
* More reorder on folder structure
* Translation template files
* Translations to spanish
2022-04-08 13:12:21 +02:00
Alexis de Lattre
74b9aa50cf replace old sdd.mandate referencess 2022-04-08 13:12:21 +02:00
Pedro M. Baeza
a2658dd744 [MIG] account_banking_sepa_direct_debit: Migration to 8.0 2022-04-08 13:12:21 +02:00
Launchpad Translations on behalf of banking-addons-team
e40483623f Launchpad automatic translations update. 2022-04-08 13:12:21 +02:00
Alexis de Lattre
1e5d8a2e2c Add module account_banking_sepa_direct_debit that implements pain.008.001.02, pain.008.001.03 and pain.008.001.04. This module is not ready yet : the management of mandates is still missing. I am currently trying to get more information about these mandates to decide what is the best implemtation of the data model of the mandates (O2M on res.partner ? O2M os res.partner.bank ?). 2022-04-08 13:12:21 +02:00