Commit Graph

44 Commits

Author SHA1 Message Date
Timka Piric
e0ca7e3e9c PstCd and TwnNm not present in pain files 001.003.xx and 008.003.xx. Added check of pain_flavor. 2018-11-07 12:01:35 +01:00
Stéphane Bidoul (ACSONE)
1faefbf717 Revert "[IMP] support bank postal address in CdtrAgt and DbtrAgt"
This reverts commit cbe52fe3f2.
2018-10-25 00:11:54 +02:00
Stéphane Bidoul (ACSONE)
078de097c8 [IMP] improve Postal Address block
Use TwnNm for city and PstlCd for zip.
2018-10-24 23:20:32 +02:00
Stéphane Bidoul (ACSONE)
cbe52fe3f2 [IMP] support bank postal address in CdtrAgt and DbtrAgt
City and Country only so far.
2018-10-24 23:20:25 +02:00
Stéphane Bidoul (ACSONE)
8c4d4c505b [IMP] pain: add hook for party identifiers 2018-10-24 23:20:15 +02:00
Stéphane Bidoul
c5503f4ea7 [ADD] sepa: support for Purpose Code 2018-10-24 23:20:04 +02:00
andreparames
186593d5e4 [ADD] sepa: support Initiating Party Scheme 2018-10-24 23:19:57 +02:00
Stefan Rijnhart (Opener)
75a72c1ed8 [ADD] Allow for multiple SEPA payment methods with different versions (#493) (#497) 2018-07-25 18:02:37 +02:00
etobella
1fabf8ca23 [MIG] account_banking_pain_base 2017-11-16 15:16:55 +01:00
Pedro M. Baeza
f10ac25634 [IMP] account_banking*: Show identifiers at payment mode level
Now the visibility is controlled through a security group.
2017-11-16 15:16:39 +01:00
Alexis de Lattre
f787626993 Add support for ISO20022 "Category Purpose"
Add local instrument 'INST' for SEPA Instant Credit Transfer
2017-11-16 15:16:39 +01:00
Alexis de Lattre
59724e429c 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)
2017-11-16 15:16:39 +01:00
Alexis de Lattre
33d247cb57 Simpler variable names
Rename method
2017-11-16 15:16:39 +01:00
Alexis de Lattre
c9f5fe3992 Move the code that generate the bank account number in the SEPA XML file in a dedicated method 2017-11-16 15:16:39 +01:00
Alexis de Lattre
9720eb1079 Add the bank_line as argument to some methods that generate SEPA XML 2017-11-16 15:16:39 +01:00
Alexis de Lattre
872a34b8d5 Add field local_instrument in payment lines and bank payment lines 2017-11-16 15:16:39 +01:00
Alexis de Lattre
63946e09f3 Adds flexibility to support direct debit direct debit for switzerland (pain.008.001.02.ch.01)
Implement SEPA Core recommandations for postal address
2017-11-16 15:16:39 +01:00
Alexis de Lattre
f6143e4e06 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
Allow cancel when payment order is in "File Generated" state
Add postal address in party block
2017-11-16 15:16:39 +01:00
Alexis de Lattre
e2b1b44653 Take into accounts the remarks of Eric Caudal 2017-11-16 15:16:39 +01:00
Alexis de Lattre
075871ad64 FIX use of communication type 2017-11-16 15:16:39 +01:00
Alexis de Lattre
71d1e3883d Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2017-11-16 15:16:39 +01:00
Alexis de Lattre
7c3a7892a6 Add support for non-SEPA DD and CT without without IBANs 2017-11-16 15:16:39 +01:00
Alexis de Lattre
de23d92e82 Finalise merge of account_banking_payment_transfer into account_payment_order
Add support for transfer moves
Display transfer moves in a dedicated tab in payment order view
Code cleanup
2017-11-16 15:16:39 +01:00
Alexis de Lattre
d616d19564 bank_bic on res.partner.bank is a related field in v9 and is not displayed in form view, so no need for explainations any more 2017-11-16 15:16:39 +01:00
Alexis de Lattre
f319243b72 Start to port bank-payment to v9 (with a lot of improvements) during the Sorrento Code sprint 2016
Improvements include:
- full re-organisation of modules and big re-organisation of the code
- simplification of the code related to the fact that support for direct debit is now in t
he base module, not added by an optional module account_direct_debit (module was removed)
- new design of the wizard to select move lines to pay
- support for non-SEPA file transfer-
- support for German direct debit SEPA files (fixes bug #129)
- remove workflow of payment.order

This port to v9 is not finished... there is still a lot of work:
- finish the code of account_payment_order/wizard/account_payment_line_create.py
- port account_banking_payment_transfer and integrate it inside account_payment_order
- fix bugs
- clean-up code, remove dead code
- test in several complex scenarios
2017-11-16 15:16:39 +01:00
Antonio Espinosa
eec3b4c092 [IMP] Define SEPA identifiers per payment mode 2017-11-16 15:16:39 +01:00
Pedro M. Baeza
264be465d1 [IMP] *: Short headers 2017-11-16 15:16:39 +01:00
Alexis de Lattre
0590547adc Add bank.payment.lines object to allow grouping in the payments 2017-11-16 15:16:39 +01:00
Alexis de Lattre
24861b05d6 Add @api.model on _get_struct_communication_types 2017-11-16 15:16:39 +01:00
Alexis de Lattre
883ecc60a4 account_banking_pain_base: add @api.model on all methods of banking_export_pain.py 2017-11-16 15:16:39 +01:00
Alexis de Lattre
edf7ab7c73 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
2017-11-16 15:16:39 +01:00
Alexis de Lattre
14de04c01c Add hook to block in localization modules that want raise if initiating_party is not set 2017-11-16 15:16:39 +01:00
Alexis de Lattre
4eb8ada353 Replace SQL by code that uses the ORM, as suggested by Pedro
Move part of the migration code to res_company.py, so that it's possible to inherit in other modules
2017-11-16 15:16:39 +01:00
Alexis de Lattre
d2389709c3 Fix bug #111 New field initiating_party_identifier on res.company (migration script included) 2017-11-16 15:16:39 +01:00
Alexis de Lattre
66d2242a02 Use attachments instead of creating a specific object for each kind of payment order 2017-11-16 15:16:39 +01:00
Stéphane Bidoul
7a29f7a474 [IMP] pain: do not use InstrPrty for Direct Debit 2017-11-16 15:16:39 +01:00
Alexandre Fayolle
c9c352bdd7 protect import of external dependencies
Odoo won't install an addon if the external dependencies are not met.
However, the python modules of the addons are imported at startup, and the
lack of an external dependency for an external addon will cause a crash,
therefore the import needs to be in a try..except block.
2017-11-16 15:16:39 +01:00
Stéphane Bidoul
2c05a79eb0 [IMP] help text for bank and BIC fields
Courtesy Alexis de Lattre
2017-11-16 15:16:39 +01:00
Pedro M. Baeza
f4f8e6c8f3 [FIX] account_banking_pain_base: Set a general rule for the initiating party identifier 2017-11-16 15:16:39 +01:00
Stéphane Bidoul
96d2ba0318 [IMP] use new style to make selection extendable 2017-11-16 15:16:39 +01:00
Stéphane Bidoul
5b4a5e3432 [IMP] sepa: make it easier to extend structured communication types 2017-11-16 15:16:39 +01:00
Pedro M. Baeza
920ff73e72 [IMP] Translation template files
[IMP] Translations to spanish
2017-11-16 15:16:39 +01:00
Pedro M. Baeza
f69f539953 [FIX] Uncaught flake8 errors 2017-11-16 15:16:39 +01:00
Pedro M. Baeza
039ac02912 [MIG] Migration and enhancement of all modules involved in SEPA 2017-11-16 15:16:39 +01:00