Commit Graph

225 Commits

Author SHA1 Message Date
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
30c723a562 Finalise the wizard of selection of move lines to pay
Add button "Add to payment/debit order" on invoice form view
Started to integrate payment transfer in account_payment_order (not finished at all though)
Various fixes/changes/improvements/...
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
9f66889a9e [IMP] *: es translations 2017-11-16 15:16:39 +01:00
Pedro M. Baeza
ff2599a852 [IMP] *: Bump version numbers 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
Pedro M. Baeza
d0b41b7f44 [MIG] Make modules uninstallable 2017-11-16 15:16:39 +01:00
Stéphane Bidoul
0f7a8f8f81 [UPD] prefix versions with 8.0 2017-11-16 15:16:39 +01:00
Yannick Vaucher
4856ad29ed Add missing default oca icons 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
Philippe Schmidt
263a317be0 some typo corrections 2017-11-16 15:16:39 +01:00
Philippe Schmidt
8140ac4700 Add requested descriptions in an OCA README.rst file 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
84ed8f8c1e Better import 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
Pedro M. Baeza
86dbfb48c8 [IMP] Expand authors + manifest cleaning 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
Alexandre Fayolle
1f312cdbc3 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
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
94133f80d0 [FIX] account_payment_sale_stock: Split for removing stock dependency on sale
[DEL] Remove old translations templates
[IMP] More reorder on folder structure
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
074c85d9f3 Clean files 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
Pedro M. Baeza
97d3a49def Initial adjustments for 8.0 repository 2017-11-16 15:16:39 +01:00
Sandy Carter
295316d73f PEP8 on account_banking_pain_base 2017-11-16 15:16:39 +01:00
Launchpad Translations on behalf of banking-addons-team
105951bfc1 Launchpad automatic translations update. 2017-11-16 15:16:39 +01:00
Alexis de Lattre
b89c82a6c3 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.
2017-11-16 15:16:39 +01:00
Launchpad Translations on behalf of banking-addons-team
726c762e8d Launchpad automatic translations update. 2017-11-16 15:16:39 +01:00
Ignacio Ibeas - Acysos S.L
7516f43ef3 [FIX] account_banling_pain_base: refactored 2017-11-16 15:16:39 +01:00
Stéphane Bidoul
6855968fe6 [FIX] trivial bug fix 2017-11-16 15:16:39 +01:00
Ignacio Ibeas - Acysos S.L
6a38c5c816 [FIX] account_banking_pain_base: support party identifier for Spain 2017-11-16 15:16:39 +01:00
Alexis de Lattre
c014436e5e Only catch the openerp exception in generate_party_agent(), as suggested by Stefan on the MP. 2017-11-16 15:16:39 +01:00
Alexis de Lattre
eb7be67643 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 !) 2017-11-16 15:16:39 +01:00
Alexis de Lattre
2ae37c902e If it's a national payment, we now support "BIC not provided". 2017-11-16 15:16:39 +01:00
Alexis de Lattre
177d7d827c Put the field communication2 back in the view of payment lines.
Rename a badly named variable (thanks to Stefan Rijnhart for spotting this)
2017-11-16 15:16:39 +01:00
Alexis de Lattre
ecc13f8dd1 Update module description. 2017-11-16 15:16:39 +01:00
Alexis de Lattre
3de24ccda2 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
2017-11-16 15:16:39 +01:00
Alexis de Lattre
3908266d28 Mutualize more code between SCT and SDD. 2017-11-16 15:16:39 +01:00