Commit Graph

36 Commits

Author SHA1 Message Date
andreparames
9512d3de3a [ADD] sepa: add Instruction Identification field
InstrId is optional, so there should be no harm in
adding it always, with the same value as EndToEndId.
2018-10-24 23:20:10 +02:00
Stéphane Bidoul
c5503f4ea7 [ADD] sepa: support for Purpose Code 2018-10-24 23:20:04 +02:00
Alexis de Lattre
37d58d6319 [10.0][FIX] Split account move generated for SEPA direct debits per sequence_type (#464)
The sequence_type of mandates switches from First to Recurring:
- BEFORE: when state switched from 'open' to 'generated'
- NOW: when state switches from 'generated' to 'uploaded'
2018-04-09 11:55:46 +02:00
etobella
c8303f304c [MIG] account_banking_sepa_direct_debit 2017-11-22 10:50:07 +01:00
Pedro M. Baeza
5d312aa87c account_banking*: Show identifiers at payment mode level
Now the visibility is controlled through a security group.
2017-11-22 10:49:30 +01:00
Alexis de Lattre
f8b219c992 Add support for ISO20022 "Category Purpose"
Add local instrument 'INST' for SEPA Instant Credit Transfer
2017-11-22 10:49:30 +01:00
Alexis de Lattre
37f79aae8f Remove method which is not called anymore 2017-11-22 10:49:30 +01:00
Alexis de Lattre
c3cbddeef7 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-22 10:49:30 +01:00
Alexis de Lattre
e85b79b5d1 FIX manual payment method 2017-11-22 10:49:30 +01:00
Alexis de Lattre
d6fb1bf115 Move field bank_account_required from module account_payment_partner to account_payment_mode
Make the mandate a required field on payment line when the payment method has mandate_required=True
Make the bank account a required field on payment line when the payment method has bank_account_required=True
Minor code cleanup
PEP8
2017-11-22 10:49:30 +01:00
Alexis de Lattre
965f665073 Simpler variable names
Rename method
2017-11-22 10:49:30 +01:00
Alexis de Lattre
cca341543b Add the bank_line as argument to some methods that generate SEPA XML 2017-11-22 10:49:30 +01:00
Alexis de Lattre
880d500d12 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-22 10:49:30 +01:00
Alexis de Lattre
23e9bdebbf 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-22 10:49:30 +01:00
Alexis de Lattre
b8b2e46aab Take into accounts the remarks of Eric Caudal 2017-11-22 10:49:30 +01:00
Alexis de Lattre
36fc4911b1 Add ICS in account settings page 2017-11-22 10:49:30 +01:00
Alexis de Lattre
87f9c419f8 Add support for using bank account as offsetting account in journal entry 2017-11-22 10:49:30 +01:00
Alexis de Lattre
1e4588b5b1 Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2017-11-22 10:49:30 +01:00
Alexis de Lattre
218c2d2be6 Add support for non-SEPA DD and CT without without IBANs 2017-11-22 10:49:30 +01:00
Alexis de Lattre
a6bc2e12b3 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-22 10:49:30 +01:00
Sergio Incaser
01ee118e94 account_banking_sepa_direct_debit: Pep8 fixes 2017-11-22 10:49:30 +01:00
sergio-incaser
04cd389976 account_banking_sepa_direct_debit: Use api.multi instead 2017-11-22 10:49:30 +01:00
Sergio Incaser
b06d52b610 sepa_direct_debit_mandate: Split basic and sepa mandate 2017-11-22 10:49:30 +01:00
Antonio Espinosa
5bcebe7277 Define SEPA identifiers per payment mode 2017-11-22 10:49:30 +01:00
Pedro M. Baeza
23c9cb6725 *: Short headers 2017-11-22 10:49:30 +01:00
Alexis de Lattre
6bd1d0236e FIX Reading wrong field for sequence type of SEPA DD
Loop on bank payment lines instead of payment lines
2017-11-22 10:49:30 +01:00
Alexis de Lattre
ec65f27b35 Add a hook to inherit grouping of the transfer account move line
Use that new hook in SEPA direct debits
Better variable names
2017-11-22 10:49:30 +01:00
Alexis de Lattre
b6af1f29ff Use attachments instead of creating a specific object for each kind of payment order 2017-11-22 10:49:30 +01:00
Alexandre Fayolle
c09e5c936c 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-22 10:49:30 +01:00
Alexis de Lattre
e314467222 Limit lenght of mandate reference, according to ISO 20022 2017-11-22 10:49:30 +01:00
Stéphane Bidoul
bc565493c8 flake8 W503 2017-11-22 10:49:30 +01:00
Pedro M. Baeza
98158f8953 account_payment_sale_stock: Split for removing stock dependency on sale [DEL] Remove old translations templates [IMP] More reorder on folder structure 2017-11-22 10:49:30 +01:00
Pedro M. Baeza
0e991a29d5 Uncaught flake8 errors 2017-11-22 10:49:30 +01:00
Alexis de Lattre
69b331b3f4 replace old sdd.mandate referencess 2017-11-22 10:49:30 +01:00
Pedro M. Baeza
62d13a87d2 account_banking_mandate, spliting functionality in two modules 2017-11-22 10:49:30 +01:00
Pedro M. Baeza
e89b7a59df Migration and enhancement of all modules involved in SEPA 2017-11-22 10:49:30 +01:00