Do not fail when reconciling an empty list

Closes #12626
(grafted from 2f04f787260ea6bd52ecf4b3ac414d343c78dc70)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier
2023-10-21 15:46:53 +02:00
parent 24684e6dc5
commit c2e097fbf2
+2
View File
@@ -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(