Commit Graph

231 Commits

Author SHA1 Message Date
Carlos Dauden
f668e8c4c8 [IMP] account_banking_mandate: Add valid_mandate field and fix onchange
(cherry picked from commit 25d2e4d)
2017-11-16 15:13:45 +01:00
Carlos Dauden
04e876192d [IMP] account_banking_mandate: Fill payment line with first valid mandate 2017-11-16 15:13:45 +01:00
etobella
5adeb942c5 [MIG] account_payment_mandate 2017-11-16 15:13:45 +01:00
Cédric Pigeon
c75ea33492 [UPD] if a mandate is linked to the bank account used, put it automatically on the payment line' 2017-11-16 15:13:45 +01:00
Andrea Stirpe
9702c7495a [FIX][10.0] account_banking_mandate: onchange return value missing (#382) 2017-11-16 15:13:45 +01:00
OCA Transbot
66eeac5430 OCA Transbot updated translations from Transifex 2017-11-16 15:13:45 +01:00
Pedro M. Baeza
9b42bad702 [FIX] account_banking_mandate/account_payment_partner: Signature changed in convert_to_write 2017-11-16 15:13:45 +01:00
Pedro M. Baeza
386429a948 [IMP] account_banking_mandate: Fill mandate in invoices if none is provided
Using same method as in upstream, mandate is filled on invoice creation if no
one is provided. This way, we don't need to install account_banking_mandate_sale
if we don't want to handle several mandates at sales level.
2017-11-16 15:13:45 +01:00
Pedro M. Baeza
8dc6d07743 [CHG] *: Change copyright and author after company merging 2017-11-16 15:13:45 +01:00
Alexis de Lattre
83a98ca2d7 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:13:45 +01:00
Pedro M. Baeza
8e227a5a67 [MIG] Rename manifest files 2017-11-16 15:13:45 +01:00
Pedro M. Baeza
a468e86ad9 [MIG] Make modules uninstallable 2017-11-16 15:13:45 +01:00
Stéphane Bidoul (ACSONE)
b5e3be7faf [FIX] remove en.po that was erroneously created by transbot 2017-11-16 15:13:45 +01:00
OCA Transbot
5097665fd4 OCA Transbot updated translations from Transifex 2017-11-16 15:13:45 +01:00
Alexis de Lattre
480d49ef79 FIX crash when selecting a customer that has a direct debit payment mode but no mandate
Hide many fields when payment_order_ok is False on a payment_mode
Fix payment line communication when the move line is not linked to an invoice (problem found when porting donation_debit_debit to v9)
2017-11-16 15:13:45 +01:00
Alexis de Lattre
e158ddf7ce 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-16 15:13:45 +01:00
Alexis de Lattre
fa7d3e9169 Better handling of partner_bank_id and mandate_id on invoice: invisible/required/onchange 2017-11-16 15:13:45 +01:00
Alexis de Lattre
b9c9d10dad Take into accounts the remarks of Eric Caudal 2017-11-16 15:13:45 +01:00
Alexis de Lattre
e561b49fcd Add number of mandates in partner form (similar to number of bank accounts) 2017-11-16 15:13:45 +01:00
Alexis de Lattre
9f1347a517 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:13:45 +01:00
Alexis de Lattre
7c34e39123 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-16 15:13:45 +01:00
Alexis de Lattre
a7b565a612 Copy payment mode and mandate from invoice to refund
Run dos2unix on the few files that had DOS carriage return
2017-11-16 15:13:45 +01:00
Alexis de Lattre
b576dc375e Fix tests of account_banking_mandate 2017-11-16 15:13:45 +01:00
Alexis de Lattre
53a52bf043 PEP8 compliant with the latest version of flake8 2017-11-16 15:13:45 +01:00
Alexis de Lattre
75b3c0d0e9 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:13:45 +01:00
Alexis de Lattre
e5fc812f6a 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:13:45 +01:00
Alexis de Lattre
0fa08b14c4 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:13:45 +01:00
Sergio Incaser
1fc85d105c [IMP][8.0] account_banking_mandate: Pep8 fixes 2017-11-16 15:13:45 +01:00
Sergio Incaser
f2719b327d [IMP][8.0] account_banking_mandate: Make format field required 2017-11-16 15:13:45 +01:00
sergio-incaser
c06d5151c4 [IMP][8.0] account_banking_mandate: Use api.multi instead 2017-11-16 15:13:45 +01:00
Sergio Incaser
4bc1bf08b4 [IMP][8.0] sepa_direct_debit_mandate: Split basic and sepa mandate 2017-11-16 15:13:45 +01:00
Sergio Incaser
cd93b5e60c [FIX][8.0] account_banking_mandate: Slipt basic mandate and sepa. 2017-11-16 15:13:45 +01:00
Sergio Incaser
eac0b74d7a [FIX][8.0] account_banking_mandate: Add creditor identifier field to report mandate.
[FIX][8.0] account_banking_mandate: Translate.
2017-11-16 15:13:45 +01:00
Pedro M. Baeza
24bdbc3d35 [IMP] *: es translations 2017-11-16 15:13:45 +01:00
Pedro M. Baeza
409eaf9482 [IMP] *: Bump version numbers 2017-11-16 15:13:45 +01:00
Pedro M. Baeza
46e1890721 [IMP] *: Short headers 2017-11-16 15:13:45 +01:00
Alexis de Lattre
ac33798cbc Add bank.payment.lines object to allow grouping in the payments 2017-11-16 15:13:45 +01:00
Darío Lodeiros
c829bf8d92 Mandates multicompany error #242
The restriction rule Banking Mandate multi-company, gives an error when editing a partner bank account from a company A when that account has created a mandate from another company B. So it is impossible to create a mandate for each company without disabling the rule.
Solution: Uncheck the rule writte in Banking Mandate multi-company. But i'm not sure this is correct.
2017-11-16 15:13:45 +01:00
Pedro M. Baeza
f8d191cbca [FIX] account_banking_mandate: es translation 2017-11-16 15:13:45 +01:00
Antonio Espinosa
81edef2f16 [FIX] Allow to select bank account when creating a mandate 2017-11-16 15:13:45 +01:00
Pedro M. Baeza
fb8241a8d7 [FIX] account_banking_mandate: Fix name_get call 2017-11-16 15:13:45 +01:00
Pedro M. Baeza
f031454449 [MIG] Make modules uninstallable 2017-11-16 15:13:45 +01:00
Stéphane Bidoul
e61a1e2789 [UPD] prefix versions with 8.0 2017-11-16 15:13:45 +01:00
Yannick Vaucher
d662c94561 Add missing default oca icons 2017-11-16 15:13:45 +01:00
sergio
d372a5b1ee [IMP] account_banking_mandate: Remove header and footer, new paper format to use all paper size 2017-11-16 15:13:45 +01:00
sergio-incaser
8592e13e54 [IMP] account_banking_mandate: Add report SEPA mandate. 2017-11-16 15:13:45 +01:00
Alexis de Lattre
d8b6e196fa 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:13:45 +01:00
Philippe Schmidt
cf4ba4490b some typo corrections 2017-11-16 15:13:45 +01:00
Philippe Schmidt
2fae08e7b6 typo corrections 2017-11-16 15:13:45 +01:00
Philippe Schmidt
fb24c72ae1 Add requested descriptions in an OCA README.rst file 2017-11-16 15:13:45 +01:00