Commit Graph

27 Commits

Author SHA1 Message Date
Jordi Ballester
e8ebf4861a 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.
2018-12-13 17:02:13 +01:00
etobella
435acb4b0b [MIG] account_payment_order 2018-12-13 17:02:13 +01:00
Gilles Meyomesse (ACSONE)
3bd26a7dee [ADD] report for payment order (#370) 2018-12-13 17:02:13 +01:00
gilles
aabace0e1e [ADD] description field for payment order 2018-12-13 17:02:13 +01:00
Akim Juillerat
25b5d20dfc [10.0]Fix payment method onchange with multicompany (#374) 2018-12-13 17:02:13 +01:00
Adrien Peiffer (ACSONE)
495048fcf6 [IMP] account_payment_order: select partner bank account automatically. 2018-12-13 17:02:13 +01:00
Pedro M. Baeza
128557df13 [FIX] account_payment_order: Adapt test to v10 2018-12-13 17:02:13 +01:00
Akim Juillerat
96a7ee437c [IMP] account_payment_order: Restriction + tests
* Restrict the deletion of bank payment line
* Add test_cancel_payment_order
2018-12-13 17:02:13 +01:00
mdietrichc2c
18a46ce204 [IMP] account_payment_order: Don't allow deletion of an uploaded payment order + allow to cancel an uploaded payment order 2018-12-13 17:02:13 +01:00
OCA Transbot
4667c181af OCA Transbot updated translations from Transifex 2018-12-13 17:02:13 +01:00
Alexis de Lattre
d059a5eb0d [FIX+IMP] account_payment_order:
* FIX: Bug #353 crash when selecting a payment mode that has a variable link to a bank account
* FIX: Add 'post_move' option on account.payment.mode with default True, to keep the previous behavior
* IMP: Explicit error when bank account is missing on bank journal
* IMP: Add field default_date_prefered on payment mode.
2018-12-13 16:52:20 +01:00
mdietrichc2c
956e8d1a4a Fix 2 issues on form view for payment order 2018-12-13 16:51:51 +01:00
vrenaville
629ed3a036 [FIX] fill date instead off maturity date on account move line generated 2018-12-13 16:51:51 +01:00
Alexis de Lattre
e253c5e439 Creation/Modification of bank info only for Account Payment group 2018-12-13 16:51:51 +01:00
Jose Maria Alzaga
5f576a6d3f Remove internal_type=other restriction for transfer account (#311) 2018-12-13 16:51:51 +01:00
Adrien Peiffer (ACSONE)
9bc158679f [FIX] account_payment_order: Use 'index' instead of 'select' 2018-12-13 16:51:51 +01:00
Alexis de Lattre
63ca3e4868 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)
2018-12-13 16:51:51 +01:00
Yannick Vaucher
03159a85c9 Reactivate company rules in account_payment_order 2018-12-13 16:50:58 +01:00
Stéphane Bidoul (ACSONE)
0466e0f869 [IMP] set partner on offsetting account move line if possible
fixes #277
2018-12-13 16:50:58 +01:00
OCA Transbot
e3ff2a6bad OCA Transbot updated translations from Transifex 2018-12-13 16:50:46 +01:00
Alexis de Lattre
d05b404796 [FIX] account_payment_order: 4 things:
* 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)
* For the communication field, if self.move_id.ref is False, fallback on self.move_id.name
2018-12-13 16:49:59 +01:00
Stéphane Bidoul (ACSONE)
e3f19d9d1b [FIX+IMP] account_payment_order: 2 more things:
* IMP: 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.

* FIX: payment order: add missing onchange dependencies in move selection wizard
2018-12-13 16:49:11 +01:00
Yannick Vaucher
03684a5092 Move the account_payment_mode ir.rule in account_payment_mode module 2018-12-13 16:48:31 +01:00
Pedro M. Baeza
ec7c3facc3 [IMP] account_payment_order: Remove useless migration script 2018-12-13 16:48:31 +01:00
Alexis de Lattre
3a135fcba8 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
2018-12-13 16:48:31 +01:00
Stéphane Bidoul
d8494aef0d [FIX+IMP] account_payment_order: 2 things:
* IMP: prevent deleting a move-line that is linked to a payment order line
* FIX: better filtering of move lines already included in open payment order
2018-12-13 16:48:12 +01:00
Alexis de Lattre
c51c659623 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
- add wizard of selection of move lines to pay
2018-12-13 16:47:14 +01:00