Commit Graph

615 Commits

Author SHA1 Message Date
Philippe Schmidt
2d115d9c60 Add requested descriptions in an OCA README.rst file 2024-03-25 09:16:59 +07:00
Alexis de Lattre
bb9d4ec9b0 Use attachments instead of creating a specific object for each kind of payment order 2024-03-25 09:16:59 +07:00
Stéphane Bidoul
533abbc984 sepa credit tfr: get BIC from bank account if not available on bank
Since the bank is optional on bank accounts and the BIC can be set
on the bank account if there is no bank, we allow the system to
get the BIC from the bank account in case it is not on the bank.

We give priority to the BIC indicated on the bank, keeping
the same behaviour with existing data where the bank BIC is
available.
2024-03-25 09:16:59 +07:00
Julien Laloux
9f8eb8e56c Fix an error when no payment_order_ids 2024-03-25 09:16:59 +07:00
Pedro M. Baeza
aff949c2b7 [MIG] account_banking_sepa_credit_transfer: Migration to v8 2024-03-25 09:16:59 +07:00
Launchpad Translations on behalf of banking-addons-team
ccd8846f1c Launchpad automatic translations update. 2024-03-25 09:16:59 +07:00
Alexis de Lattre
e65b464f4a [RFR] account_banking_sepa_credit_transfer
* Start code factoring between SCT and SDD.
* More code factoring between SCT and SDD As a consequence, we now have support for structured remittance info in SDD.
* The requested collection date now uses the fields date_prefered and date_scheduled of payment.order, instead of the field in the SDD wizard.
* Mutualize more code between SCT and SDD.
* Replace unallowed ascii caracters by '-' Update some error messages Update translation files and FR translation Include sepa_export in gen_args Factorize more code between SDD and SCT Fix view of payment lines The modules account_banking_pain_base and account_banking_sepa_* are now fully PEP8 compliant
* For SCT, if BIC is not provided, we should not put the 'Creditor Agent' block at all, according to EPC guidelines (on this point, it is different from the Direct Debit !)
* Add demo data
* Add missing utf-8 header Update state field on SEPA file objects and display it in tree+form views. Migrate form views to version 7.0 and simplify them.
2024-03-25 09:16:59 +07:00
Launchpad Translations on behalf of banking-addons-team
8a4af12ed8 Launchpad automatic translations update. 2024-03-25 09:16:59 +07:00
Alexis de Lattre
5e64644704 [IMP] account_banking_sepa_credit_transfer:
* Better prototype for the _prepare_field function. Update help message, POT file and FR translation.
* Revert the dependancy to account_banking_payment_export (the field payment_order_type on payment.mode.type has a default value of "payment" anyway).
* Akretion-Noviat code sprint dated 2013-11-21: - add module account_banking_pain_base - add support for initiating party identification, priority and structured remittance info in XML file - the requested execution date now uses the fields date_prefered and date_scheduled (the field of the wizard has been removed) - the 'convert to ascii' feature is now an option of the payment mode (enabled by default) - set 'communication' field of payment.line to 140 chars and hide field 'communicatio n2'
* FIX label : Customer (which is wrong, it is most of the time a Supplier !)-> Creditor More PEP8 stuff.
2024-03-25 09:16:59 +07:00
Launchpad Translations on behalf of banking-addons-team
37b3302e68 Launchpad automatic translations update. 2024-03-25 09:16:59 +07:00
Alexis de Lattre
874884670b [IMP] account_banking_sepa_credit_transfer: Support new format + other things:
* Add support for pain.001.001.05 Fix dependencies (I need the field "payment_order_type" which is in account_banking_payment) Only use ASCII characters in the XML file (that's how banks use XML !) Use the payment order reference as the Message Identification of the XML file. Use the payment line sequence as the "End to End Identification" Remove the Instruction Identification ('InstrId') because it is not a required field (only the End to End identification is required) Rename variables in the function create_sepa() to include the number of each field as used in the EPC guidelines Reduce the number of flake8 warnings Make code more modular : - self.pool.get('banking.export.sepa').create() has a _prepare fonction - most of the content of the XML file can be inherited via _prepare_field()
* Update strings. Update FR translation.
* fields.date.context_today doesn't work with datetime => we now use the native field create_date Coding style improvements.
* Add logo
2024-03-25 09:16:59 +07:00
Pedro M. Baeza
b124a44d91 Translation template files for all modules. 2024-03-25 09:16:59 +07:00
Stefan Rijnhart
30070445b4 Retrieve current date in user's timezone [FIX] Default to current date instead of tomorrow 2024-03-25 09:16:59 +07:00
Erwin van der Ploeg
3c7f7082b0 Added translations to all banking modules in use in the Netherlands 2024-03-25 09:16:59 +07:00
Stéphane Bidoul
9c4321100d [RFR] account_banking_payment: refactoring to make payment export features available without pulling bank statement features
- introduce account_banking_payment_export module with all features from account_banking_payment that do not involve changing the payment order workflow or depend on bank statement changes
- account_banking_payment_export does not depend on account_banking
- account_banking_payment is consequently stripped of above features
- account_banking_sepa_credit_transfer depend on account_banking_payment_export and is compatible with the default payment order workflow
- clarified comment about workflow in account_banking_sepa_credit_transfer
- avoid generating invalid sepa credit transfer files when bank accounts have no BIC
2024-03-25 09:16:59 +07:00
Alexis de Lattre
fd7bd21253 Update strings to prepare the arrival of SEPA Direct Debit XSD validation of the SEPA XML file is now really working Update views to 7.0-style Better error handling when Bank account in missing on the invoice. 2024-03-25 09:16:59 +07:00
Stefan Rijnhart
e50e13eeb5 [IMP] account_banking_sepa_credit_transfer: 3 things
* Small API changes
* Updated two additional imports to new API
* A payment mode type needs a suitable bank type
2024-03-25 09:16:59 +07:00
unknown
fe30a98926 account_banking_sepa_credit_transfer implementing SEPA SCT pain 2024-03-25 09:16:59 +07:00
OCA-git-bot
09650c3eb0 [BOT] post-merge updates 2024-03-22 16:59:31 +00:00
oca-ci
9338d8cbb0 [UPD] Update account_banking_pain_base.pot 2024-03-22 16:56:25 +00:00
OCA-git-bot
7948ccbb87 Merge PR #1231 into 17.0
Signed-off-by pedrobaeza
2024-03-22 16:53:54 +00:00
trisdoan
629458797c [MIG] account_banking_pain_base: Migration to 17.0 2024-03-22 22:47:49 +07:00
trisdoan
47edbf1e54 [IMP] account_banking_pain_base: pre-commit auto fixes 2024-03-22 22:35:01 +07:00
mymage
a955ea1b01 Translated using Weblate (Italian)
Currently translated at 30.8% (54 of 175 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
mymage
1f2278709a Translated using Weblate (Italian)
Currently translated at 30.8% (54 of 175 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
mymage
03a9a57353 Translated using Weblate (Italian)
Currently translated at 30.8% (54 of 175 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
mymage
a6ca222a0a Translated using Weblate (Italian)
Currently translated at 30.8% (54 of 175 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
mymage
7d6a942752 Translated using Weblate (Italian)
Currently translated at 30.8% (54 of 175 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
mymage
6346c182b4 Translated using Weblate (Italian)
Currently translated at 30.2% (53 of 175 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
Ivorra78
05fea8644e Translated using Weblate (Spanish)
Currently translated at 100.0% (175 of 175 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/es/
2024-03-22 22:35:01 +07:00
Weblate
da7dae128d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/
2024-03-22 22:35:01 +07:00
OCA-git-bot
a26d265f17 [BOT] post-merge updates 2024-03-22 22:35:01 +07:00
Alexis de Lattre
c9e8c6ee37 Add warning when payment order is not SEPA
The field 'sepa' on account.payment.order is only display for SEPA
payment methods.
If the option "show warning if not SEPA" is enabled on the payment
method, a warning banner is now displayed on payment orders with a SEPA
payment method which are not SEPA.
2024-03-22 22:35:01 +07:00
Weblate
811de3bd76 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/
2024-03-22 22:35:01 +07:00
mymage
a567f6ca18 Translated using Weblate (Italian)
Currently translated at 31.1% (53 of 170 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
Ivorra78
2d3392c89f Translated using Weblate (Spanish)
Currently translated at 100.0% (170 of 170 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/es/
2024-03-22 22:35:01 +07:00
mymage
64adea483d Translated using Weblate (Italian)
Currently translated at 31.1% (53 of 170 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
Rémi
90b0437a1b Translated using Weblate (French)
Currently translated at 100.0% (170 of 170 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/fr/
2024-03-22 22:35:01 +07:00
Bole
883e7c74a4 Translated using Weblate (Croatian)
Currently translated at 60.0% (102 of 170 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/hr/
2024-03-22 22:35:01 +07:00
gelo joga Rodríguez
404a9d5151 Translated using Weblate (Spanish)
Currently translated at 98.8% (168 of 170 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/es/
2024-03-22 22:35:01 +07:00
gelo joga Rodríguez
347c6aa176 Translated using Weblate (Spanish)
Currently translated at 64.7% (110 of 170 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_pain_base/es/
2024-03-22 22:35:01 +07:00
Pedro M. Baeza
9860421ae0 [MIG] account_banking_pain_base: Migration to 16.0 2024-03-22 22:35:01 +07:00
Pedro M. Baeza
1f4601ed01 [FIX] account_banking_pain_base: Proper condition for AdrLine
Steps to reproduce the problem:

- Have a partner with no zip code and no city.
- Include it in a payment order.
- Generate the SEPA XML file.

Current behavior: The file couldn't be generated because there's an
empty <AdrLine> element.

We put properly parenthesis in the conditions for this to no happen.

TT43260
2024-03-22 22:35:01 +07:00
BT-anieto
475b0a68d3 [15.0] [FIX] account_payment_order: Update list of IBAN codes.
Update list of IBAN codes. Added Austria (AT) and Andorra (AD)
2024-03-22 22:35:01 +07:00
Pedro M. Baeza
ef999ee9be [REF] account_banking_pain_base: Adapt module to native payment refactoring 2024-03-22 22:35:01 +07:00
Francesco Foresti
d39a40e1a8 Translated using Weblate (Italian)
Currently translated at 31.5% (54 of 171 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_pain_base/it/
2024-03-22 22:35:01 +07:00
Luc De Meyer
9af22c06cf [FIX]generate pain address block that is supported by german banks 2024-03-22 22:35:01 +07:00
David Ramia
688404b94d [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
2024-03-22 22:35:01 +07:00
jabelchi
1592ebe9ee Added translation using Weblate (Catalan)
Currently translated at 2.9% (5 of 171 strings)

Translation: bank-payment-15.0/bank-payment-15.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_pain_base/ca/
2024-03-22 22:35:01 +07:00
manu
6be1e9bc2c [MIG]account_banking_pain_base: Migration to 15.0 2024-03-22 22:35:01 +07:00