There's a chance that the recently created journal is selected for a
payment acquirer thanks to this open compute:
c5346c04a2/addons/payment/models/payment_acquirer.py (L171-L180)
and thus, when trying to unlink it, we get:
odoo.exceptions.UserError: You must first deactivate a payment acquirer before deleting its journal.
For avoiding this situation in integration tests, we do:
- Assign a higher sequence for being the last existing journal.
- Remove the payment method lines associated to the journal.
Installing this module failed because `mock` couldn't be found. Indeed there was a migration problem.
However, I was not testing the module; just installing. At install, tests shouldn't be imported.
This file was being imported because the dummy model was expected to exist in database for tests. Using odoo-test-helper for that now.
@moduon MT-295
Fix warning on search view of online.bank.statement.provider
Fix some tests
Button on journal form view to access the wizard
The wizard now returns the bank statements of the journal(s)
Fix wired strings