Commit 694b61ec authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: Remove obsolete Payable Active Users from the report

   It is not meaningful anymore, since the payments are mostly related to Subscription Requests
parent 2a273d72
from DateTime import DateTime
if start_date is None:
start_date = ">=%s" % (DateTime()-45).strftime("%Y/%m/%d")
return len(context.portal_catalog(portal_type="Payment Transaction",
group_by=['delivery.destination_section_uid'],
simulation_state=["stopped", "delivered"],
start_date=">=2017/05/01" ))
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>start_date=None</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Base_getActivePayableUserAmount</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -107,7 +107,6 @@
<value>
<list>
<string>your_resilient_percentage</string>
<string>your_payable_active_users</string>
</list>
</value>
</item>
......
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