Commit 841bdb2a authored by Łukasz Nowak's avatar Łukasz Nowak

Disable balance based check.

Users has no possibility to pay for now.
parent e9008b25
...@@ -52,15 +52,18 @@ ...@@ -52,15 +52,18 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
section_uid = context.getSourceSectionUid()\n return True\n
customer_uid = context.getDestinationSectionUid()\n \n
simulation_state = context.getPortalCurrentInventoryStateList() + context.getPortalTransitInventoryStateList()\n # Disabled functionality\n
balance = context.portal_simulation.getInventoryAssetPrice(\n #section_uid = context.getSourceSectionUid()\n
node_category_strict_membership=\'account_type/asset/receivable\',\n #customer_uid = context.getDestinationSectionUid()\n
simulation_state=simulation_state,\n #simulation_state = context.getPortalCurrentInventoryStateList() + context.getPortalTransitInventoryStateList()\n
section_uid=section_uid,\n #balance = context.portal_simulation.getInventoryAssetPrice(\n
mirror_section_uid=customer_uid)\n # node_category_strict_membership=\'account_type/asset/receivable\',\n
return balance <= 0.\n # simulation_state=simulation_state,\n
# section_uid=section_uid,\n
# mirror_section_uid=customer_uid)\n
#return balance <= 0.\n
]]></string> </value> ]]></string> </value>
......
165 166
\ 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