mirror of
https://github.com/NaN-tic/trytond-farm_feed_production.git
synced 2023-12-14 05:52:53 +01:00
pyflakes
This commit is contained in:
parent
d3cbb98ce4
commit
b44f7f9f3d
1 changed files with 1 additions and 6 deletions
|
@ -9,15 +9,12 @@ from trytond.pyson import Bool, Eval, Or
|
|||
from trytond.transaction import Transaction
|
||||
from trytond.exceptions import UserError
|
||||
from trytond.i18n import gettext
|
||||
|
||||
from trytond.modules.production.production import BOM_CHANGES
|
||||
from trytond.modules.production_supply_request.supply_request \
|
||||
import prepare_write_vals
|
||||
from trytond.modules.product import round_price
|
||||
|
||||
__all__ = ['Prescription', 'Production', 'SupplyRequestLine']
|
||||
|
||||
PRESCRIPTION_CHANGES = BOM_CHANGES[:] + ['prescription']
|
||||
|
||||
|
||||
class SupplyRequestLine(metaclass=PoolMeta):
|
||||
__name__ = 'stock.supply_request.line'
|
||||
|
@ -159,8 +156,6 @@ class Production(metaclass=PoolMeta):
|
|||
def explode_bom(self):
|
||||
pool = Pool()
|
||||
Uom = pool.get('product.uom')
|
||||
Template = pool.get('product.template')
|
||||
Product = pool.get('product.product')
|
||||
|
||||
changes = super(Production, self).explode_bom()
|
||||
if not changes or not self.prescription:
|
||||
|
|
Loading…
Reference in a new issue