BF [ 2076298 ] undeletable uncompleted order lines
This commit is contained in:
parent
35ca25e2ee
commit
2dbcaa9f4a
|
|
@ -1128,11 +1128,8 @@ public class MOrder extends X_C_Order implements DocAction
|
||||||
if (isProcessed())
|
if (isProcessed())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
getLines();
|
for (MOrderLine line : getLines()) {
|
||||||
for (int i = 0; i < m_lines.length; i++)
|
line.deleteEx(true);
|
||||||
{
|
|
||||||
if (!m_lines[i].beforeDelete())
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
} // beforeDelete
|
} // beforeDelete
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue