Commit Graph

35 Commits

Author SHA1 Message Date
Alexis de Lattre
e287dda966 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.
2023-11-03 23:38:57 +01: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
Luc De Meyer
198fc3c203 [FIX]generate pain address block that is supported by german banks 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
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
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
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
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
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
Pedro M. Baeza
269c36df85 [MIG] account_banking_pain_base: Migration to 12.0
* Standard migration procedure
* README by fragments
* Fixed tests
* Change
* Fix related no readonly in account_banking_pain_base
* Override default partner bank account check on account_payment_partner
* Convert Python date to string
2023-05-27 18:56:19 +02:00
Timka Piric
b137cb5433 PstCd and TwnNm not present in pain files 001.003.xx and 008.003.xx. Added check of pain_flavor. 2023-05-27 18:56:19 +02:00
Stéphane Bidoul (ACSONE)
ef5132834a [IMP] pain: add hook for party identifiers + improve Postal Address block
Use TwnNm for city and PstlCd for zip.
2023-05-27 18:53:44 +02:00
Stéphane Bidoul
e304a51e20 [ADD] sepa: support for Purpose Code 2023-05-27 18:53:44 +02:00
andreparames
8b1776fdac [ADD] sepa: support Initiating Party Scheme 2023-05-27 18:53:44 +02:00
Stefan Rijnhart (Opener)
783261733d [ADD] Allow for multiple SEPA payment methods with different versions (#493) (#497) 2023-05-27 18:53:44 +02:00
etobella
8901b85ad6 [MIG] account_banking_pain_base 2023-05-27 18:53:44 +02:00
Pedro M. Baeza
41df4fafce [IMP] account_banking*: Show identifiers at payment mode level
Now the visibility is controlled through a security group.
2023-05-27 18:52:49 +02:00
Alexis de Lattre
af759c0b64 Add support for ISO20022 "Category Purpose"
Add local instrument 'INST' for SEPA Instant Credit Transfer
2023-05-27 18:52:49 +02:00
Alexis de Lattre
4dcc7306f9 Port almost all modules to v10 (#305)
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug #300)
2023-05-27 18:52:49 +02:00
Alexis de Lattre
19a0380b69 [MIG] account_banking_pain_base: Migration to 9.0
* Add support for non-SEPA DD and CT without without IBANs
* Add hooks for l10n_ch_sepa (pain.001.001.03.ch.02)
* Move code of account_banking_pain_base/models/banking_export_pain.py to account_banking_pain_base/models/account_payment_order.py
* Add postal address in party block
* Adds flexibility to support direct debit direct debit for switzerland (pain.008.001.02.ch.01)
* Implement SEPA Core recommandations for postal address
* Add field local_instrument in payment lines and bank payment lines
* Add the bank_line as argument to some methods that generate SEPA XML
2023-05-27 18:52:04 +02:00
Antonio Espinosa
142fa17ecb [IMP] Define SEPA identifiers per payment mode 2023-05-27 18:50:59 +02:00
Pedro M. Baeza
2ef3d06c30 [IMP] *: Short headers + Bump version numbers + es translations 2023-05-27 18:50:59 +02:00
Alexis de Lattre
6c836c33b7 [FIX+IMP] account_banking_pain_base: Port to new API fix + Add bank.payment.lines object to allow grouping in the payments 2023-05-27 18:50:59 +02:00
Alexis de Lattre
ca3910fd55 Fix bug #111 New field initiating_party_identifier on res.company (migration script included) 2023-05-27 18:50:59 +02:00
Alexis de Lattre
60786edb3f Use attachments instead of creating a specific object for each kind of payment order 2023-05-27 18:50:59 +02:00
Stéphane Bidoul
c12515d697 [IMP] account_banking_pain_base: Several things:
* Make it easier to extend structured communication types.
* Use new style to make selection extendable.
* Help text for bank and BIC fields. Courtesy of Alexis de Lattre.
* Do not use InstrPrty for Direct Debit.
2023-05-27 18:50:59 +02:00
Pedro M. Baeza
7c655e0092 [MIG] account_banking_pain_base: Migration to 8.0 2023-05-27 18:50:59 +02:00