From ef0afa7e4e35e7be7f74f917ac58b60e17344b16 Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Sun, 28 Mar 2021 00:37:04 +0100 Subject: [PATCH] Pyflakes fixes. --- __init__.py | 5 ++--- move.py | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/__init__.py b/__init__.py index f7e9fa9..3513ddb 100644 --- a/__init__.py +++ b/__init__.py @@ -2,10 +2,9 @@ # The COPYRIGHT file at the top level of this repository contains # the full copyright notices and license terms. from trytond.pool import Pool -from .move import * - +from . import move def register(): Pool.register( - Move, + move.Move, module='stock_move_warehouse', type_='model') diff --git a/move.py b/move.py index 3e4ead0..aad7dd4 100644 --- a/move.py +++ b/move.py @@ -4,8 +4,6 @@ from trytond.pool import PoolMeta from trytond.model import fields -__all__ = ['Move'] - class Move(metaclass=PoolMeta): __name__ = 'stock.move'