Commit Graph

201 Commits

Author SHA1 Message Date
Pedro M. Baeza
9570c8776a [FIX] account_payment_order: Sequences must be noupdate=1 2020-03-17 17:11:23 +01:00
OCA-git-bot
e1473f668a account_payment_order 12.0.1.1.0 2020-03-17 17:11:23 +01:00
Sergio Teruel
9d12705f53 [FIX] account_payment_order: Fix payment order report. Adapt to bootstrap4 2020-03-17 17:11:23 +01:00
Jaume Planas
4e235da3b0 Translated using Weblate (Catalan)
Currently translated at 100.0% (223 of 223 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_order/ca/
2020-03-17 17:11:23 +01:00
OCA-git-bot
71621c439d account_payment_order 12.0.1.0.2 2020-03-17 17:11:23 +01:00
Carlos Dauden
fedde1b193 [IMP] account_payment_order: Select first partner bank 2020-03-17 17:11:23 +01:00
Pedro M. Baeza
86bd1a2525 [FIX+IMP] account_payment_order: Make tests resilient + inbound inheritable + SavepointCase
Previous tests did several risk operations on tests, like performing an unbound search
on payment orders, what can lead to errors if there are some data on DB (or for example
we add in the future some payment orders in demo.

This commit also split the tests for inbound payment in a base inheritable class that
can be reused in other dependant modules, and the test of this module.

Finally, we use SavepointCase for improving performance in tests.
2020-03-17 17:11:23 +01:00
OCA-git-bot
4c24d175ff [UPD] README.rst 2020-03-17 17:11:23 +01:00
OCA-git-bot
e974aa892a [UPD] README.rst 2020-03-17 17:11:23 +01:00
Pedro M. Baeza
e0b1d4eb8b [FIX] account_payment_error: Avoid singleton error in allowed_journal_ids
Fixes #612
2020-03-17 17:11:23 +01:00
OCA Transbot
d73652a9fd Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_order/
2020-03-17 17:11:23 +01:00
oca-travis
040a187649 [UPD] Update account_payment_order.pot 2020-03-17 17:11:23 +01:00
Guewen Baconnier
1e500157b4 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-03-17 17:11:23 +01:00
Raf Ven
4f376b679c [12.0] [FIX] Failing test test_account_payment_02 2020-03-17 17:11:23 +01:00
oca-travis
3c7aa1bacb [UPD] Update account_payment_order.pot 2020-03-17 17:11:23 +01:00
oca-travis
ab0cb32e32 [UPD] Update account_payment_order.pot 2020-03-17 17:11:23 +01:00
Thomas Binsfeld
79e92173d8 [REF] Payment Order: move all move preparation code in _prepare_move 2020-03-17 17:11:23 +01:00
Rubén Cerdà
3ca275d8df [FIX] account_payment_order: report title 2020-03-17 17:11:23 +01:00
Rubén Cerdà
0284301320 [FIX] account_payment_order: report totals 2020-03-17 17:11:23 +01:00
Rubén Cerdà
87b3b8a87e [FIX] account_payment_order: wrong function name 2020-03-17 17:11:23 +01:00
Marco Calcagni
426a9145bf Translated using Weblate (Italian)
Currently translated at 5.5% (12 of 217 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_order/it/
2020-03-17 17:11:23 +01:00
oca-travis
4a099a55ad [UPD] Update account_payment_order.pot 2020-03-17 17:11:23 +01:00
Thomas Binsfeld
559bbbcf03 [ADD] Payment Order: only payment order option on payment methods
New option on payment methods: payment order only (unchecked by default) allowing to enforce the use of payment orders for some payment methods
2020-03-17 17:11:23 +01:00
OCA Transbot
f8417c899c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_order/
2020-03-17 17:11:23 +01:00
oca-travis
4df9c5119d [UPD] Update account_payment_order.pot 2020-03-17 17:11:23 +01:00
Thomas Binsfeld
8c0a28b1f0 [REF] Account Payment Order: split generate_move method 2020-03-17 17:11:23 +01:00
OCA Transbot
0a042f4453 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_order/
2020-03-17 17:11:23 +01:00
oca-travis
afe0096754 [UPD] Update account_payment_order.pot 2020-03-17 17:11:23 +01:00
Thomas Binsfeld
dfa2cd329a [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
2020-03-17 17:11:23 +01:00
oca-travis
d5c58f5d47 [UPD] Update account_payment_order.pot 2020-03-17 17:11:23 +01:00
Thomas Binsfeld
7b0f66dc58 [REF] Payment Order: allow add to order from invoice if order exists 2020-03-17 17:11:23 +01:00
Pedro M. Baeza
f52b6dd3f7 [FIX] account_payment_order: Fix journal domain
Steps to reproduce
------------------

* Create a payment mode with "Link to Bank Account" = "Variable".
* Select several journals.
* Create a payment order with that payment mode.
* Save.
* Go to other menu and come back to payment order.
* Try to select a journal: the list is empty.

Fixes #544
2020-03-17 17:11:23 +01:00
Raf Ven
40b9a37a7e Translated using Weblate (Dutch)
Currently translated at 62.0% (134 of 216 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_order/nl/
2020-03-17 17:11:23 +01:00
Joel Michaud
751232ac46 Translated using Weblate (German)
Currently translated at 44.9% (97 of 216 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_order/de/
2020-03-17 17:11:23 +01:00
Thomas Binsfeld
cac6f055ad [REF] Payment Order: better performance of draft2open method
Add a norecompute in draft2open to avoid the recomputation of total_company_currency n times (where n is the number of payment lines)
2020-03-17 17:11:23 +01:00
OCA Transbot
d72d7a78e0 Update translation files
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
2020-03-17 17:11:23 +01:00
Thomas Binsfeld
c845b67cd2 [REF] Account Payment Order: add Admin in security group 2020-03-17 17:11:23 +01:00
oca-travis
4af1256ab9 [UPD] Update account_payment_order.pot 2020-03-17 17:11:23 +01:00
Pedro M. Baeza
526698ffcb [MIG] account_banking_sepa_direct_debit: Finish migration to 12.0
* Fixed tests
* Adjust code for Python dates handling
* Update copyrights
2020-03-17 17:11:22 +01:00
oca-travis
8e0b55689d [UPD] Update account_payment_order.pot 2020-03-17 17:11:22 +01:00
oca-travis
14d93f3555 [UPD] Update account_payment_order.pot 2020-03-17 17:11:22 +01:00
Pedro M. Baeza
3d8012f2d2 [MIG] account_payment_order: Finish migration to v12
* Removed deprecated YAML tests.
* Removed document dependency, as now there's no attachment dropdown.
* Switched deprecated `compute` method of res.currency.
* Restored missing field `reference_type` in invoices.
* Fixed call to `message_post`.
* Added missing description in model.
2020-03-17 17:11:22 +01:00
Sergio Teruel
6a16aa9fc9 [12.0][mig] account_payment_order: Migrate to v12.0 2020-03-17 17:11:22 +01:00
Mathias Neef
ffce1c7391 Translated using Weblate (German)
Currently translated at 50.8% (98 of 193 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_payment_order/de/
2020-03-17 17:11:22 +01:00
Martronic SA
5b7618493f Fix structured communication
Adds 'structured' to the invoice_reference_type2communication_type ans the 'structured' type is added by the module itself in account_invoice but breaks the account_move_line.py as explained here: https://github.com/OCA/bank-payment/issues/495
2020-03-17 17:11:22 +01:00
ecino
9caa0df337 [IMP] account_payment_order: Use bank.payment.line reference in Payment Order Move Lines (#418) 2020-03-17 17:11:22 +01:00
oca-travis
88942fa614 [UPD] Update account_payment_order.pot 2020-03-17 17:11:22 +01:00
Alexis de Lattre
2bcdb10653 [10.0] Add filter on partners on wizard "Create Payment Lines from Journal Items" (#489)
* Add filter on partners on wizard "Create Payment Lines from Journal Items"

* Bump version number
2020-03-17 17:11:22 +01:00
Enric Tobella
ed98ebab61 [FIX] default_partner_id added on partner_bank if it is created. 2020-03-17 17:11:22 +01:00
Enric Tobella
c14e1cdf61 Translated using Weblate (Español (España))
Currently translated at 100,0% (193 of 193 strings)

Translation: bank-payment-11.0/bank-payment-11.0-account_payment_order
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_payment_order/es/
2020-03-17 17:11:22 +01:00