Skip to content
Snippets Groups Projects
user avatar
Denis Ledoux authored
Since the revision bc23c92c,
the inventory value of the produced items could
be doubled, because the list
`total_consume_moves` could contain several time
the same move ids, e.g. when it was added by
`total_consume_moves.append(raw_material_line.id)`
and
`total_consume_moves += already_consumed_lines.ids`

The list is replaced by a set to ensure a same move
cannot be counted twice.

opw-678727
473d2ab9
History
Name Last commit Last update