Pyflakes fixes.

This commit is contained in:
Albert Cervera i Areny 2021-03-28 00:38:09 +01:00
parent 57b67de711
commit 0cc209e2be
5 changed files with 5 additions and 11 deletions

View file

@ -2,7 +2,6 @@
#copyright notices and license terms.
from trytond.model import fields
from trytond.pool import PoolMeta
from trytond.pyson import Eval
class Template(metaclass=PoolMeta):

View file

@ -1,6 +1,6 @@
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.pool import PoolMeta, Pool
from trytond.pool import PoolMeta
from trytond.model import fields
from trytond.modules.stock_quality_control_trigger_lot.quality import (
CreateQualityTestsMixin)

View file

@ -1,13 +1,10 @@
#The COPYRIGHT file at the top level of this repository contains the full
#copyright notices and license terms.
from trytond.model import fields, ModelView, Workflow
from trytond.model import ModelView, Workflow
from trytond.pool import PoolMeta, Pool
from trytond.pyson import Eval
from trytond.transaction import Transaction
from datetime import datetime
__all__ = ['QualityTest', 'CreateQualityTestsMixin']
class CreateQualityTestsMixin(object):

View file

@ -1,14 +1,11 @@
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.pool import PoolMeta, Pool
from trytond.pool import PoolMeta
from trytond.model import fields
from trytond.modules.stock_quality_control_trigger_lot.quality import (
CreateQualityTestsMixin)
__all__ = ['ShipmentIn', 'ShipmentOut', 'ShipmentInternal', 'Lot']
class ShipmentIn(CreateQualityTestsMixin, metaclass=PoolMeta):
__name__ = 'stock.shipment.in'

View file

@ -1,4 +1,5 @@
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from .test_stock_quality_control_trigger_lot import suite
__all__ = ['suite']