mirror of
https://github.com/NaN-tic/trytond-product_cost_invisible.git
synced 2023-12-14 05:12:54 +01:00
Pyflakes fixes
This commit is contained in:
parent
7116fe34ef
commit
bb9076f9ae
|
@ -44,12 +44,10 @@ class Product(metaclass=PoolMeta):
|
|||
is_purchase = False
|
||||
is_stock = False
|
||||
try:
|
||||
Purchase = pool.get('purchase.purchase')
|
||||
is_purchase = True
|
||||
except KeyError:
|
||||
pass
|
||||
try:
|
||||
Location = pool.get('stock.location')
|
||||
is_stock = True
|
||||
except KeyError:
|
||||
pass
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
# This file is part product_cost_invisible module for Tryton.
|
||||
# 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.transaction import Transaction
|
||||
from trytond.pool import PoolMeta
|
||||
from trytond.modules.product_cost_invisible.product import PYSON_STATEMENT
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue