Commit Graph

22 Commits

Author SHA1 Message Date
Pedro M. Baeza
8f40c26ba5 [FIX] account_banking_mandate/account_payment_partner: Signature changed in convert_to_write 2017-04-24 14:43:09 +02:00
Pedro M. Baeza
d7e0b19fdd [IMP] account_payment_partner: Fill payment mode in invoices if none is provided
Using same method as in upstream, payment mode is filled on invoice creation if
no payment method is provided. This way, we don't need to install
account_payment_sale if we don't want to handle several payment modes at sales
level. Even more, if we install the module later and we have already existing
sales orders without payment mode filled, those orders will be invoiced with
the customer payment mode.
2017-04-24 14:32:48 +02:00
Alexis de Lattre
fbe4351dbe 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)
2016-10-20 01:41:41 +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
b48614cb71 Remove 'done' state on payment orders 2016-05-08 14:38:48 +02:00
Alexis de Lattre
8deb338ccb 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) 2016-05-08 00:11:26 +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
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
Pedro M. Baeza
3fbd4f663c [IMP] account_payment_partner: Remove label field
There's already a field in the payment mode called 'note' that is
printed on the invoices, so there's no need of another field for
that purpose. This field is added by account_banking_payment_export
2016-02-18 09:40:58 +01:00
Pedro M. Baeza
4a62d6d30b [IMP] *: Short headers 2016-02-18 09:40:58 +01:00
Alexis de Lattre
22cd2f3c40 Add translatable 'label' field on payment.mode, designed to be used in invoice report 2016-02-18 09:40:58 +01:00
Alexis de Lattre
32470c3705 Better filters on payment.order.create wizard
Add default values for those filters on payment.mode
2016-02-18 09:40:58 +01:00
Alexis de Lattre
c23083512f account_payment_partner : move unused file + cleanup code 2015-01-14 15:25:50 +01:00
Pedro M. Baeza
7ae3bd44cf Use sale_ok and purchase_ok instead of tweaking payment type 2014-11-08 02:45:12 +01:00
Pedro M. Baeza
4f2fb49e48 [FIX] account_payment_sale_stock: Split for removing stock dependency on sale
[DEL] Remove old translations templates
[IMP] More reorder on folder structure
2014-11-08 02:45:12 +01:00
Pedro M. Baeza
10757d8ab4 [FIX] Uncaught flake8 errors 2014-11-08 02:45:12 +01:00
Pedro M. Baeza
9670136f6a [DEL] Remove unused files 2014-11-08 02:45:12 +01:00
Pedro M. Baeza
7d3b61dbec [IMP] Replace deprecated workflow calls 2014-11-08 02:45:12 +01:00
Pedro M. Baeza
b1b07a417c Clean files 2014-11-08 02:45:12 +01:00
Pedro M. Baeza
aa54c740ca [MIG] Migration and enhancement of all modules involved in SEPA 2014-11-08 02:45:11 +01:00