Commit cfab882a authored by Romain Courteaud's avatar Romain Courteaud

source_section and destination_section should not have any impact to build the delivery simulation.

Those properties are used for invoicing.
parent 3f46194b
......@@ -58,12 +58,6 @@ if parent.getPortalType() == \'Applied Rule\':\n
if parent_rule.getPortalType() not in [\'Order Root Simulation Rule\', \'Production Order Root Simulation Rule\']:\n
return False\n
\n
source_section = movement.getSourceSection()\n
destination_section = movement.getDestinationSection()\n
if source_section == destination_section or source_section is None \\\n
or destination_section is None:\n
return False\n
\n
return True\n
</string> </value>
</item>
......
1127
\ No newline at end of file
1128
\ No newline at end of file
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