14.02.26
This commit is contained in:
@@ -593,9 +593,9 @@ class Line(metaclass=PoolMeta):
|
||||
valuations = Valuation.search([('lot','in',line.lots)])
|
||||
if valuations:
|
||||
Valuation.delete(valuations)
|
||||
op = OpenPosition.search(['line','=',line.id])
|
||||
if op:
|
||||
OpenPosition.delete(op)
|
||||
# op = OpenPosition.search(['line','=',line.id])
|
||||
# if op:
|
||||
# OpenPosition.delete(op)
|
||||
super(Line, cls).delete(lines)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user