Commit Graph

393 Commits

Author SHA1 Message Date
Stéphane Bidoul
56f9dfec6e pep8 long line 2017-11-22 10:50:55 +01:00
Alexis de Lattre
ee18b2d4a7 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:50:55 +01:00
Alexis de Lattre
82317abb92 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:50:55 +01:00
Alexis de Lattre
ec41abda44 Take into accounts the remarks of Eric Caudal 2017-11-22 10:50:55 +01:00
Alexis de Lattre
0ed6c5f588 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:50:55 +01:00
Alexis de Lattre
d417b32fb8 Add support for non-SEPA DD and CT without without IBANs 2017-11-22 10:50:55 +01:00
Alexis de Lattre
d9564a0133 Add _id suffix on M2O fields customer_payment_mode and supplier_payment_mode (Odoo did the same on all the M2O property fields of res.partner) 2017-11-22 10:50:55 +01:00
Alexis de Lattre
08e4b93702 Add module account_banking_mandate_sale
Add option 'mandate_required' on payment orders
Autoselect first valid mandate on customer invoice that have a payment mode 'mandate_required' = True
Add option on select move lines to pay wizard to allow selection of litigation moves (unchecked by default), in order to integrate the feature of the module account_payment_blocking
2017-11-22 10:50:55 +01:00
Alexis de Lattre
e21045c2b1 Update and re-enable demo data 2017-11-22 10:50:55 +01:00
Alexis de Lattre
8fd479c802 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-22 10:50:55 +01:00
Alexis de Lattre
af9874054c 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:50:55 +01:00
OCA Transbot
ea338023f9 OCA Transbot updated translations from Transifex 2017-11-22 10:50:55 +01:00
Antonio Espinosa
ee53fc8fa3 Define SEPA identifiers per payment mode 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
4c414982b9 *: es translations 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
c53566d6da *: Bump version numbers 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
01e5730574 *: Short headers 2017-11-22 10:50:55 +01:00
Alexis de Lattre
9ce860f89e Add bank.payment.lines object to allow grouping in the payments 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
47e980fd21 Make modules uninstallable 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
278e019177 prefix versions with 8.0 2017-11-22 10:50:55 +01:00
unknown
5274ca1082 corrected hint on usage 2017-11-22 10:50:55 +01:00
unknown
c85bd38667 German pain.001.003.03 format 2017-11-22 10:50:55 +01:00
Stéphane Bidoul
df0afac3f4 sepa attachments migration fix
Sometimes sepa file could have been detached
from the corresponding payment order.
2017-11-22 10:50:55 +01:00
Alexis de Lattre
5de112690b 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-22 10:50:55 +01:00
Philippe Schmidt
30279d43f0 some typo corrections 2017-11-22 10:50:55 +01:00
Philippe Schmidt
31a25355e7 Add requested descriptions in an OCA README.rst file 2017-11-22 10:50:55 +01:00
Alexis de Lattre
5456698937 Remove import models from init in sepa_credit_transfer 2017-11-22 10:50:55 +01:00
Alexis de Lattre
12f019ee55 Fix flake8 warnings 2017-11-22 10:50:55 +01:00
Alexis de Lattre
59b3c8da6b Add migration scripts to move files to attachments 2017-11-22 10:50:55 +01:00
Alexis de Lattre
e4c5016dc3 Use attachments instead of creating a specific object for each kind of payment order 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
db5bd80203 Expand authors + manifest cleaning 2017-11-22 10:50:55 +01:00
Alexandre Fayolle
8e0b3e2afa 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:50:55 +01:00
Stéphane Bidoul
e0026cda62 sepa credit tfr: get BIC from bank account if not available on bank
Since the bank is optional on bank accounts and the BIC can be set
on the bank account if there is no bank, we allow the system to
get the BIC from the bank account in case it is not on the bank.

We give priority to the BIC indicated on the bank, keeping
the same behaviour with existing data where the bank BIC is
available.
2017-11-22 10:50:55 +01:00
Alexandre Fayolle
a80304dc30 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-22 10:50:55 +01:00
Julien Laloux
f49cd7eb97 Improve code 2017-11-22 10:50:55 +01:00
Julien Laloux
c7a2e4a851 Fix an error when no payment_order_ids 2017-11-22 10:50:55 +01:00
Alexis de Lattre
54ff9076c9 Add sale_ok and purchase_ok filters in partner/sale/purchase form views Use widget=selection for payment_mode_id fields Update demo data 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
81aea90441 Translation template files [IMP] Translations to spanish 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
8a87120fdb 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:50:55 +01:00
Pedro M. Baeza
2f906bc428 Uncaught flake8 errors 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
b04d278fc8 Replace deprecated workflow calls 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
c741907814 Clean files 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
833144982b Update icon files 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
cf00ab76b9 Migration and enhancement of all modules involved in SEPA 2017-11-22 10:50:55 +01:00
Pedro M. Baeza
785979342f Initial adjustments for 8.0 repository 2017-11-22 10:50:55 +01:00
Sandy Carter
1d80f87318 PEP8 on account_banking_sepa_credit_transfer 2017-11-22 10:50:55 +01:00
Launchpad Translations on behalf of banking-addons-team
311251aa23 Launchpad automatic translations update. 2017-11-22 10:50:55 +01:00
Alexis de Lattre
4e466159a0 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-22 10:50:55 +01:00
Alexis de Lattre
373432c41c Add demo data 2017-11-22 10:50:55 +01:00
Alexis de Lattre
52364ea68c 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-22 10:50:55 +01:00
Alexis de Lattre
ffdd300b24 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-22 10:50:55 +01:00