Commit ad8ac947 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: source/source_section do not diverge anymore

parent d5db6e2c
......@@ -18,6 +18,10 @@
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>divergence_provider</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>source_section_tester</string> </value>
......
......@@ -18,6 +18,10 @@
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>divergence_provider</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>source_tester</string> </value>
......
......@@ -2,6 +2,9 @@ movement = context
business_link = movement.getCausalityValue(portal_type='Business Link')
if business_link is None:
return False
rule_trade_phase_list = rule.getTradePhaseList()
if len(rule_trade_phase_list) > 0:
# if rule defines trade phase check if there is sense to apply it
......
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