gilles
61b6ddea99
[ADD] description field for payment order
2017-11-08 12:31:32 +01:00
Akim Juillerat
2c734a82d0
[10.0]Fix payment method onchange with multicompany ( #374 )
2017-11-08 12:31:32 +01:00
Adrien Peiffer (ACSONE)
dc7a499f4d
[IMP] account_payment_order: select partner bank account automatically.
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
fce7b19800
post_move default True, to keep the previous behavior
...
Bump up version number
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
Jose Maria Alzaga
6d47627c74
Remove internal_type=other restriction for transfer account ( #311 )
2017-11-08 12:31:32 +01:00
Adrien Peiffer (ACSONE)
84433254c6
[FIX] account_payment_order: Use 'index' instead of 'select'
2017-11-08 12:31:32 +01:00
Adrien Peiffer (ACSONE)
5567d60275
[FIX] account_payment_order: Use 'index' instead of 'select'
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
Alexis de Lattre
1039c8c1be
For the communication field, if self.move_id.ref is False, fallback on self.move_id.name
2017-11-08 12:31:32 +01:00
Alexis de Lattre
6f4c9990d7
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-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
Stéphane Bidoul
c2a48b1281
[IMP] prevent deleting a move-line that is linked to a payment order line
2017-11-08 12:31:32 +01:00
Alexis de Lattre
beb1170aba
Enable the payment methods by default on bank journals (including existing bank journals via post_install scripts)
...
Enable "Generate Accounting Entries On File Upload" by default
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
efdb8cba03
Add wizard to select several invoices at once and add them to payment order
...
Fix bug in groupby on bank payment lines
2017-11-08 12:31:32 +01:00
Alexis de Lattre
dd18c5f421
Don't group payment lines that use structured communication
2017-11-08 12:31:32 +01:00
Alexis de Lattre
2b95506d72
Take into accounts the remarks of Eric Caudal
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
ad162ffacd
Avoid empty group in payment mode
...
Code cleanup in views
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
4454a41241
Add option 'target_move' (all or posted) in wizard to select move lines to pay
...
Remove module account_payment_include_draft_move
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
72c22b39d1
PEP8 compliant with the latest version of flake8
2017-11-08 12:31:32 +01:00
Alexis de Lattre
5b0e29c80e
Take into account the review of @yvaucher
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