Commit Graph

25 Commits

Author SHA1 Message Date
robin.keunen
5c6d16986b [IMP] ab_pain_base: use account holder name in party block 2020-09-11 11:39:04 +02:00
sebalix
25d179859a [IMP] account_banking_pain_base: switch from @api.model to @api.multi
The calls are the following:
`generate_payment_file()` -> `generate_party_block(...)` -> `generate_party_agent(...)`

The first was decorated with `api.multi` (with ensure_one) and the others with `api.model`.

This change allows to get the reference of the current payment order in
`generate_party_block(...)` and `generate_party_agent(...)` methods (for
instance to modulate the generation of the file depending on the related
payment method configuration).
2020-08-04 17:16:27 +02:00
SimoRubi
befbdf7377 [IMP] account_banking_pain_base: Provide a more detailed message when _prepare_field fails 2019-10-09 17:03:04 +02:00
Patrick Tombez
1c1e0f3691 [11.0] account_banking_pain_base: Allow override of address block 2019-08-30 13:34:44 +02:00
Pedro M. Baeza
5d50053dcd [FIX] account_banking_pain_base: flake8 2019-03-26 12:17:00 +01:00
Thierry Ducrest
25115ec333 [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.
2019-03-26 11:29:04 +01:00
Thomas Binsfeld
e07d0229c2 [REF] Account Banking Pain Base: constraint on BIC
Prevent inserting BIC not respecting the SEPA pain schemas.
2019-03-05 11:27:46 +01:00
Pedro M. Baeza
f51b565a2b [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
2018-12-14 11:30:24 +01:00
Timka Piric
47cd9f7d1f PstCd and TwnNm not present in pain files 001.003.xx and 008.003.xx. Added check of pain_flavor. 2018-12-13 20:30:55 +01:00
Stéphane Bidoul (ACSONE)
171cd53463 [IMP] pain: add hook for party identifiers + improve Postal Address block
Use TwnNm for city and PstlCd for zip.
2018-12-13 20:30:46 +01:00
Stéphane Bidoul
1b8038e185 [ADD] sepa: support for Purpose Code 2018-12-13 20:29:31 +01:00
andreparames
5aad4bf427 [ADD] sepa: support Initiating Party Scheme 2018-12-13 20:29:31 +01:00
Stefan Rijnhart (Opener)
b04f2271f3 [ADD] Allow for multiple SEPA payment methods with different versions (#493) (#497) 2018-12-13 20:29:31 +01:00
etobella
5ce0d1bfef [MIG] account_banking_pain_base 2018-12-13 20:29:31 +01:00
Pedro M. Baeza
d8bbcc42cf [IMP] account_banking*: Show identifiers at payment mode level
Now the visibility is controlled through a security group.
2018-12-13 20:29:31 +01:00
Alexis de Lattre
a112af5ce4 Add support for ISO20022 "Category Purpose"
Add local instrument 'INST' for SEPA Instant Credit Transfer
2018-12-13 20:29:31 +01:00
Alexis de Lattre
8b7dca6635 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)
2018-12-13 20:29:31 +01:00
Alexis de Lattre
3a3d3a31ef [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
2018-12-13 20:28:27 +01:00
Antonio Espinosa
8be5d89e7c [IMP] Define SEPA identifiers per payment mode 2018-12-13 20:27:07 +01:00
Pedro M. Baeza
d61ca87f9c [IMP] *: Short headers + Bump version numbers + es translations 2018-12-13 20:27:07 +01:00
Alexis de Lattre
57d8cdeb6c [FIX+IMP] account_banking_pain_base: Port to new API fix + Add bank.payment.lines object to allow grouping in the payments 2018-12-13 20:26:17 +01:00
Alexis de Lattre
8fda2b046d Fix bug #111 New field initiating_party_identifier on res.company (migration script included) 2018-12-13 20:24:22 +01:00
Alexis de Lattre
2712655cc0 Use attachments instead of creating a specific object for each kind of payment order 2018-12-13 20:24:22 +01:00
Stéphane Bidoul
ad4a5bd878 [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.
2018-12-13 20:23:38 +01:00
Pedro M. Baeza
647959436f [MIG] account_banking_pain_base: Migration to 8.0 2018-12-13 20:23:00 +01:00