fix duplicated lines

This commit is contained in:
Àngel Àlvarez 2020-03-12 14:16:06 +01:00
parent 3be6c7d0a0
commit 591dfb672d
1 changed files with 1 additions and 0 deletions

View File

@ -414,6 +414,7 @@ class Plan(ModelSQL, ModelView):
inputs = {}
lines = _get_all_inputs(self.products)
lines = list(set(lines))
for line in lines:
if not line.product:
continue