Commit Graph

145 Commits

Author SHA1 Message Date
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
Alexis de Lattre
471ec3d974 Creation/Modification of bank info only for Account Payment group 2020-03-17 17:11:22 +01:00
Jose Maria Alzaga
0f6be17fa7 Remove internal_type=other restriction for transfer account (#311) 2020-03-17 17:11:22 +01:00
Adrien Peiffer (ACSONE)
e1432c069f [FIX] account_payment_order: Use 'index' instead of 'select' 2020-03-17 17:11:22 +01:00
Alexis de Lattre
b61019c384 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)
2020-03-17 17:11:22 +01:00
Yannick Vaucher
560f69f490 Reactivate company rules in account_payment_order 2020-03-17 17:11:22 +01:00
Stéphane Bidoul (ACSONE)
1863522c60 [IMP] set partner on offsetting account move line if possible
fixes #277
2020-03-17 17:11:22 +01:00
OCA Transbot
15742e6120 OCA Transbot updated translations from Transifex 2020-03-17 17:11:22 +01:00
Alexis de Lattre
9ab681ca81 [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
2020-03-17 17:11:22 +01:00
Stéphane Bidoul (ACSONE)
7d6d8844fc [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
2020-03-17 17:11:22 +01:00
Yannick Vaucher
9954eed062 Move the account_payment_mode ir.rule in account_payment_mode module 2020-03-17 17:11:22 +01:00
Pedro M. Baeza
4f120d9539 [IMP] account_payment_order: Remove useless migration script 2020-03-17 17:11:22 +01:00
Alexis de Lattre
2dc1837ad4 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
2020-03-17 17:11:22 +01:00
Stéphane Bidoul
b2ad000e13 [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
2020-03-17 17:11:22 +01:00
Alexis de Lattre
b3f57db604 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
2020-03-17 17:11:22 +01:00
OCA-git-bot
6793aed912 pre-commit update 2020-03-14 11:49:26 +01:00
OCA Transbot
941d67cbac 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_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_sale/
2020-03-05 09:12:53 +00:00
OCA-git-bot
ad83496149 Merge PR #684 into 13.0
Signed-off-by pedrobaeza
2020-03-05 09:04:16 +00:00
Sergio Teruel
7f2eb903ed isort configuration 2020-03-05 09:55:00 +01:00
OCA-git-bot
f794a7aa0f [ADD] setup.py 2020-02-04 08:00:31 +00:00
OCA-git-bot
2a199a0eb0 [UPD] README.rst 2020-02-04 08:00:31 +00:00
oca-travis
ad3cf780c1 [UPD] Update account_payment_sale.pot 2020-02-04 07:55:16 +00:00
OCA-git-bot
7a71333114 Merge PR #650 into 13.0
Signed-off-by pedrobaeza
2020-02-04 07:47:30 +00:00
Raf Ven
9c1bfcd82c [MIG] account_payment_sale: Migration to 13.0 2020-02-03 21:55:19 +01:00
OCA Transbot
a6d05f3fe0 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-01-31 17:44:58 +00:00
OCA Bot
91effb9270 [UPD] .travis.yml: Use verbose colored pre-commit [skip ci] 2020-01-31 18:44:51 +01:00
Raf Ven
615d5d98ba [IMP] account_payment_sale: black, isort 2020-01-23 13:47:29 +01:00
Jaume Planas
183f899ac1 Translated using Weblate (Catalan)
Currently translated at 100.0% (4 of 4 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_sale/ca/
2020-01-23 13:47:29 +01:00
OCA-git-bot
f12c66cc6f account_payment_sale 12.0.1.1.0 2020-01-23 13:47:29 +01:00
Laurent Mignon (ACSONE)
02eaeebde0 [FIX] account_payment_sale: Propagate payment_mode to invoices created from a call to sale.action_invoice_create
Into the normal process of the invoice creation from a sale order by odoo, the onchange_partner is called. In some case, this call will reset the specific payment_mode and/or partner_bank_id set on the sale_order.
To fix this issue, we must override the _finalize_invoices method, take a snapshot of these values before the call to super and restore these values if these are changed.
fixes #536
2020-01-23 13:47:29 +01:00
黎伟杰
c21e47f9e5 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (4 of 4 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_sale/zh_CN/
2020-01-23 13:47:29 +01:00
黎伟杰
7bf02d2260 Added translation using Weblate (Chinese (Simplified)) 2020-01-23 13:47:29 +01:00
Rodrigo Macedo
9dfa7c52fe Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (4 of 4 strings)

Translation: bank-payment-12.0/bank-payment-12.0-account_payment_sale
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_sale/pt_BR/
2020-01-23 13:47:29 +01:00
oca-travis
6a6a26e240 [UPD] Update account_payment_sale.pot 2020-01-23 13:47:29 +01:00
Pedro M. Baeza
7aeaf62851 [MIG] account_payment_sale: Adapt tests to v12 2020-01-23 13:47:29 +01:00