adapt last commit to extras_depen
This commit is contained in:
parent
a344bf9fc0
commit
a5014342e6
|
@ -91,6 +91,8 @@ class Production(metaclass=PoolMeta):
|
|||
for production in productions:
|
||||
output_quantity = sum([x.internal_quantity for x in
|
||||
production.outputs if x.product == production.product])
|
||||
|
||||
if hasattr(production, 'operations'):
|
||||
ops = []
|
||||
for output in production.outputs:
|
||||
ops += [x for x in production.operations if
|
||||
|
|
Loading…
Reference in New Issue