mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
pep8
This commit is contained in:
@@ -20,9 +20,6 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
from openerp.tests import common
|
from openerp.tests import common
|
||||||
import inspect
|
|
||||||
import os
|
|
||||||
import base64
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
ACC_NUMBER = "BE38733040385372"
|
ACC_NUMBER = "BE38733040385372"
|
||||||
@@ -70,16 +67,16 @@ class bankaccount_completion(common.TransactionCase):
|
|||||||
|
|
||||||
# Add a bank account number to the partner
|
# Add a bank account number to the partner
|
||||||
res_bank_obj = self.registry('res.partner.bank')
|
res_bank_obj = self.registry('res.partner.bank')
|
||||||
res_bank_id = res_bank_obj.create(self.cr, self.uid, {
|
res_bank_obj.create(self.cr, self.uid, {
|
||||||
"state": "bank",
|
"state": "bank",
|
||||||
"company_id": self.company_a.id,
|
"company_id": self.company_a.id,
|
||||||
"partner_id": self.partner_id,
|
"partner_id": self.partner_id,
|
||||||
"acc_number": ACC_NUMBER,
|
"acc_number": ACC_NUMBER,
|
||||||
"footer": True,
|
"footer": True,
|
||||||
"bank_name": "Reserve"
|
"bank_name": "Reserve"
|
||||||
})
|
})
|
||||||
|
|
||||||
def test_OO(self):
|
def test_00(self):
|
||||||
"""Test complete partner_id from bank account number
|
"""Test complete partner_id from bank account number
|
||||||
|
|
||||||
Test the automatic completion of the partner_id based on the account number associated to the
|
Test the automatic completion of the partner_id based on the account number associated to the
|
||||||
|
|||||||
Reference in New Issue
Block a user