Do not fail when reconciling an empty list
Closes #12626 (grafted from 2f04f787260ea6bd52ecf4b3ac414d343c78dc70) --HG-- branch : 6.0
This commit is contained in:
@@ -1309,6 +1309,8 @@ class Line(ModelSQL, ModelView):
|
||||
|
||||
reconciliations = []
|
||||
for lines in lines_list:
|
||||
if not lines:
|
||||
continue
|
||||
for line in lines:
|
||||
if line.reconciliation:
|
||||
raise AccessError(
|
||||
|
||||
Reference in New Issue
Block a user