Commit Graph

881 Commits

Author SHA1 Message Date
Alexis de Lattre
74fc8a1c8c [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
2023-05-29 08:00:38 +02:00
sergio-incaser
a3a685c25b account_banking_sepa_direct_debit: Fix error in payment order validation when there is more than one line with the same mandate. 2023-05-29 08:00:38 +02:00
Alexis de Lattre
4ce17826d6 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
2023-05-29 08:00:38 +02:00
Philippe Schmidt
fbfc8d1bb0 Add requested descriptions in an OCA README.rst file 2023-05-29 08:00:38 +02:00
Alexis de Lattre
f7f82e6bce Use attachments instead of creating a specific object for each kind of payment order 2023-05-29 08:00:38 +02:00
Stéphane Bidoul
713f5dd2e1 sepa direct debit: get BIC from bank account if not available on bank 2023-05-29 08:00:38 +02:00
Alexis de Lattre
b6cc19fe2e [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
2023-05-29 08:00:38 +02:00
Pedro M. Baeza
b55a3cbbfb [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
2023-05-29 08:00:38 +02:00
Alexis de Lattre
429b19cc4e replace old sdd.mandate referencess 2023-05-29 08:00:38 +02:00
Pedro M. Baeza
50168f44c0 [MIG] account_banking_sepa_direct_debit: Migration to 8.0 2023-05-29 08:00:38 +02:00
Launchpad Translations on behalf of banking-addons-team
4a16925d45 Launchpad automatic translations update. 2023-05-29 08:00:38 +02:00
Alexis de Lattre
ed11138280 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 ?). 2023-05-29 08:00:38 +02:00
Dũng (Trần Đình)
75a4f1c809 [16.0][MIG] account_banking_sepa_credit_transfer: Migration to 16.0 2023-05-29 10:00:49 +07:00
Dũng (Trần Đình)
bbf99cdf80 [IMP] account_banking_sepa_credit_transfer: black, isort, prettier 2023-05-29 10:00:29 +07:00
OCA-git-bot
b6f61981d9 account_banking_sepa_credit_transfer 15.0.2.0.1 2023-05-29 09:59:10 +07:00
pilarvargas-tecnativa
2cb4939f64 [FIX] account_banking_sepa_credit_transfer: fix inactive currency error in the tests
In case the currency is not active, the test fails because an invoice
cannot be validated with an inactive currency

TT43341
2023-05-29 09:59:10 +07:00
OCA-git-bot
ae9200dbf8 account_banking_sepa_credit_transfer 15.0.2.0.0 2023-05-29 09:59:10 +07:00
Pedro M. Baeza
1875265dee [REF] account_banking_sepa_credit_transfer: Adapt module to native payment refactoring
Notables changes:

- InstrId and EndToEndId tags are now filled with the journal entry ID,
  as there's no bank payment line identifier.
2023-05-29 09:59:10 +07:00
OCA-git-bot
6cff6176a3 account_banking_sepa_credit_transfer 15.0.1.0.3 2023-05-29 09:59:10 +07:00
Pedro M. Baeza
00a6b7d22f [FIX] account_banking_sepa_*: Remove post-installs
From this version, Odoo already includes code on the
account.payment.method creation for adding such method to each journal:

https://github.com/odoo/odoo/blob/a93ed75cb80f16f/addons/account/models/account_payment_method.py#L24-L38

so we don't need to explicitly create them for the new payment methods
we are adding in these modules.

TT41146
2023-05-29 09:59:10 +07:00
Weblate
0e7832d1fd Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_sepa_credit_transfer/
2023-05-29 09:59:10 +07:00
OCA-git-bot
cf6358d965 account_banking_sepa_credit_transfer 15.0.1.0.2 2023-05-29 09:59:10 +07:00
oca-ci
7df6071f7d [UPD] Update account_banking_sepa_credit_transfer.pot 2023-05-29 09:59:10 +07:00
Luc De Meyer
809e18a302 remove (credit transfer in Germany) since german banks are switching to pain.001.001.03 2023-05-29 09:59:10 +07:00
OCA-git-bot
67babf9b3f account_banking_sepa_credit_transfer 15.0.1.0.1 2023-05-29 09:59:10 +07:00
David Ramia
83e8af1afe [FIX] account_banking_pain_base, account_banking_sepa_credit_transfer, account_banking_direct_debit: Remove Environment.manage()
Environment.manage() is deprecated in v 15.0
2023-05-29 09:59:10 +07:00
jabelchi
aae524f5d8 Translated using Weblate (Catalan)
Currently translated at 100.0% (14 of 14 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_sepa_credit_transfer/ca/
2023-05-29 09:59:09 +07:00
jabelchi
bc0b994640 Added translation using Weblate (Catalan) 2023-05-29 09:59:09 +07:00
OCA-git-bot
ed8256e5a2 [UPD] README.rst 2023-05-29 09:59:09 +07:00
oca-ci
8df60eba3e [UPD] Update account_banking_sepa_credit_transfer.pot 2023-05-29 09:59:09 +07:00
manu
4c0fc927ce [MIG]account_banking_sepa_credit_transfer: Migration to 15.0 2023-05-29 09:59:09 +07:00
Simon S
3d040e1640 Translated using Weblate (Swedish)
Currently translated at 100.0% (17 of 17 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_sepa_credit_transfer/sv/
2023-05-29 09:59:09 +07:00
Simon S
f0553309db Added translation using Weblate (Swedish) 2023-05-29 09:59:09 +07:00
OCA-git-bot
9054dba5f2 account_banking_sepa_credit_transfer 14.0.1.2.0 2023-05-29 09:59:09 +07:00
Alexis de Lattre
0147a68ae1 sepa_direct_debit: mandate_required back to True
sepa_credit_transfer: bank_account_required back to True
Partial revert of the breakage of PR #875
2023-05-29 09:59:09 +07:00
Enric Tobella
ec6e409357 [FIX] account_banking_sepa_credit_transfer: Bank account is not required 2023-05-29 09:59:09 +07:00
Alexis de Lattre
19d637d139 Update test suite
Fix bug in account_banking_mandate when a res.partner.bank is not attached to a particular company (company_id is NOT required on res.partner.bank)
2023-05-29 09:59:09 +07:00
Yves Le Doeuff
a9cbd668d1 Translated using Weblate (French (France))
Currently translated at 70.5% (12 of 17 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_sepa_credit_transfer/fr_FR/
2023-05-29 09:59:09 +07:00
Yves Le Doeuff
9e21b7c520 Added translation using Weblate (French (France)) 2023-05-29 09:59:09 +07:00
Yves Le Doeuff
75560aa114 Translated using Weblate (French)
Currently translated at 71.4% (10 of 14 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_sepa_credit_transfer/fr/
2023-05-29 09:59:09 +07:00
Yves Le Doeuff
22e513f804 Translated using Weblate (French)
Currently translated at 64.2% (9 of 14 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_sepa_credit_transfer/fr/
2023-05-29 09:59:09 +07:00
OCA-git-bot
ad02edc23c [UPD] README.rst 2023-05-29 09:59:09 +07:00
oca-travis
e6cd39e2fa [UPD] Update account_banking_sepa_credit_transfer.pot 2023-05-29 09:59:09 +07:00
Carlos Roca
23ce6b316c [FIX] account_banking_sepa_credit_transfer: Fixed tests 2023-05-29 09:59:09 +07:00
Alexis de Lattre
0dcd92853b [MIG] account_banking_sepa_credit_transfer to v14.0 2023-05-29 09:59:09 +07:00
Carlos Roca
030a035f96 [IMP] account_banking_sepa_credit_transfer: black, isort, prettier 2023-05-29 09:59:09 +07:00
Ignacio Buioli
56e5838f19 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (14 of 14 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_sepa_credit_transfer/es_AR/
2023-05-29 09:59:09 +07:00
Ignacio Buioli
e2ea6c3b53 Added translation using Weblate (Spanish (Argentina)) 2023-05-29 09:59:09 +07:00
Yung-Wa
abf83b76c5 Translated using Weblate (Dutch)
Currently translated at 100.0% (18 of 18 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_sepa_credit_transfer
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_sepa_credit_transfer/nl/
2023-05-29 09:59:09 +07:00
Pedro M. Baeza
f18bfc2fab [FIX] account_banking_sepa_direct_debit: Remove l10n_generic_coa need on tests
Tests assume that `l10n_generic_coa` is installed, which is not the case for several
cases. We replace it creating a minimal account base data for the company test that
makes it to work.
2023-05-29 09:59:09 +07:00