summaryrefslogtreecommitdiff
path: root/addons/membership
diff options
context:
space:
mode:
authorNicolas (vin) <vin@odoo.com>2020-07-06 12:00:59 +0000
committerNicolas (vin) <vin@odoo.com>2020-08-11 12:41:13 +0000
commit41f119d5325dfbbf916d1d34e63946646ed4d44c (patch)
treee6ab1dd201f1380dd29113776b2a90337cef4301 /addons/membership
parent7386a2b1ac818eeaabfc8e7c7fb52c8ea57e9e42 (diff)
[IMP] account: Misc. improvements
Miscellaneous changes aiming to improve the user experience in the accounting module, mainly in the journal model and its form view. Also aim to improve the bank account creation wizard. Task ID: #2250349 closes odoo/odoo#54494 Related: odoo/upgrade#1546 Related: odoo/enterprise#11862 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/membership')
-rw-r--r--addons/membership/tests/test_membership.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/membership/tests/test_membership.py b/addons/membership/tests/test_membership.py
index 0b4abbbebd0..957ca2df8cb 100644
--- a/addons/membership/tests/test_membership.py
+++ b/addons/membership/tests/test_membership.py
@@ -121,13 +121,10 @@ class TestMembership(TestMembershipCommon):
'membership: after opening the invoice, customer should be in invoiced status')
# the invoice is paid -> customer goes to paid status
- bank_journal = self.env['account.journal'].create({'name': 'Bank', 'type': 'bank', 'code': 'BNK67'})
-
payment = self.env['account.payment.register']\
.with_context(active_model='account.move', active_ids=invoice.ids)\
.create({
- 'amount': 86.25,
- 'journal_id': bank_journal.id,
+ 'amount': 86.25
})\
._create_payments()