mirror of
https://github.com/NaN-tic/trytond-stock_quality_control_trigger_lot.git
synced 2023-12-14 02:23:04 +01:00
Pyflakes fixes.
This commit is contained in:
parent
57b67de711
commit
0cc209e2be
5 changed files with 5 additions and 11 deletions
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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):
|
||||
|
||||
|
|
5
stock.py
5
stock.py
|
@ -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'
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue