Commit Graph

655 Commits

Author SHA1 Message Date
Julien Laloux
52c2befadd Fix an error when no payment_order_ids 2023-05-29 09:59:09 +07:00
Pedro M. Baeza
982e986fc6 [MIG] account_banking_sepa_credit_transfer: Migration to v8 2023-05-29 09:59:09 +07:00
Launchpad Translations on behalf of banking-addons-team
961c16bd4e Launchpad automatic translations update. 2023-05-29 09:59:09 +07:00
Alexis de Lattre
69bef0a999 [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.
2023-05-29 09:59:09 +07:00
Launchpad Translations on behalf of banking-addons-team
1bf2628507 Launchpad automatic translations update. 2023-05-29 09:59:09 +07:00
Alexis de Lattre
07c05a7ab9 [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.
2023-05-29 09:59:09 +07:00
Launchpad Translations on behalf of banking-addons-team
fb41727e70 Launchpad automatic translations update. 2023-05-29 09:59:09 +07:00
Alexis de Lattre
06de900864 [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
2023-05-29 09:59:09 +07:00
Pedro M. Baeza
6db45f4287 Translation template files for all modules. 2023-05-29 09:59:09 +07:00
Stefan Rijnhart
e42b14a3d8 Retrieve current date in user's timezone [FIX] Default to current date instead of tomorrow 2023-05-29 09:59:09 +07:00
Erwin van der Ploeg
d4b1d17f10 Added translations to all banking modules in use in the Netherlands 2023-05-29 09:59:09 +07:00
Stéphane Bidoul
3186e55188 [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
2023-05-29 09:59:09 +07:00
Alexis de Lattre
cf1f0ee17b 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. 2023-05-29 09:59:09 +07:00
Stefan Rijnhart
40a8ea5d3f [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
2023-05-29 09:59:09 +07:00
unknown
cf94ae8373 account_banking_sepa_credit_transfer implementing SEPA SCT pain 2023-05-29 09:59:09 +07:00
OCA-git-bot
5254760404 [ADD] setup.py 2023-05-27 17:53:49 +00:00
OCA-git-bot
22737d55e2 [UPD] README.rst 2023-05-27 17:53:48 +00:00
OCA-git-bot
c496628d72 [UPD] addons table in README.md 2023-05-27 17:53:47 +00:00
oca-ci
6fcdcba049 [UPD] Update account_banking_pain_base.pot 2023-05-27 17:50:41 +00:00
OCA-git-bot
bb49214c33 Merge PR #1087 into 16.0
Signed-off-by pedrobaeza
2023-05-27 17:47:03 +00:00
Pedro M. Baeza
3f0ef311d9 [MIG] account_banking_pain_base: Migration to 16.0 2023-05-27 19:41:47 +02:00
Pedro M. Baeza
e5da9b8542 [IMP] account_banking_pain_base: pre-commit stuff 2023-05-27 19:02:54 +02:00
Pedro M. Baeza
04a76604a9 [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
2023-05-27 18:56:32 +02:00
BT-anieto
4e329d6c77 [15.0] [FIX] account_payment_order: Update list of IBAN codes.
Update list of IBAN codes. Added Austria (AT) and Andorra (AD)
2023-05-27 18:56:32 +02:00
Pedro M. Baeza
793610c7f4 [REF] account_banking_pain_base: Adapt module to native payment refactoring 2023-05-27 18:56:32 +02:00
Francesco Foresti
768471e917 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/
2023-05-27 18:56:32 +02:00
Luc De Meyer
198fc3c203 [FIX]generate pain address block that is supported by german banks 2023-05-27 18:56:32 +02:00
David Ramia
9d80a5d9ed [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-27 18:56:32 +02:00
jabelchi
eaf1a81cd4 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/
2023-05-27 18:56:32 +02:00
manu
91bb3c8937 [MIG]account_banking_pain_base: Migration to 15.0 2023-05-27 18:56:32 +02:00
Simon S
cde24ca6a2 Added translation using Weblate (Swedish)
Currently translated at 2.8% (5 of 174 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_pain_base/sv/
2023-05-27 18:56:32 +02:00
Yves Le Doeuff
c8c43310bd Translated using Weblate (French)
Currently translated at 70.7% (121 of 171 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_pain_base/fr/
2023-05-27 18:56:32 +02:00
Alexis de Lattre
e424fc3fdd 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-27 18:56:32 +02:00
Alexis de Lattre
f5121128e9 account_payment_partner: add optional="hide" on payment mode in invoice tree view 2023-05-27 18:56:32 +02:00
Alexis de Lattre
61c22ea8ea Improve computation of sepa on account.payment.order: check IBAN is in SEPA zone
Update move line generation to get transfer account from bank journal
Update payment mode configuration accordingly (3 fields removed)
Several improvements in payment order tree and form view
2023-05-27 18:56:32 +02:00
Bosd
20b4db3e27 Translated using Weblate (Dutch)
Currently translated at 45.6% (78 of 171 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_pain_base/nl/
2023-05-27 18:56:26 +02:00
Carlos Roca
d02c8f6de3 [MIG] account_banking_pain_base: Migration to v14 2023-05-27 18:56:26 +02:00
robin.keunen
40f4253730 [IMP] ab_pain_base: use account holder name in party block 2023-05-27 18:56:26 +02:00
Ignacio Buioli
a3cf20bfc4 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (171 of 171 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_banking_pain_base/es_AR/
2023-05-27 18:56:26 +02:00
Ignacio Buioli
072c24addc Added translation using Weblate (Spanish (Argentina)) 2023-05-27 18:56:26 +02:00
Valentin Vinagre Urteaga
0f0c7981fb [MIG] account_banking_pain_base: Migration to 13.0 2023-05-27 18:56:26 +02:00
Valentin Vinagre Urteaga
530b6b6cf0 [IMP] account_banking_pain_base: black, isort, prettier 2023-05-27 18:56:26 +02:00
Matjaz Mozetic
d132f7365f Translated using Weblate (Slovenian)
Currently translated at 11.5% (21 of 182 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_pain_base/sl/
2023-05-27 18:56:19 +02:00
Carles Antoli
89eb6771b9 Added translation using Weblate (Catalan) 2023-05-27 18:56:19 +02:00
SimoRubi
e85e08ffbe [IMP] account_banking_pain_base: Provide a more detailed message when _prepare_field fails 2023-05-27 18:56:19 +02:00
Patrick Tombez
c0472aef10 [11.0] account_banking_pain_base: Allow override of address block 2023-05-27 18:56:19 +02:00
Marco Calcagni
6d9129d12b Translated using Weblate (Italian)
Currently translated at 32.2% (57 of 177 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_banking_pain_base
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_banking_pain_base/it/
2023-05-27 18:56:19 +02:00
Pedro M. Baeza
ba33c48069 [FIX] account_banking_pain_base: flake8 2023-05-27 18:56:19 +02:00
Thierry Ducrest
9d6e99ff87 [12.0][FIX] account_banking_pain_base bic constrains
The bic fields is not required, so the constraint must take that into
consideration and accept empty bic.
2023-05-27 18:56:19 +02:00
Thomas Binsfeld
c712fdb819 [REF] Account Banking Pain Base: constraint on BIC
Prevent inserting BIC not respecting the SEPA pain schemas.
2023-05-27 18:56:19 +02:00