Backed out changeset a354afbe9b91
This commit is contained in:
parent
d4b7b4f5b5
commit
9f586c94e9
3
bank.py
3
bank.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue