Commit cdc684e4 authored by Łukasz Nowak's avatar Łukasz Nowak

Condition is inverted.

Positive balance on this account means, that mirror_section_uid "owns" money to
section_uid.
parent 1040dead
...@@ -60,7 +60,7 @@ balance = context.portal_simulation.getInventoryAssetPrice(\n ...@@ -60,7 +60,7 @@ balance = context.portal_simulation.getInventoryAssetPrice(\n
simulation_state=simulation_state,\n simulation_state=simulation_state,\n
section_uid=section_uid,\n section_uid=section_uid,\n
mirror_section_uid=customer_uid)\n mirror_section_uid=customer_uid)\n
return balance >= 0.\n return balance <= 0.\n
]]></string> </value> ]]></string> </value>
......
156 157
\ No newline at end of file \ 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