Commit Graph

30 Commits

Author SHA1 Message Date
Jordi Ballester
ee3c27b747 When the user looks for open payables or receivables, in the
context of payment orders, she should ocus on the amount that
is due to be paid. In this method we are forcing to display both
the amount due in company and in the invoice currency.

We then hide the fields debit and credit, because they add no value.
2017-11-15 14:58:18 +01:00
etobella
4102166a47 [MIG] account_payment_order 2017-11-08 12:31:32 +01:00
Gilles Meyomesse (ACSONE)
e9b32978b4 [ADD] report for payment order (#370) 2017-11-08 12:31:32 +01:00
gilles
61b6ddea99 [ADD] description field for payment order 2017-11-08 12:31:32 +01:00
Akim Juillerat
b36b396c78 [IMP] account_payment_order: Restriction + tests
* Restrict the deletion of bank payment line
* Add test_cancel_payment_order
2017-11-08 12:31:32 +01:00
mdietrichc2c
2fd87950f2 [IMP] account_payment_order: Don't allow deletion of an uploaded payment order + allow to cancel an uploaded payment order 2017-11-08 12:31:32 +01:00
Alexis de Lattre
d3277fdd79 'date_prefered' is a required field on payment orders: so, if 'date_prefered' key is present in vals but has no value, we use the default value on the payment mode 2017-11-08 12:31:32 +01:00
Alexis de Lattre
441c1339c2 Add field default_date_prefered on payment mode 2017-11-08 12:31:32 +01:00
Alexis de Lattre
7375fc6698 [IMP] Explicit error when bank account is missing on bank journal 2017-11-08 12:31:32 +01:00
Alexis de Lattre
6bd9f48aa6 Add 'post_move' option on account.payment.mode 2017-11-08 12:31:32 +01:00
Alexis de Lattre
67ef09a048 [FIX] Bug #353 crash when selecting a payment mode that has a variable link to a bank account 2017-11-08 12:31:32 +01:00
vrenaville
06a8a823e8 [FIX] fill date instead off maturity date on account move line generated 2017-11-08 12:31:32 +01:00
Alexis de Lattre
98770e3d68 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-08 12:31:32 +01:00
Stéphane Bidoul (ACSONE)
13959ba9ed [IMP] set partner on offsetting account move line if possible
fixes #277
2017-11-08 12:31:32 +01:00
Stéphane Bidoul (ACSONE)
3dca43bcc1 [IMP] account_payment_order: extensibility of _prepare_move
Pass the list of bank lines to _prepare_move so it is possible to customize the move (eg it's name) based on the lines being paid.
2017-11-08 12:31:32 +01:00
Alexis de Lattre
55bd50361d Add support for multi-currency in the generation of the account move.
Take into account all the remaining remarks of Frederic Clementi dated May 30:
- see multi-currency amounts in the wizard to add transaction lines
- add help msg on bank payment lines
2017-11-08 12:31:32 +01:00
Alexis de Lattre
95d18f3a3b FIX manual payment method 2017-11-08 12:31:32 +01:00
Alexis de Lattre
b4c2521a67 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-08 12:31:32 +01:00
Stéphane Bidoul (ACSONE)
aa0aced0cb Avoid confusion between payment mode and payment method 2017-11-08 12:31:32 +01:00
Alexis de Lattre
88dbbebe43 Add option no_debit_before_maturity on payment mode 2017-11-08 12:31:32 +01:00
Alexis de Lattre
ed265873ce Add support for using bank account as offsetting account in journal entry 2017-11-08 12:31:32 +01:00
Alexis de Lattre
b4f90385fd Move fields mandate_required and export_ascii from payment mode to payment method
Display chatter on payment orders
Several small usability improvements
2017-11-08 12:31:32 +01:00
Alexis de Lattre
6b5bcebe88 Payment date should never be in the past. 2017-11-08 12:31:32 +01:00
Alexis de Lattre
aeee028636 Remove 'done' state on payment orders 2017-11-08 12:31:32 +01:00
Alexis de Lattre
f61c03e91a 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-08 12:31:32 +01:00
Alexis de Lattre
cb77ae9450 Copy payment mode and mandate from invoice to refund
Run dos2unix on the few files that had DOS carriage return
2017-11-08 12:31:32 +01:00
Alexis de Lattre
b505cabcd9 Filter on allowed_journal_ids even if onchange of payment_mode_id is not played (for example when the payment line is pushed from the invoice) 2017-11-08 12:31:32 +01:00
Alexis de Lattre
8736d5722f 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-08 12:31:32 +01:00
Alexis de Lattre
469af80ee7 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-08 12:31:32 +01:00
Alexis de Lattre
e00c726c7b 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-08 12:31:32 +01:00