Commit Graph

135 Commits

Author SHA1 Message Date
Akim Juillerat
d108422b93 [IMP] account_payment_order: Restriction + tests
* Restrict the deletion of bank payment line
* Add test_cancel_payment_order
2021-01-05 14:03:52 +01:00
mdietrichc2c
99d8165036 [IMP] account_payment_order: Don't allow deletion of an uploaded payment order + allow to cancel an uploaded payment order 2021-01-05 14:03:52 +01:00
Alexis de Lattre
4d48889780 [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.
2021-01-05 14:03:52 +01:00
mdietrichc2c
56660987fb Fix 2 issues on form view for payment order 2021-01-05 14:03:52 +01:00
vrenaville
17744c381f [FIX] fill date instead off maturity date on account move line generated 2021-01-05 14:03:52 +01:00
Alexis de Lattre
e158f2328d Creation/Modification of bank info only for Account Payment group 2021-01-05 14:03:52 +01:00
Jose Maria Alzaga
aad336dc46 Remove internal_type=other restriction for transfer account (#311) 2021-01-05 14:03:52 +01:00
Adrien Peiffer (ACSONE)
bd9869c5a0 [FIX] account_payment_order: Use 'index' instead of 'select' 2021-01-05 14:03:52 +01:00
Alexis de Lattre
337fc2ccf0 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)
2021-01-05 14:03:52 +01:00
Yannick Vaucher
8200535270 Reactivate company rules in account_payment_order 2021-01-05 14:03:52 +01:00
Stéphane Bidoul (ACSONE)
9e8cf368e5 [IMP] set partner on offsetting account move line if possible
fixes #277
2021-01-05 14:03:52 +01:00
Alexis de Lattre
6f4b1f48fd [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
2021-01-05 14:03:52 +01:00
Stéphane Bidoul (ACSONE)
f61c3072bf [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
2021-01-05 14:03:52 +01:00
Yannick Vaucher
b0ea7d832c Move the account_payment_mode ir.rule in account_payment_mode module 2021-01-05 14:03:52 +01:00
Pedro M. Baeza
9d3eddbe4a [IMP] account_payment_order: Remove useless migration script 2021-01-05 14:03:52 +01:00
Alexis de Lattre
2eeb71df6d 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
2021-01-05 14:03:52 +01:00
Stéphane Bidoul
cc4e74cd02 [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
2021-01-05 14:03:52 +01:00
Alexis de Lattre
d052cc7274 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
2021-01-05 14:03:52 +01:00
oca-git-bot
ba3df2333b [IMP] update dotfiles [ci skip] 2020-12-11 19:27:37 +01:00
OCA-git-bot
77d931ea25 [ADD] setup.py 2020-11-18 17:17:22 +00:00
OCA-git-bot
ea9d470eca [UPD] README.rst 2020-11-18 17:17:21 +00:00
OCA-git-bot
328fa22448 [UPD] addons table in README.md 2020-11-18 17:17:20 +00:00
oca-travis
b56f9844ed [UPD] Update account_payment_partner.pot 2020-11-18 17:09:55 +00:00
OCA-git-bot
467d56e23f Merge PR #745 into 14.0
Signed-off-by pedrobaeza
2020-11-18 17:00:57 +00:00
oca-git-bot
d6a2d66db3 [IMP] update dotfiles [ci skip] 2020-11-01 21:37:08 +01:00
Marçal Isern
f268125f3e [MIG] account_payment_partner: Migration to 14.0 2020-10-20 07:32:03 +02:00
Marçal Isern
5a196e9699 [IMP] account_payment_partner: black, isort, prettier 2020-10-20 07:32:03 +02:00
OCA Transbot
1c27de7f91 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_partner/
2020-10-20 07:32:03 +02:00
Ignacio Buioli
cf2ff5a53a Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (32 of 32 strings)

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_partner/es_AR/
2020-10-20 07:32:03 +02:00
Ignacio Buioli
207bca71da Added translation using Weblate (Spanish (Argentina)) 2020-10-20 07:32:03 +02:00
OCA-git-bot
62674fc72c account_payment_partner 13.0.1.0.1 2020-10-20 07:32:03 +02:00
Atchuthan Ubendran
04887b91bd [FIX] account_payment_partner: payment_mode_id default not set for Refund 2020-10-20 07:32:03 +02:00
mreficent
057c034215 [MIG] account_payment_purchase: Migration to 13.0 2020-10-20 07:32:03 +02:00
mreficent
235d5ae222 [IMP] account_payment_purchase: black, isort 2020-10-20 07:32:03 +02:00
OCA-git-bot
8dc82f7f1e pre-commit update 2020-10-20 07:32:03 +02:00
Raf Ven
0f23ec3a97 [MIG] account_payment_sale: Migration to 13.0 2020-10-20 07:32:03 +02:00
OCA Transbot
24a18a1318 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-13.0/bank-payment-13.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_partner/
2020-10-20 07:32:03 +02:00
OCA-git-bot
b3c7adf8b8 [UPD] README.rst 2020-10-20 07:32:03 +02:00
oca-travis
24311f5fe0 [UPD] Update account_payment_partner.pot 2020-10-20 07:32:03 +02:00
Raf Ven
832bdb54fe [MIG] account_payment_partner: Migration to 13.0 2020-10-20 07:32:03 +02:00
Raf Ven
615dc1bdf0 [IMP] account_payment_partner: black, isort 2020-10-20 07:32:03 +02:00
Jaume Planas
7591bef43c Translated using Weblate (Catalan)
Currently translated at 100.0% (30 of 30 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_partner/ca/
2020-10-20 07:32:03 +02:00
OCA-git-bot
ffc922a5ae [UPD] README.rst 2020-10-20 07:32:03 +02:00
Raf Ven
12d88073e4 [FIX] test_invoice_refund
The test checks on empty bank account but with Odoo commit d5688e6ca0 (diff-f3712147f4b25231caa371bd83265dbe) the company bank account gets defaulted when not specified
2020-10-20 07:32:03 +02:00
Guewen Baconnier
36b37cc343 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.
2020-10-20 07:32:03 +02:00
altoch
95da5e9a41 Update invoice_supplier_form view
Set proper context to partner_bank_id field so on bank account number creation it's set the correct owner
2020-10-20 07:32:03 +02:00
Jaume Planas
189adb14f0 Translated using Weblate (Catalan)
Currently translated at 10.0% (3 of 30 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_partner
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_partner/ca/
2020-10-20 07:32:03 +02:00
OCA Transbot
fa1383cf76 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-10-20 07:32:03 +02:00
Pedro M. Baeza
104a3fda20 [MIG] account_banking_pain_base: Migration to 12.0
* Standard migration procedure
* README by fragments
* Fixed tests
* Change
* Fix related no readonly in account_banking_pain_base
* Override default partner bank account check on account_payment_partner
* Convert Python date to string
2020-10-20 07:32:03 +02:00
oca-travis
f51954c547 [UPD] Update account_payment_partner.pot 2020-10-20 07:32:03 +02:00