Commit 927b47f3 authored by Sebastien Robin's avatar Sebastien Robin

added Assistant role on many modules

added empty state on many modules for the Assistant

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15266 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent abff3dca
......@@ -71,11 +71,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -90,18 +87,15 @@
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object.getSimulationState()==\'draft\'</string> </value>
<value> <string>python: object.getSimulationState()==\'empty\'</string> </value>
</item>
</dictionary>
</pickle>
......@@ -109,11 +103,8 @@
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.CMFCore.Expression</string>
<string>Expression</string>
</tuple>
<none/>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -314,6 +317,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -324,6 +328,7 @@
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -490,6 +495,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -662,6 +668,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -674,6 +681,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -302,6 +305,7 @@
<name>Add portal content</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -311,6 +315,7 @@
</permission>
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assistant</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
......@@ -478,6 +483,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Manager</role>
......@@ -656,6 +662,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -668,6 +675,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -313,6 +316,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -323,6 +327,7 @@
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -489,6 +494,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -661,6 +667,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -673,6 +680,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -315,6 +318,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -325,6 +329,7 @@
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -493,6 +498,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -666,6 +672,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -678,6 +685,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -314,6 +317,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -324,6 +328,7 @@
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -490,6 +495,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -662,6 +668,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -674,6 +681,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -301,6 +304,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -310,6 +314,7 @@
</permission>
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assistant</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
......@@ -475,6 +480,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Manager</role>
......@@ -652,6 +658,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -664,6 +671,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -313,6 +316,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -323,6 +327,7 @@
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -489,6 +494,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -661,6 +667,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -673,6 +680,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -301,6 +304,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -310,6 +314,7 @@
</permission>
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assistant</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
......@@ -475,6 +480,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -652,6 +658,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -664,6 +671,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -314,6 +317,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -324,6 +328,7 @@
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -490,6 +495,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -662,6 +668,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -674,6 +681,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -5,6 +5,7 @@
<name>Access Transient Objects</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -18,6 +19,7 @@
<name>Access contents information</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -35,6 +37,7 @@
<name>Access session data</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -313,6 +316,7 @@
<permission type='tuple'>
<name>Add portal content</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -323,6 +327,7 @@
<permission type='tuple'>
<name>Add portal folders</name>
<role>Assignor</role>
<role>Assistant</role>
<role>Author</role>
<role>Manager</role>
</permission>
......@@ -489,6 +494,7 @@
<name>List folder contents</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -661,6 +667,7 @@
<name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......@@ -673,6 +680,7 @@
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Assistant</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
......
......@@ -95,7 +95,11 @@
</item>
<item>
<key> <string>init_script</string> </key>
<value> <string>MonetarySurvey_init</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>property_sheet_list</string> </key>
......
......@@ -72,12 +72,14 @@ currency = context.Baobab_getPortalReferenceCurrencyID()\n
source_section = context.getSourceSection()\n
\n
\n
if source_section is None :\n
redirect_url = \'%s/%s?%s\' % ( context.absolute_url()\n
, \'view\'\n
, \'portal_status_message=Please+select+a+site.\'\n
)\n
return request.RESPONSE.redirect( redirect_url )\n
# We must not force another site, it is optionnal\n
# So I (Seb) remove this\n
#if source_section is None :\n
# redirect_url = \'%s/%s?%s\' % ( context.absolute_url()\n
# , \'view\'\n
# , \'portal_status_message=Please+select+a+site.\'\n
# )\n
# return request.RESPONSE.redirect( redirect_url )\n
\n
\n
\n
......@@ -85,10 +87,13 @@ if \'serre\' in context.getSource():\n
cash_status = [\'retired\',\'error\']\n
else:\n
cash_status = [\'cancelled\',\'mutilated\', \'maculated\',\'error\']\n
\n
#emission_letter = context.Baobab_getUserEmissionLetterList() \n
#emission_letter = list(context.getSourceSectionValue().getCodification()[0])\n
emission_letter = list((context.getSourceSectionValue().getCodification()[0]).lower())\n
\n
# Select the emission letter of the remote site if there is one defined\n
if source_section is None:\n
emission_letter = context.Baobab_getUserEmissionLetterList() \n
else:\n
emission_letter = list((context.getSourceSectionValue().getCodification()[0]).lower())\n
\n
\n
variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n
\n
......@@ -161,12 +166,11 @@ return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
<string>source</string>
<string>currency</string>
<string>source_section</string>
<string>None</string>
<string>redirect_url</string>
<string>cash_status</string>
<string>None</string>
<string>emission_letter</string>
<string>list</string>
<string>_getitem_</string>
<string>emission_letter</string>
<string>variation</string>
<string>False</string>
<string>cash_detail_dict</string>
......
......@@ -78,6 +78,8 @@
<value>
<list>
<string>listbox</string>
<string>listbox_destination_logical_path</string>
<string>listbox_source_logical_path</string>
</list>
</value>
</item>
......
......@@ -341,12 +341,16 @@
<string>Date</string>
</tuple>
<tuple>
<string>source_total_asset_price</string>
<string>Amount</string>
<string>source_logical_path</string>
<string>Source Vault</string>
</tuple>
<tuple>
<string>destination_logical_path</string>
<string>Destination Vault</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
<string>source_total_asset_price</string>
<string>Amount</string>
</tuple>
<tuple>
<string>translated_simulation_state_title</string>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StringField" module="Products.Formulator.StandardFields"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_destination_logical_path</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>too_long</string> </key>
<value> <string>Too much input was given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Destination Vault</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Baobab_getStrippedPath(object=cell, destination=1)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StringField" module="Products.Formulator.StandardFields"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_source_logical_path</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>too_long</string> </key>
<value> <string>Too much input was given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Source Vault</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Baobab_getStrippedPath(object=cell, source=1)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</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>_body</string> </key>
<value> <string>site_list = context.Baobab_getUserAssignedSiteList()\n
if len(site_list) == 0:\n
from Products.ERP5Type.Message import Message\n
message = Message(domain="ui", message="The owner is not assigned to the right vault.")\n
raise ValueError,message\n
\n
site = site_list[0]\n
site = context.Baobab_getVaultSite(site)\n
context.setSource("%s/caveau/auxiliaire/encaisse_des_billets_et_monnaies" %(site.getRelativeUrl(),))\n
context.setDestination("%s/caveau/auxiliaire/encaisse_des_billets_a_ventiler_et_a_detruire" %(site.getRelativeUrl(),))\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>*args, **kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>args</string>
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
<string>site_list</string>
<string>len</string>
<string>Products.ERP5Type.Message</string>
<string>Message</string>
<string>message</string>
<string>ValueError</string>
<string>_getitem_</string>
<string>site</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>MonetarySurvey_init</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -107,6 +107,7 @@
<value>
<list>
<string>my_source_reference</string>
<string>my_source</string>
<string>my_source_total_asset_price</string>
</list>
</value>
......@@ -116,6 +117,7 @@
<value>
<list>
<string>my_start_date</string>
<string>my_destination</string>
<string>my_description</string>
</list>
</value>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ListField" module="Products.Formulator.StandardFields"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_destination</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>unknown_selection</string> </key>
<value> <string>You selected an item that was not in the list.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Destination Vault</string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Base_sortItemList(here.Delivery_getVaultItemList(current_url=here.getSource(), vault_type=(\'site/caveau/auxiliaire\',))+here.Delivery_getVaultItemList(vault_type=(\'site/caveau/auxiliaire/encaisse_des_externes\',),leaf_node=0,strict_membership=1)[1:], keep_first=1)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ListField" module="Products.Formulator.StandardFields"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_source</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>unknown_selection</string> </key>
<value> <string>You selected an item that was not in the list.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra_item</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>first_item</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>items</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Source Vault</string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.Base_sortItemList(here.Delivery_getVaultItemList(current_url=here.getSource(), vault_type=(\'site/caveau/auxiliaire\',))+here.Delivery_getVaultItemList(vault_type=(\'site/caveau/auxiliaire/encaisse_des_externes\',),leaf_node=0,strict_membership=1)[1:], keep_first=1)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -83,6 +83,11 @@ transaction.Baobab_checkSameUserVault(counter_site)\n
\n
# check again that we are in the good accounting date\n
transaction.Baobab_checkCounterDateOpen(site=caisse_outgoing, date=transaction.getStartDate())\n
\n
# check that the counter is open\n
\n
context.Baobab_checkCounterOpened(counter_site)\n
\n
# use of the constraint : Test cash status line\n
#vliste = transaction.checkConsistency()\n
#transaction.log(\'vliste\', vliste)\n
......@@ -177,6 +182,7 @@ if amount_total != outgoing_total:\n
<string>counter_site</string>
<string>caisse_incoming</string>
<string>caisse_outgoing</string>
<string>context</string>
<string>resource_two</string>
<string>incoming_total</string>
<string>outgoing_total</string>
......
......@@ -45,7 +45,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
......
......@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -67,6 +64,7 @@
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -95,6 +93,7 @@
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -76,6 +76,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +106,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -65,6 +65,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -94,6 +95,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -37,10 +37,14 @@
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -75,6 +79,7 @@
<string>Manager</string>
<string>Owner</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -107,6 +112,7 @@
<string>Manager</string>
<string>Owner</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Owner</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Owner</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -43,6 +43,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
......@@ -74,6 +76,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Manager</string>
......@@ -86,6 +89,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -95,6 +99,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -105,6 +110,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Manager</string>
......
......@@ -76,6 +76,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +106,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -76,6 +76,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +106,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -82,6 +79,7 @@
<tuple>
<string>Assignee</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>validateVaultBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -80,6 +80,7 @@
<string>Assignee</string>
<string>Manager</string>
<string>DestinationAssignor</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -39,7 +39,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......
......@@ -51,17 +51,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -72,6 +69,7 @@
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -99,6 +97,7 @@
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -81,6 +81,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -109,6 +110,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -79,6 +79,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -107,6 +108,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -49,6 +49,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -81,6 +83,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -109,6 +112,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -80,6 +80,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
......@@ -91,6 +92,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -100,6 +102,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -110,6 +113,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -90,6 +87,7 @@
<string>Assignor</string>
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>validateBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -80,6 +80,7 @@
<string>Manager</string>
<string>DestinationAssignor</string>
<string>DestinationAssignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -91,6 +91,10 @@ outgoing_source = counter_site + encaisse_billets_et_monnaies\n
\n
# check again that we are in the good accounting date\n
transaction.Baobab_checkCounterDateOpen(site=outgoing_source, date=transaction.getStartDate())\n
\n
# check again that the counter is open\n
\n
context.Baobab_checkCounterOpened(counter_site)\n
base_price = transaction.getSourceTotalAssetPrice()\n
# Check the amount.\n
\n
......@@ -191,6 +195,7 @@ elif resource_two!= 0 :\n
<string>counter_site</string>
<string>incoming_destination</string>
<string>outgoing_source</string>
<string>context</string>
<string>base_price</string>
<string>None</string>
<string>msg</string>
......
......@@ -90,6 +90,10 @@ outgoing_source = counter_site + encaisse_devise\n
# check again that we are in the good accounting date\n
transaction.Baobab_checkCounterDateOpen(site=outgoing_source, date=transaction.getStartDate())\n
\n
# check again that the counter is open\n
\n
context.Baobab_checkCounterOpened(counter_site)\n
\n
# use of the constraint : Test cash status line\n
#vliste = transaction.checkConsistency()\n
#transaction.log(\'vliste\', vliste)\n
......@@ -185,6 +189,7 @@ elif resource_one != 0 :\n
<string>encaisse_billets_et_monnaies</string>
<string>counter_site</string>
<string>outgoing_source</string>
<string>context</string>
<string>resource_one</string>
<string>billetage_entre</string>
<string>billetage_sorti</string>
......
......@@ -39,7 +39,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......
......@@ -51,17 +51,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -71,6 +68,7 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -97,6 +95,7 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -80,6 +80,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -107,6 +108,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -78,6 +78,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +106,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -49,6 +49,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -82,6 +84,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -111,6 +114,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -49,6 +49,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
......@@ -80,6 +82,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......@@ -89,6 +92,8 @@
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -97,6 +102,8 @@
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -107,6 +114,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......
......@@ -86,6 +86,7 @@
<string>Manager</string>
<string>Assignor</string>
<string>Assignee</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>validateBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -83,9 +83,8 @@ transaction.Baobab_checkCounterDateOpen(site=vault, date=date)\n
\n
# check counter is opened\n
site = transaction.getSourceValue()\n
if not context.Baobab_checkCounterOpened(site):\n
msg = Message(domain = "ui", message="Counter is not opened")\n
raise ValidationFailed, (msg,)\n
context.Baobab_checkCounterOpened(site,simulation_state_list=[\'open\', \'closing\'])\n
\n
\n
resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
\n
......@@ -158,10 +157,10 @@ elif resource <> 0 :\n
<string>date</string>
<string>site</string>
<string>context</string>
<string>msg</string>
<string>resource</string>
<string>amount</string>
<string>total_price</string>
<string>msg</string>
</tuple>
</value>
</item>
......
......@@ -49,7 +49,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
......
......@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -65,6 +62,7 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -91,6 +89,7 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -74,6 +74,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -101,6 +102,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -72,6 +72,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -99,6 +100,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -43,6 +43,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -75,6 +77,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -103,6 +106,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -49,6 +49,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
......@@ -80,6 +82,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......@@ -90,6 +93,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -99,6 +103,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -109,6 +114,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -83,6 +80,7 @@
<string>Manager</string>
<string>Assignor</string>
<string>Assignee</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -85,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>validateVaultBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -82,6 +79,7 @@
<tuple>
<string>Manager</string>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -45,7 +45,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
......
......@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -64,6 +61,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -89,6 +87,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -74,6 +74,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -101,6 +102,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -72,6 +72,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -99,6 +100,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -43,6 +43,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -75,6 +77,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -103,6 +106,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -43,6 +43,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -74,6 +76,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......@@ -84,6 +87,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -93,6 +97,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -103,6 +108,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......
......@@ -80,6 +80,7 @@
<string>Assignor</string>
<string>Assignee</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -38,7 +38,7 @@
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<none/>
</value>
</item>
<item>
......@@ -64,29 +64,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -82,7 +79,6 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>checkConsistency</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -82,6 +79,7 @@
<tuple>
<string>Assignee</string>
<string>Manager</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -70,6 +70,17 @@ from Products.ERP5Type.Message import Message\n
\n
transaction = state_change[\'object\']\n
\n
date = transaction.getStartDate()\n
destination= transaction.getDestination()\n
# check we are in an opened accounting day\n
transaction.Baobab_checkCounterDateOpen(site=destination, date=transaction.getStartDate())\n
\n
site = transaction.getDestinationValue()\n
\n
# check again that the counter is open\n
\n
context.Baobab_checkCounterOpened(destination)\n
\n
if transaction.getResource() is None:\n
msg = Message(domain="ui", message="No resource defined.")\n
raise ValidationFailed, (msg,)\n
......@@ -77,8 +88,7 @@ if transaction.getResource() is None:\n
# Check getBaobabSource and getBaobabDestination\n
#transaction.Base_checkBaobabSourceAndDestination()\n
\n
date = transaction.getStartDate()\n
destination= transaction.getDestination()\n
\n
# check we don\'t change of user\n
transaction.Baobab_checkSameUserVault(destination)\n
\n
......@@ -92,17 +102,7 @@ if destination is None:\n
msg = Message(domain=\'ui\', message=\'No counter defined.\')\n
raise ValidationFailed, (msg,)\n
\n
# check we are in an opened accounting day\n
transaction.Baobab_checkCounterDateOpen(site=destination, date=transaction.getStartDate())\n
\n
site = transaction.getDestinationValue()\n
\n
# check that the counter is opened\n
counter_list = [x.getObject() for x in transaction.portal_catalog(portal_type="Counter", simulation_state = \'open\', site_uid = site.getUid())]\n
\n
if len(counter_list) == 0:\n
msg = Message(domain = "ui", message="Counter is not opened")\n
raise ValidationFailed, (msg,)\n
\n
# Get price and total_price.\n
price = transaction.getSourceTotalAssetPrice()\n
......@@ -169,18 +169,13 @@ if price != cash_detail:\n
<string>_getitem_</string>
<string>transaction</string>
<string>_getattr_</string>
<string>None</string>
<string>msg</string>
<string>date</string>
<string>destination</string>
<string>lettering</string>
<string>site</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>x</string>
<string>counter_list</string>
<string>len</string>
<string>context</string>
<string>None</string>
<string>msg</string>
<string>lettering</string>
<string>price</string>
<string>cash_detail</string>
</tuple>
......
......@@ -45,7 +45,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
......
......@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -65,6 +62,7 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -91,6 +89,7 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -76,6 +76,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +106,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -74,6 +74,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -103,6 +104,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -43,6 +43,8 @@
<string>delete_action</string>
<string>plan</string>
<string>plan_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -76,6 +78,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +108,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>delete</string>
<string>delete_action</string>
<string>plan</string>
<string>plan_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -81,6 +81,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -109,6 +110,7 @@
<string>DestinationAssignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -82,6 +82,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -109,6 +110,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -41,6 +41,8 @@
<string>cancel_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
<string>plan</string>
<string>plan_action</string>
</tuple>
......@@ -74,6 +76,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Manager</string>
......@@ -86,6 +89,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -95,6 +99,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -105,6 +110,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignee</string>
<string>DestinationAssignor</string>
<string>Manager</string>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -85,6 +82,7 @@
<string>DestinationAssignee</string>
<string>Assignee</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>validateVaultBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -77,6 +77,7 @@
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assignee</string>
<string>DestinationAssignor</string>
<string>DestinationAssignee</string>
......
......@@ -45,7 +45,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
......
......@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -64,6 +61,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -89,6 +87,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -74,6 +74,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -101,6 +102,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -72,6 +72,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -99,6 +100,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -43,6 +43,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -75,6 +77,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -104,6 +107,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -49,6 +49,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
......@@ -80,6 +82,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......@@ -90,6 +93,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -99,6 +103,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -109,6 +114,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......
......@@ -80,6 +80,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Assignee</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -38,7 +38,7 @@
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<none/>
</value>
</item>
<item>
......@@ -64,29 +64,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -82,7 +79,6 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>validateVaultBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -82,6 +79,7 @@
<tuple>
<string>Assignee</string>
<string>Manager</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -45,7 +45,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
......
......@@ -57,17 +57,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -76,6 +73,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -101,6 +99,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -80,6 +80,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -107,6 +108,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -78,6 +78,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +106,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -51,6 +51,8 @@
<string>delete_action</string>
<string>plan</string>
<string>plan_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -84,6 +86,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -113,6 +116,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>plan</string>
<string>plan_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -29,6 +29,12 @@
<key> <string>id</string> </key>
<value> <string>ordered</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Assigned To Vault Controler</string> </value>
......@@ -53,4 +59,39 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<list>
<string>Assistant</string>
</list>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<list>
<string>Assistant</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -29,6 +29,12 @@
<key> <string>id</string> </key>
<value> <string>planned</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Assigned To Vault Manager</string> </value>
......@@ -53,4 +59,39 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<list>
<string>Assistant</string>
</list>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<list>
<string>Assistant</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -43,6 +43,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
<string>order</string>
<string>order_action</string>
<string>plan</string>
......@@ -78,6 +80,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......@@ -88,6 +91,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -97,6 +101,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -107,6 +112,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -89,6 +86,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Assignee</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>ValidateVaultBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Assignee</string>
<string>Manager</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -45,7 +45,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>manager_bypass</string> </key>
......
......@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -64,6 +61,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -89,6 +87,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -74,6 +74,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -101,6 +102,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -72,6 +72,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -99,6 +100,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -43,6 +43,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -76,6 +78,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +108,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -49,6 +49,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
......@@ -80,6 +82,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......@@ -89,6 +92,8 @@
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -97,6 +102,8 @@
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -107,6 +114,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -82,6 +79,7 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -38,7 +38,7 @@
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<none/>
</value>
</item>
<item>
......@@ -64,29 +64,4 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -82,7 +79,6 @@
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>checkDestination</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -81,6 +78,7 @@
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
......
......@@ -39,7 +39,7 @@
</item>
<item>
<key> <string>initial_state</string> </key>
<value> <string>draft</string> </value>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
......
......@@ -73,12 +73,29 @@ from Products.ERP5Type.Message import Message\n
transaction = state_change[\'object\']\n
date = transaction.getStartDate()\n
vault = transaction.getSource()\n
resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
destination = transaction.getDestination()\n
\n
\n
# check we are in an opened accounting day\n
transaction.Baobab_checkCounterDateOpen(site=vault, date=date)\n
\n
if (\'encaisse_des_billets_et_monnaies\' not in vault) and (\'encaisse_des_billets_a_ventiler_et_a_detruire\' not in vault):\n
msg = Message(domain="ui", message="Invalid source.")\n
raise ValidationFailed, (msg,)\n
\n
if (\'encaisse_des_billets_et_monnaies\' not in destination) and (\'encaisse_des_billets_a_ventiler_et_a_detruire\' not in destination):\n
msg = Message(domain="ui", message="Invalid destination.")\n
raise ValidationFailed, (msg,)\n
\n
if (\'encaisse_des_billets_et_monnaies\' in vault) and (\'encaisse_des_billets_a_ventiler_et_a_detruire\' not in destination):\n
msg = Message(domain="ui", message="Impossible Monetary Survey.")\n
raise ValidationFailed, (msg,)\n
\n
if (\'encaisse_des_billets_a_ventiler_et_a_detruire\' in vault) and (\'encaisse_des_billets_et_monnaies\' not in destination):\n
msg = Message(domain="ui", message="Impossible Monetary Survey Reintregration.")\n
raise ValidationFailed, (msg,)\n
\n
resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
# Get price and total_price.\n
amount = transaction.getSourceTotalAssetPrice()\n
total_price = transaction.getTotalPrice(portal_type=[\'Cash Delivery Line\',\'Cash Delivery Cell\'],fast=0)\n
......@@ -152,10 +169,11 @@ elif resource <> 0 :\n
<string>_getattr_</string>
<string>date</string>
<string>vault</string>
<string>destination</string>
<string>msg</string>
<string>resource</string>
<string>amount</string>
<string>total_price</string>
<string>msg</string>
</tuple>
</value>
</item>
......
......@@ -51,17 +51,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -71,6 +68,7 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -97,6 +95,7 @@
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -80,6 +80,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -107,6 +108,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -78,6 +78,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -105,6 +106,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -49,6 +49,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple>
</value>
</item>
......@@ -81,6 +83,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......@@ -109,6 +112,7 @@
<string>Assignor</string>
<string>Manager</string>
<string>Reviewer</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>empty</string> </value>
</item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Empty</string> </value>
</item>
<item>
<key> <string>transitions</string> </key>
<value>
<tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string>
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
<item>
<key> <string>type_list</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Manager</string>
<string>Assistant</string>
<string>Assignor</string>
<string>Reviewer</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -49,6 +49,8 @@
<string>confirm_action</string>
<string>delete</string>
<string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple>
</value>
</item>
......@@ -80,6 +82,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......@@ -89,6 +92,8 @@
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -97,6 +102,8 @@
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
......@@ -107,6 +114,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string>
<string>Reviewer</string>
</tuple>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -89,6 +86,7 @@
<string>Manager</string>
<string>Assignor</string>
<string>Assignee</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignor</string>
<string>Assistant</string>
</tuple>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Go to Draft</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?field_my_workflow_action=draft_action</string> </value>
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>draft</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>guard</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>draft_action</string> </value>
</item>
<item>
<key> <string>new_state_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>validateVaultBalance</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Draft</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Assistant</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Guard</string>
<string>Guard</string>
</tuple>
<none/>
<global name="Guard" module="Products.DCWorkflow.Guard"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -88,6 +85,7 @@
<tuple>
<string>Manager</string>
<string>Assignee</string>
<string>Assignor</string>
</tuple>
</value>
</item>
......
......@@ -79,9 +79,9 @@ transaction.Baobab_checkCounterDateOpen(site=vault, date=date)\n
\n
# check counter is opened\n
site = transaction.getSourceValue()\n
if not context.Baobab_checkCounterOpened(site):\n
msg = Message(domain = "ui", message="Counter is not opened")\n
raise ValidationFailed, (msg,)\n
context.Baobab_checkCounterOpened(site,simulation_state_list=[\'open\', \'closing\'])\n
\n
\n
\n
resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
\n
......@@ -154,10 +154,10 @@ elif resource <> 0 :\n
<string>date</string>
<string>site</string>
<string>context</string>
<string>msg</string>
<string>resource</string>
<string>amount</string>
<string>total_price</string>
<string>msg</string>
</tuple>
</value>
</item>
......
......@@ -102,13 +102,13 @@ if destination is None:\n
transaction.Baobab_checkCounterDateOpen(site=destination, date=transaction.getStartDate())\n
\n
site = transaction.getDestinationValue()\n
\n
# I comment theses lines, because it\'s not necessary to control if all counter is opened or not at the moment : CISSE\n
# check that the counter is opened\n
counter_list = [x.getObject() for x in transaction.portal_catalog(portal_type="Counter", simulation_state = \'open\', site_uid = site.getUid())]\n
#counter_list = [x.getObject() for x in transaction.portal_catalog(portal_type="Counter", simulation_state = \'open\', site_uid = site.getUid())]\n
\n
if len(counter_list) == 0:\n
msg = Message(domain = "ui", message="Counter is not opened")\n
raise ValidationFailed, (msg,)\n
#if len(counter_list) == 0:\n
# msg = Message(domain = "ui", message="Counter is not opened")\n
# raise ValidationFailed, (msg,)\n
</string> </value>
</item>
<item>
......@@ -182,12 +182,6 @@ if len(counter_list) == 0:\n
<string>var_state</string>
<string>total_price</string>
<string>site</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>x</string>
<string>counter_list</string>
<string>len</string>
</tuple>
</value>
</item>
......
......@@ -97,6 +97,9 @@ destination_object = context.portal_categories.getCategoryValue(destination)\n
# check again that we are in the good accounting date\n
transaction.Baobab_checkCounterDateOpen(site=destination_object, date=transaction.getStartDate())\n
\n
# check again that the counter is open\n
\n
context.Baobab_checkCounterOpened(destination)\n
\n
# Get price and total_price.\n
price = transaction.getSourceTotalAssetPrice()\n
......
......@@ -77,6 +77,10 @@ vault = \'%s/surface/caisse_courante/encaisse_des_billets_et_monnaies\' %(ob.get
date = ob.getStartDate()\n
ob.Baobab_checkCounterDateOpen(site=vault, date=date)\n
\n
# check again that the counter is open\n
source = ob.getSource()\n
context.Baobab_checkCounterOpened(source)\n
\n
if len(ob.objectValues(portal_type="Outgoing Mutilated Banknote Line")) == 0:\n
msg = Message(domain = "ui", message="You must defined returned banknote.")\n
raise ValidationFailed, (msg,)\n
......@@ -145,6 +149,8 @@ elif resource <> 0 :\n
<string>_getattr_</string>
<string>vault</string>
<string>date</string>
<string>source</string>
<string>context</string>
<string>len</string>
<string>msg</string>
<string>resource</string>
......
......@@ -71,6 +71,9 @@ from Products.ERP5Type.Message import Message\n
ob = state_change[\'object\']\n
ob.Baobab_checkCounterDateOpen(site=ob.getSource(), date=ob.getStartDate())\n
\n
\n
\n
\n
# check presence of banknote\n
if len(ob.objectValues(portal_type="Exchanged Mutilated Banknote Line")) != 0:\n
msg = Message(domain = "ui", message="Transition forbidden with exchanged banknote line defined.")\n
......
......@@ -72,6 +72,8 @@ ob = state_change[\'object\']\n
\n
ob.Baobab_checkCounterDateOpen(site=ob.getSource(), date=ob.getStartDate())\n
\n
\n
\n
# check presence of banknote\n
if len(ob.objectValues()) == 0:\n
msg = Message(domain = "ui", message="No mutilated banknotes defined.")\n
......
......@@ -79,9 +79,10 @@ transaction.Baobab_checkCounterDateOpen(site=vault, date=date)\n
\n
# check counter is opened\n
site = transaction.getDestinationValue()\n
if not context.Baobab_checkCounterOpened(site):\n
msg = Message(domain = "ui", message="Counter is not opened")\n
raise ValidationFailed, (msg,)\n
source_counter = transaction.getDestination(None)\n
\n
context.Baobab_checkCounterOpened(source_counter)\n
\n
\n
# use of the constraint : Test source and destination\n
vliste = transaction.checkConsistency()\n
......@@ -165,13 +166,15 @@ elif resource <> 0 :\n
<string>vault</string>
<string>date</string>
<string>site</string>
<string>None</string>
<string>source_counter</string>
<string>context</string>
<string>msg</string>
<string>vliste</string>
<string>len</string>
<string>resource</string>
<string>amount</string>
<string>total_price</string>
<string>msg</string>
</tuple>
</value>
</item>
......
422
\ No newline at end of file
423
\ 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