Commit Graph

14 Commits

Author SHA1 Message Date
OCA-git-bot
8f38cb497a Merge PR #801 into 13.0
Signed-off-by pedrobaeza
2021-05-25 18:27:42 +00:00
Benoit Aimont
e5b1b1a084 [13.0][IMP] account_payment_order - move date should be bank line date when offsetting_account is bank_account 2021-04-21 16:33:36 +02:00
valen
00031b13ff [IMP] account_payment_order: add the posibility to choose the payment date when adding a transaction line manually and it hasn't a due date. 2021-04-07 17:23:19 +02:00
João Marques
a3b1184870 [FIX] account_payment_order: Fix tests
Don't use taxes in invoices to avoid inconsistency across localization settings
2021-03-30 11:24:03 +01:00
João Marques
9d72404149 [FIX] account_payment_order: Fix tests
On multi-company settings, we need to make sure we are searching and creating objects with the correct company associated.
(Includes part of https://github.com/OCA/bank-payment/pull/786)

TT28423

Create account and bank journal instead of searching.
Add proper expected taxes to that account to allow predicting the final value.

TT28962
2021-03-29 07:50:13 +01:00
Raf Ven
1e6ce5225e [MIG] account_payment_order: Migration to 13.0 2020-03-17 17:12:10 +01:00
Raf Ven
3506c0ad12 [IMP] account_payment_order: black, isort 2020-03-17 17:12:10 +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
Raf Ven
4f376b679c [12.0] [FIX] Failing test test_account_payment_02 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
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
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