Backed out changeset a354afbe9b91

This commit is contained in:
resteve 2013-09-20 16:18:49 +02:00
parent d4b7b4f5b5
commit 9f586c94e9
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
from trytond.model import ModelView, ModelSQL, fields
from trytond import backend
from trytond.backend import TableHandler
from trytond.pyson import Not, Eval, Bool
from trytond.transaction import Transaction
@ -87,7 +87,6 @@ class BankAccount(ModelSQL, ModelView):
def __register__(cls, module_name):
super(BankAccount, cls).__register__(module_name)
cursor = Transaction().cursor
TableHandler = backend.get('TableHandler')
table = TableHandler(cursor, cls, module_name)
# Migration for existing databases
# Set column 'currency' not required