Commit 08960254 authored by Julien Muchembled's avatar Julien Muchembled

Clarify how amount_generator can mask lines by references

parent 020b1ea3
Pipeline #17970 failed with stage
......@@ -322,6 +322,9 @@ class AmountGeneratorMixin:
property_dict_list = []
# If several amount generator lines have same reference, the first
# (sorted by int_index or float_index) matching one will mask the others.
# Note that this is possible when a model (i.e. Trade Condition) contains
# several lines with same reference; Composition only does masking by
# reference between lines from different parents.
reference_set = set()
while recurse_queue:
self = recurse_queue.popleft()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment