Commit Graph

16 Commits

Author SHA1 Message Date
Holger Brunn
279990a2eb [IMP] account_payment_order: Set orders to done on payment reconciliation 2021-10-09 10:21:12 +02:00
Daniel Palomar Rodríguez
7e73b8a2c6 Update account_payment_order/models/account_move_line.py
Co-authored-by: Pedro M. Baeza <pedro.baeza@tecnativa.com>
2021-06-23 14:44:04 +02:00
Daniel Palomar
857e73486c [FIX] Empty partner_bank_id on partner_id change 2021-06-23 09:10:52 +02:00
Carlos Dauden
9d815f1e60 [12.0][IMP] account_payment_order: Add compatibility with partner_bank_active module
TT26023
2020-11-06 13:54:11 +01:00
Holger Brunn
c48616fbe1 [FIX] when adapting a view, also postprocess it 2020-04-22 09:15:05 +02:00
Carlos Dauden
f1d77c41ba [IMP] account_payment_order: Select first partner bank 2019-09-10 18:30:19 +02:00
Guewen Baconnier
6532b6b762 Add indexes on account payment models
The fields where the indexes are added are used in searches in
account_payment_order, which becomes really slow when a database have
many lines.
2019-05-08 10:44:35 +02:00
Thomas Binsfeld
3a55d7da17 [REF] Payment Order: payment line creation from move line
Benefits of the batch creation of Odoo 12.0
The method returns the created payment lines
2019-02-25 14:33:35 +01:00
Pedro M. Baeza
10b68fd5df [MIG] account_banking_sepa_direct_debit: Finish migration to 12.0
* Fixed tests
* Adjust code for Python dates handling
* Update copyrights
2018-12-14 17:49:52 +01:00
Pedro M. Baeza
34de91b976 [FIX] account_payment_order: Take payment mode from move (#466)
When adding to a payment order from invoices, the payment mode
considered is the one in the invoice, but once you have confirmed it,
you can't change it, so if you change the payment mode in the journal
items, it doesn't make the difference.

With this change, this is taken into account for adding to the
payment order(s) properly.
2018-12-13 17:02:13 +01:00
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
Adrien Peiffer (ACSONE)
495048fcf6 [IMP] account_payment_order: select partner bank account automatically. 2018-12-13 17:02:13 +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
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
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