Pyflakes
This commit is contained in:
parent
7411c82a1e
commit
3dcbfe618d
6
plot.py
6
plot.py
|
@ -2,9 +2,7 @@
|
|||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.model import fields, ModelSQL, ModelView
|
||||
from trytond.pool import Pool
|
||||
from trytond.i18n import gettext
|
||||
from trytond.exceptions import UserError
|
||||
from trytond.transaction import Transaction
|
||||
|
||||
|
||||
class Enclosure(ModelSQL, ModelView):
|
||||
"Enclosure"
|
||||
|
@ -165,9 +163,7 @@ class Beneficiaries(ModelSQL, ModelView):
|
|||
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
cursor = Transaction().connection.cursor()
|
||||
table = cls.__table_handler__(module_name)
|
||||
sql_table = cls.__table__()
|
||||
|
||||
# Migration from #047773
|
||||
if table.column_exist('percent'):
|
||||
|
|
|
@ -6,8 +6,6 @@ from trytond.pool import Pool
|
|||
from trytond.i18n import gettext
|
||||
from trytond.exceptions import UserError
|
||||
from trytond.transaction import Transaction
|
||||
from trytond.wizard import (Wizard, StateView, StateTransition, StateAction,
|
||||
Button)
|
||||
from datetime import datetime
|
||||
|
||||
class WeighingCenter(ModelSQL, ModelView):
|
||||
|
|
Loading…
Reference in New Issue