From b1868dfcb716d34834231df05e267bc8e859951d Mon Sep 17 00:00:00 2001 From: gilles Date: Mon, 27 Mar 2017 12:06:51 +0200 Subject: [PATCH] [FIX] bank unique constraint --- .../tests/test_account_payment_purchase.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/account_payment_purchase/tests/test_account_payment_purchase.py b/account_payment_purchase/tests/test_account_payment_purchase.py index 8fd4c869ba2f..7f9a380798e2 100644 --- a/account_payment_purchase/tests/test_account_payment_purchase.py +++ b/account_payment_purchase/tests/test_account_payment_purchase.py @@ -70,8 +70,7 @@ def setUpClass(cls): 'acc_number': '1234567890'}) cls.bank_partner.create({'acc_type': 'iban', 'partner_id': cls.partner.id, - 'acc_number': 'BE39103123456719', - 'bank_id': cls.bank.id, + 'acc_number': 'BE39103123456719' }) # journal