diff --git a/configuration.py b/configuration.py index 240c2aa..ac0550b 100644 --- a/configuration.py +++ b/configuration.py @@ -1,9 +1,7 @@ # This file is part product_purchase_sequence module for Tryton. # The COPYRIGHT file at the top level of this repository contains # the full copyright notices and license terms. -from trytond.model import ModelView, ModelSQL, ModelSingleton, fields -from trytond.pool import Pool, PoolMeta -from trytond.transaction import Transaction +from trytond.pool import PoolMeta __all__ = [ 'ProductConfiguration', diff --git a/product.py b/product.py index 2766e29..080c0fa 100644 --- a/product.py +++ b/product.py @@ -1,8 +1,6 @@ #This file is part product_purchase_sequence module for Tryton. #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.pool import Pool, PoolMeta __all__ = ['Product'] diff --git a/setup.py b/setup.py index 7bf1227..0bdef4e 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,6 @@ from setuptools import setup import re -import os import ConfigParser config = ConfigParser.ConfigParser() diff --git a/tests/test_product_purchase_sequence.py b/tests/test_product_purchase_sequence.py index 4899309..4e04a5e 100755 --- a/tests/test_product_purchase_sequence.py +++ b/tests/test_product_purchase_sequence.py @@ -12,9 +12,7 @@ if os.path.isdir(DIR): import unittest import trytond.tests.test_tryton -from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT, test_view,\ - test_depends -from trytond.transaction import Transaction +from trytond.tests.test_tryton import test_view, test_depends class ProductPurchaseSequenceTestCase(unittest.TestCase):