Alexis de Lattre
48db1b15ae
Update test suite
...
Fix bug in account_banking_mandate when a res.partner.bank is not attached to a particular company (company_id is NOT required on res.partner.bank)
2022-03-09 17:58:47 +01:00
João Marques
a4c4005b47
[FIX] account_payment_order: Fix multi-company issues in tests
...
Use base `account` tests from Odoo to avoid issues with the environment.
2022-03-09 17:58:47 +01:00
manu
ec0e1c5f64
[IMP]account_payment_order: payment date when adding transaction line
2022-03-09 17:58:47 +01:00
Benoit Aimont
97af20520f
[13.0][IMP] account_payment_order - move date should be bank line date when offsetting_account is bank_account
2022-03-09 17:58:47 +01:00
João Marques
a9abd87729
[FIX] account_payment_order: Fix tests
...
After fcaa54939e , we need to specify the invoice date for vendor bills to be able to post it
2022-03-09 17:58:47 +01:00
João Marques
1af183d413
[FIX] account_payment_order: Fix tests
...
Don't use taxes in invoices to avoid inconsistency across localization settings
Create account instead of relying on environment
2022-03-09 17:58:47 +01:00
João Marques
f41cf5516d
[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.
TT28423
2022-03-09 17:58:47 +01:00
Jesús Alan Ramos Rodríguez
6d486d8b93
[MIG] account_payment_order: Migration to 14.0
2022-03-09 17:58:47 +01:00
Raf Ven
10a529c859
[MIG] account_payment_order: Migration to 13.0
2022-03-09 17:58:47 +01:00
Raf Ven
4f076b21f4
[IMP] account_payment_order: black, isort
2022-03-09 17:58:47 +01:00
Pedro M. Baeza
071fb9f9ce
[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.
2022-03-09 17:58:47 +01:00
Raf Ven
2cb49e4bf4
[12.0] [FIX] Failing test test_account_payment_02
2022-03-09 17:58:47 +01:00
Thomas Binsfeld
257289dfb2
[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
2022-03-09 17:58:47 +01:00
Jordi Ballester
664efc93c5
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.
2022-03-09 17:58:47 +01:00
etobella
4cc8a3aa8e
[MIG] account_payment_order
2022-03-09 17:58:47 +01:00
Pedro M. Baeza
f447d5ce25
[FIX] account_payment_order: Adapt test to v10
2022-03-09 17:58:47 +01:00
Akim Juillerat
04df6fa875
[IMP] account_payment_order: Restriction + tests
...
* Restrict the deletion of bank payment line
* Add test_cancel_payment_order
2022-03-09 17:58:47 +01:00