Commit Graph

179 Commits

Author SHA1 Message Date
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
oca-travis
5ae4e14927 [UPD] Update account_payment_order.pot 2020-03-17 17:11:22 +01:00
Pedro M. Baeza
0a5448eb62 [FIX] account_payment_order: Fix FR translation 2020-03-17 17:11:22 +01:00
Enric Tobella
d1617d9339 [FIX] report should show the invoice number, not the move name (#477)
[IMP] account_payment_order: report show the invoice number or the move name
2020-03-17 17:11:22 +01:00
Alexis de Lattre
16bf3c23de Several small usability improvements
- when manually encoding a payment line, get company currency as default currency
- Search on payment order numbers
- Direct search on bank journal name in payment orders
- remove widget="selection" on account.payement.mode : this object is rarely modified, so widget='selection' is not a time saver, but we miss the HTML link, which can be pretty convenient to check the configuration.
2020-03-17 17:11:22 +01:00
Carlos Dauden
3b1fa52444 [FIX] account_payment_order: Add bank payment line multi-company rule 2020-03-17 17:11:22 +01:00
Pedro M. Baeza
985b3fc97f [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.
2020-03-17 17:11:22 +01:00
Andrea
bdcbe4f3fa [11.0][FIX] account_payment_order: printing report 2020-03-17 17:11:22 +01:00
Pedro M. Baeza
3ada208bc9 [FIX] account_payment_order: Correct domain definition on account.payment.line view 2020-03-17 17:11:22 +01:00
OCA Transbot
6db86927d3 OCA Transbot updated translations from Transifex 2020-03-17 17:11:22 +01:00
Jordi Ballester
3f23e9814a 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.
2020-03-17 17:11:22 +01:00
etobella
bc19537abf [MIG] account_payment_order 2020-03-17 17:11:22 +01:00
Gilles Meyomesse (ACSONE)
f24dce4593 [ADD] report for payment order (#370) 2020-03-17 17:11:22 +01:00
gilles
1064831e46 [ADD] description field for payment order 2020-03-17 17:11:22 +01:00
Akim Juillerat
ba4de8d5f2 [10.0]Fix payment method onchange with multicompany (#374) 2020-03-17 17:11:22 +01:00
Adrien Peiffer (ACSONE)
337f1d4151 [IMP] account_payment_order: select partner bank account automatically. 2020-03-17 17:11:22 +01:00
Pedro M. Baeza
f0161065ed [FIX] account_payment_order: Adapt test to v10 2020-03-17 17:11:22 +01:00
Akim Juillerat
d4b443ff96 [IMP] account_payment_order: Restriction + tests
* Restrict the deletion of bank payment line
* Add test_cancel_payment_order
2020-03-17 17:11:22 +01:00
mdietrichc2c
757127c3f4 [IMP] account_payment_order: Don't allow deletion of an uploaded payment order + allow to cancel an uploaded payment order 2020-03-17 17:11:22 +01:00
OCA Transbot
50e1f8ced7 OCA Transbot updated translations from Transifex 2020-03-17 17:11:22 +01:00
Alexis de Lattre
e119d02831 [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.
2020-03-17 17:11:22 +01:00
mdietrichc2c
e9843f4643 Fix 2 issues on form view for payment order 2020-03-17 17:11:22 +01:00
vrenaville
ebafc776d2 [FIX] fill date instead off maturity date on account move line generated 2020-03-17 17:11:22 +01:00