Commit Graph

27 Commits

Author SHA1 Message Date
Pedro M. Baeza
56d2c5c074 [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-04-24 14:15:51 +02:00
Alexis de Lattre
f3f75437c2 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)
2016-07-23 00:21:07 +02:00
Alexis de Lattre
0e64b0295a 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
2016-06-14 22:25:23 +02:00
Alexis de Lattre
21bc911b20 Better handling of partner_bank_id and mandate_id on invoice: invisible/required/onchange 2016-06-07 00:58:19 +02:00
Alexis de Lattre
d4d6a301b7 Take into accounts the remarks of Eric Caudal 2016-05-23 10:42:28 +02:00
Alexis de Lattre
8ae4c6042f Add number of mandates in partner form (similar to number of bank accounts) 2016-05-10 23:47:01 +02:00
Alexis de Lattre
4e6261a9b1 Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2016-05-10 23:16:31 +02:00
Alexis de Lattre
ccb7e9f2a2 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
2016-05-07 23:55:46 +02:00
Alexis de Lattre
3b10598b36 Copy payment mode and mandate from invoice to refund
Run dos2unix on the few files that had DOS carriage return
2016-05-07 22:02:49 +02:00
Alexis de Lattre
aefdda2ae3 PEP8 compliant with the latest version of flake8 2016-05-07 01:39:35 +02:00
Alexis de Lattre
51301645fa 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
2016-05-06 22:14:56 +02:00
Alexis de Lattre
abb052d894 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/...
2016-05-06 01:16:20 +02:00
Alexis de Lattre
bee3093841 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
2016-04-30 01:46:34 +02:00
Sergio Incaser
bf807e998b [IMP][8.0] account_banking_mandate: Pep8 fixes 2016-04-06 10:58:38 +02:00
Sergio Incaser
6451618527 [IMP][8.0] account_banking_mandate: Make format field required 2016-04-06 10:48:02 +02:00
sergio-incaser
5ea5adf33a [IMP][8.0] account_banking_mandate: Use api.multi instead 2016-04-06 10:48:02 +02:00
Sergio Incaser
9a911256b8 [IMP][8.0] sepa_direct_debit_mandate: Split basic and sepa mandate 2016-04-06 10:47:13 +02:00
Sergio Incaser
b11930d916 [FIX][8.0] account_banking_mandate: Slipt basic mandate and sepa. 2016-04-06 10:47:13 +02:00
Pedro M. Baeza
4a62d6d30b [IMP] *: Short headers 2016-02-18 09:40:58 +01:00
Alexis de Lattre
edcf09147e Add bank.payment.lines object to allow grouping in the payments 2016-02-18 09:40:57 +01:00
Pedro M. Baeza
f44c6faf00 [FIX] account_banking_mandate: Fix name_get call 2016-02-01 19:35:31 +01:00
Stéphane Bidoul
77753a3392 [FIX] flake8 W503 2015-02-27 16:17:24 +01:00
Alexis de Lattre
cd6c30e9af [FIX] Bug #96 bad use of new API 2015-01-14 18:08:17 +01:00
Pedro M. Baeza
2a4bf7d859 [FIX] account_banking_mandate: partner_id field correctly related 2014-11-08 02:45:12 +01:00
Pedro M. Baeza
dbdb02ef6e [FIX] account_banking_mandate: Fix id get from Recordset 2014-11-08 02:45:12 +01:00
Alexis de Lattre
38e80516cd [FIX] replace old sdd.mandate referencess 2014-11-08 02:45:12 +01:00
Pedro M. Baeza
ba0375a615 [ADD] account_banking_mandate, spliting functionality in two modules 2014-11-08 02:45:12 +01:00