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 @@ ...@@ -71,11 +71,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -90,18 +87,15 @@ ...@@ -90,18 +87,15 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python: object.getSimulationState()==\'draft\'</string> </value> <value> <string>python: object.getSimulationState()==\'empty\'</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -109,11 +103,8 @@ ...@@ -109,11 +103,8 @@
<record id="4" aka="AAAAAAAAAAQ="> <record id="4" aka="AAAAAAAAAAQ=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Expression" module="Products.CMFCore.Expression"/>
<string>Products.CMFCore.Expression</string> <tuple/>
<string>Expression</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -314,6 +317,7 @@ ...@@ -314,6 +317,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -324,6 +328,7 @@ ...@@ -324,6 +328,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -490,6 +495,7 @@ ...@@ -490,6 +495,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -662,6 +668,7 @@ ...@@ -662,6 +668,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -674,6 +681,7 @@ ...@@ -674,6 +681,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -302,6 +305,7 @@ ...@@ -302,6 +305,7 @@
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -311,6 +315,7 @@ ...@@ -311,6 +315,7 @@
</permission> </permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assistant</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='tuple'> <permission type='tuple'>
...@@ -478,6 +483,7 @@ ...@@ -478,6 +483,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Manager</role> <role>Manager</role>
...@@ -656,6 +662,7 @@ ...@@ -656,6 +662,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -668,6 +675,7 @@ ...@@ -668,6 +675,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -313,6 +316,7 @@ ...@@ -313,6 +316,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -323,6 +327,7 @@ ...@@ -323,6 +327,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -489,6 +494,7 @@ ...@@ -489,6 +494,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -661,6 +667,7 @@ ...@@ -661,6 +667,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -673,6 +680,7 @@ ...@@ -673,6 +680,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -315,6 +318,7 @@ ...@@ -315,6 +318,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -325,6 +329,7 @@ ...@@ -325,6 +329,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -493,6 +498,7 @@ ...@@ -493,6 +498,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -666,6 +672,7 @@ ...@@ -666,6 +672,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -678,6 +685,7 @@ ...@@ -678,6 +685,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -314,6 +317,7 @@ ...@@ -314,6 +317,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -324,6 +328,7 @@ ...@@ -324,6 +328,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -490,6 +495,7 @@ ...@@ -490,6 +495,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -662,6 +668,7 @@ ...@@ -662,6 +668,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -674,6 +681,7 @@ ...@@ -674,6 +681,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -301,6 +304,7 @@ ...@@ -301,6 +304,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -310,6 +314,7 @@ ...@@ -310,6 +314,7 @@
</permission> </permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assistant</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='tuple'> <permission type='tuple'>
...@@ -475,6 +480,7 @@ ...@@ -475,6 +480,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Manager</role> <role>Manager</role>
...@@ -652,6 +658,7 @@ ...@@ -652,6 +658,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -664,6 +671,7 @@ ...@@ -664,6 +671,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -313,6 +316,7 @@ ...@@ -313,6 +316,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -323,6 +327,7 @@ ...@@ -323,6 +327,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -489,6 +494,7 @@ ...@@ -489,6 +494,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -661,6 +667,7 @@ ...@@ -661,6 +667,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -673,6 +680,7 @@ ...@@ -673,6 +680,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -301,6 +304,7 @@ ...@@ -301,6 +304,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -310,6 +314,7 @@ ...@@ -310,6 +314,7 @@
</permission> </permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assistant</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='tuple'> <permission type='tuple'>
...@@ -475,6 +480,7 @@ ...@@ -475,6 +480,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -652,6 +658,7 @@ ...@@ -652,6 +658,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -664,6 +671,7 @@ ...@@ -664,6 +671,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -314,6 +317,7 @@ ...@@ -314,6 +317,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -324,6 +328,7 @@ ...@@ -324,6 +328,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -490,6 +495,7 @@ ...@@ -490,6 +495,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -662,6 +668,7 @@ ...@@ -662,6 +668,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -674,6 +681,7 @@ ...@@ -674,6 +681,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<name>Access contents information</name> <name>Access contents information</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
<name>Access session data</name> <name>Access session data</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -313,6 +316,7 @@ ...@@ -313,6 +316,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -323,6 +327,7 @@ ...@@ -323,6 +327,7 @@
<permission type='tuple'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
...@@ -489,6 +494,7 @@ ...@@ -489,6 +494,7 @@
<name>List folder contents</name> <name>List folder contents</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -661,6 +667,7 @@ ...@@ -661,6 +667,7 @@
<name>View</name> <name>View</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
...@@ -673,6 +680,7 @@ ...@@ -673,6 +680,7 @@
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
<role>Assignor</role> <role>Assignor</role>
<role>Assistant</role>
<role>Associate</role> <role>Associate</role>
<role>Auditor</role> <role>Auditor</role>
<role>Author</role> <role>Author</role>
......
...@@ -95,7 +95,11 @@ ...@@ -95,7 +95,11 @@
</item> </item>
<item> <item>
<key> <string>init_script</string> </key> <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>
<item> <item>
<key> <string>property_sheet_list</string> </key> <key> <string>property_sheet_list</string> </key>
......
...@@ -72,12 +72,14 @@ currency = context.Baobab_getPortalReferenceCurrencyID()\n ...@@ -72,12 +72,14 @@ currency = context.Baobab_getPortalReferenceCurrencyID()\n
source_section = context.getSourceSection()\n source_section = context.getSourceSection()\n
\n \n
\n \n
if source_section is None :\n # We must not force another site, it is optionnal\n
redirect_url = \'%s/%s?%s\' % ( context.absolute_url()\n # So I (Seb) remove this\n
, \'view\'\n #if source_section is None :\n
, \'portal_status_message=Please+select+a+site.\'\n # redirect_url = \'%s/%s?%s\' % ( context.absolute_url()\n
)\n # , \'view\'\n
return request.RESPONSE.redirect( redirect_url )\n # , \'portal_status_message=Please+select+a+site.\'\n
# )\n
# return request.RESPONSE.redirect( redirect_url )\n
\n \n
\n \n
\n \n
...@@ -85,10 +87,13 @@ if \'serre\' in context.getSource():\n ...@@ -85,10 +87,13 @@ if \'serre\' in context.getSource():\n
cash_status = [\'retired\',\'error\']\n cash_status = [\'retired\',\'error\']\n
else:\n else:\n
cash_status = [\'cancelled\',\'mutilated\', \'maculated\',\'error\']\n cash_status = [\'cancelled\',\'mutilated\', \'maculated\',\'error\']\n
\n \n
#emission_letter = context.Baobab_getUserEmissionLetterList() \n # Select the emission letter of the remote site if there is one defined\n
#emission_letter = list(context.getSourceSectionValue().getCodification()[0])\n if source_section is None:\n
emission_letter = list((context.getSourceSectionValue().getCodification()[0]).lower())\n emission_letter = context.Baobab_getUserEmissionLetterList() \n
else:\n
emission_letter = list((context.getSourceSectionValue().getCodification()[0]).lower())\n
\n
\n \n
variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n
\n \n
...@@ -161,12 +166,11 @@ return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n ...@@ -161,12 +166,11 @@ return context.CashDelivery_generateCashDetailInputDialog(listbox = None\n
<string>source</string> <string>source</string>
<string>currency</string> <string>currency</string>
<string>source_section</string> <string>source_section</string>
<string>None</string>
<string>redirect_url</string>
<string>cash_status</string> <string>cash_status</string>
<string>None</string>
<string>emission_letter</string>
<string>list</string> <string>list</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>emission_letter</string>
<string>variation</string> <string>variation</string>
<string>False</string> <string>False</string>
<string>cash_detail_dict</string> <string>cash_detail_dict</string>
......
...@@ -78,6 +78,8 @@ ...@@ -78,6 +78,8 @@
<value> <value>
<list> <list>
<string>listbox</string> <string>listbox</string>
<string>listbox_destination_logical_path</string>
<string>listbox_source_logical_path</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -341,12 +341,16 @@ ...@@ -341,12 +341,16 @@
<string>Date</string> <string>Date</string>
</tuple> </tuple>
<tuple> <tuple>
<string>source_total_asset_price</string> <string>source_logical_path</string>
<string>Amount</string> <string>Source Vault</string>
</tuple>
<tuple>
<string>destination_logical_path</string>
<string>Destination Vault</string>
</tuple> </tuple>
<tuple> <tuple>
<string>description</string> <string>source_total_asset_price</string>
<string>Description</string> <string>Amount</string>
</tuple> </tuple>
<tuple> <tuple>
<string>translated_simulation_state_title</string> <string>translated_simulation_state_title</string>
......
<?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 @@ ...@@ -107,6 +107,7 @@
<value> <value>
<list> <list>
<string>my_source_reference</string> <string>my_source_reference</string>
<string>my_source</string>
<string>my_source_total_asset_price</string> <string>my_source_total_asset_price</string>
</list> </list>
</value> </value>
...@@ -116,6 +117,7 @@ ...@@ -116,6 +117,7 @@
<value> <value>
<list> <list>
<string>my_start_date</string> <string>my_start_date</string>
<string>my_destination</string>
<string>my_description</string> <string>my_description</string>
</list> </list>
</value> </value>
......
...@@ -83,6 +83,11 @@ transaction.Baobab_checkSameUserVault(counter_site)\n ...@@ -83,6 +83,11 @@ transaction.Baobab_checkSameUserVault(counter_site)\n
\n \n
# check again that we are in the good accounting date\n # check again that we are in the good accounting date\n
transaction.Baobab_checkCounterDateOpen(site=caisse_outgoing, date=transaction.getStartDate())\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 # use of the constraint : Test cash status line\n
#vliste = transaction.checkConsistency()\n #vliste = transaction.checkConsistency()\n
#transaction.log(\'vliste\', vliste)\n #transaction.log(\'vliste\', vliste)\n
...@@ -177,6 +182,7 @@ if amount_total != outgoing_total:\n ...@@ -177,6 +182,7 @@ if amount_total != outgoing_total:\n
<string>counter_site</string> <string>counter_site</string>
<string>caisse_incoming</string> <string>caisse_incoming</string>
<string>caisse_outgoing</string> <string>caisse_outgoing</string>
<string>context</string>
<string>resource_two</string> <string>resource_two</string>
<string>incoming_total</string> <string>incoming_total</string>
<string>outgoing_total</string> <string>outgoing_total</string>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</item> </item>
<item> <item>
<key> <string>initial_state</string> </key> <key> <string>initial_state</string> </key>
<value> <string>draft</string> </value> <value> <string>empty</string> </value>
</item> </item>
<item> <item>
<key> <string>manager_bypass</string> </key> <key> <string>manager_bypass</string> </key>
......
...@@ -45,17 +45,14 @@ ...@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
...@@ -67,6 +64,7 @@ ...@@ -67,6 +64,7 @@
<string>DestinationAssignee</string> <string>DestinationAssignee</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -95,6 +93,7 @@ ...@@ -95,6 +93,7 @@
<string>DestinationAssignee</string> <string>DestinationAssignee</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -105,6 +106,7 @@ ...@@ -105,6 +106,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -94,6 +95,7 @@ ...@@ -94,6 +95,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -37,10 +37,14 @@ ...@@ -37,10 +37,14 @@
<key> <string>transitions</string> </key> <key> <string>transitions</string> </key>
<value> <value>
<tuple> <tuple>
<string>cancel</string>
<string>cancel_action</string>
<string>confirm</string> <string>confirm</string>
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -75,6 +79,7 @@ ...@@ -75,6 +79,7 @@
<string>Manager</string> <string>Manager</string>
<string>Owner</string> <string>Owner</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -107,6 +112,7 @@ ...@@ -107,6 +112,7 @@
<string>Manager</string> <string>Manager</string>
<string>Owner</string> <string>Owner</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -43,6 +43,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -74,6 +76,7 @@ ...@@ -74,6 +76,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignee</string> <string>DestinationAssignee</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
...@@ -86,6 +89,7 @@ ...@@ -86,6 +89,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -95,6 +99,7 @@ ...@@ -95,6 +99,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -105,6 +110,7 @@ ...@@ -105,6 +110,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignee</string> <string>DestinationAssignee</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -105,6 +106,7 @@ ...@@ -105,6 +106,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -105,6 +106,7 @@ ...@@ -105,6 +106,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -82,6 +79,7 @@ ...@@ -82,6 +79,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -73,11 +73,8 @@ ...@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -88,6 +85,7 @@ ...@@ -88,6 +85,7 @@
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -80,6 +80,7 @@
<string>Assignee</string> <string>Assignee</string>
<string>Manager</string> <string>Manager</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Assignor</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</item> </item>
<item> <item>
<key> <string>initial_state</string> </key> <key> <string>initial_state</string> </key>
<value> <string>draft</string> </value> <value> <string>empty</string> </value>
</item> </item>
<item> <item>
<key> <string>permissions</string> </key> <key> <string>permissions</string> </key>
......
...@@ -51,17 +51,14 @@ ...@@ -51,17 +51,14 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
...@@ -72,6 +69,7 @@ ...@@ -72,6 +69,7 @@
<string>DestinationAssignee</string> <string>DestinationAssignee</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -99,6 +97,7 @@ ...@@ -99,6 +97,7 @@
<string>DestinationAssignee</string> <string>DestinationAssignee</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -109,6 +110,7 @@ ...@@ -109,6 +110,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -79,6 +79,7 @@ ...@@ -79,6 +79,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -107,6 +108,7 @@ ...@@ -107,6 +108,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -49,6 +49,8 @@ ...@@ -49,6 +49,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -81,6 +83,7 @@ ...@@ -81,6 +83,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -109,6 +112,7 @@ ...@@ -109,6 +112,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -80,6 +80,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
...@@ -91,6 +92,7 @@ ...@@ -91,6 +92,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -100,6 +102,7 @@ ...@@ -100,6 +102,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -110,6 +113,7 @@ ...@@ -110,6 +113,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
......
...@@ -73,11 +73,8 @@ ...@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -90,6 +87,7 @@ ...@@ -90,6 +87,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>DestinationAssignee</string> <string>DestinationAssignee</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -73,11 +73,8 @@ ...@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -88,6 +85,7 @@ ...@@ -88,6 +85,7 @@
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -80,6 +80,7 @@
<string>Manager</string> <string>Manager</string>
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>DestinationAssignee</string> <string>DestinationAssignee</string>
<string>Assignor</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -91,6 +91,10 @@ outgoing_source = counter_site + encaisse_billets_et_monnaies\n ...@@ -91,6 +91,10 @@ outgoing_source = counter_site + encaisse_billets_et_monnaies\n
\n \n
# check again that we are in the good accounting date\n # check again that we are in the good accounting date\n
transaction.Baobab_checkCounterDateOpen(site=outgoing_source, date=transaction.getStartDate())\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 base_price = transaction.getSourceTotalAssetPrice()\n
# Check the amount.\n # Check the amount.\n
\n \n
...@@ -191,6 +195,7 @@ elif resource_two!= 0 :\n ...@@ -191,6 +195,7 @@ elif resource_two!= 0 :\n
<string>counter_site</string> <string>counter_site</string>
<string>incoming_destination</string> <string>incoming_destination</string>
<string>outgoing_source</string> <string>outgoing_source</string>
<string>context</string>
<string>base_price</string> <string>base_price</string>
<string>None</string> <string>None</string>
<string>msg</string> <string>msg</string>
......
...@@ -90,6 +90,10 @@ outgoing_source = counter_site + encaisse_devise\n ...@@ -90,6 +90,10 @@ outgoing_source = counter_site + encaisse_devise\n
# check again that we are in the good accounting date\n # check again that we are in the good accounting date\n
transaction.Baobab_checkCounterDateOpen(site=outgoing_source, date=transaction.getStartDate())\n transaction.Baobab_checkCounterDateOpen(site=outgoing_source, date=transaction.getStartDate())\n
\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 # use of the constraint : Test cash status line\n
#vliste = transaction.checkConsistency()\n #vliste = transaction.checkConsistency()\n
#transaction.log(\'vliste\', vliste)\n #transaction.log(\'vliste\', vliste)\n
...@@ -185,6 +189,7 @@ elif resource_one != 0 :\n ...@@ -185,6 +189,7 @@ elif resource_one != 0 :\n
<string>encaisse_billets_et_monnaies</string> <string>encaisse_billets_et_monnaies</string>
<string>counter_site</string> <string>counter_site</string>
<string>outgoing_source</string> <string>outgoing_source</string>
<string>context</string>
<string>resource_one</string> <string>resource_one</string>
<string>billetage_entre</string> <string>billetage_entre</string>
<string>billetage_sorti</string> <string>billetage_sorti</string>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</item> </item>
<item> <item>
<key> <string>initial_state</string> </key> <key> <string>initial_state</string> </key>
<value> <string>draft</string> </value> <value> <string>empty</string> </value>
</item> </item>
<item> <item>
<key> <string>permissions</string> </key> <key> <string>permissions</string> </key>
......
...@@ -51,17 +51,14 @@ ...@@ -51,17 +51,14 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
...@@ -71,6 +68,7 @@ ...@@ -71,6 +68,7 @@
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -97,6 +95,7 @@ ...@@ -97,6 +95,7 @@
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -107,6 +108,7 @@ ...@@ -107,6 +108,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -105,6 +106,7 @@ ...@@ -105,6 +106,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -49,6 +49,8 @@ ...@@ -49,6 +49,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -82,6 +84,7 @@ ...@@ -82,6 +84,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -111,6 +114,7 @@ ...@@ -111,6 +114,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -49,6 +49,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -80,6 +82,7 @@ ...@@ -80,6 +82,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
</tuple> </tuple>
...@@ -89,6 +92,8 @@ ...@@ -89,6 +92,8 @@
<key> <string>Add portal content</string> </key> <key> <string>Add portal content</string> </key>
<value> <value>
<tuple> <tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -97,6 +102,8 @@ ...@@ -97,6 +102,8 @@
<key> <string>Modify portal content</string> </key> <key> <string>Modify portal content</string> </key>
<value> <value>
<tuple> <tuple>
<string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -107,6 +114,7 @@ ...@@ -107,6 +114,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
</tuple> </tuple>
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
<string>Manager</string> <string>Manager</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assignee</string> <string>Assignee</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -73,11 +73,8 @@ ...@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -88,6 +85,7 @@ ...@@ -88,6 +85,7 @@
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -88,6 +85,7 @@ ...@@ -88,6 +85,7 @@
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -83,9 +83,8 @@ transaction.Baobab_checkCounterDateOpen(site=vault, date=date)\n ...@@ -83,9 +83,8 @@ transaction.Baobab_checkCounterDateOpen(site=vault, date=date)\n
\n \n
# check counter is opened\n # check counter is opened\n
site = transaction.getSourceValue()\n site = transaction.getSourceValue()\n
if not context.Baobab_checkCounterOpened(site):\n context.Baobab_checkCounterOpened(site,simulation_state_list=[\'open\', \'closing\'])\n
msg = Message(domain = "ui", message="Counter is not opened")\n \n
raise ValidationFailed, (msg,)\n
\n \n
resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n resource = transaction.CashDelivery_checkCounterInventory(source=vault, portal_type=\'Cash Delivery Line\')\n
\n \n
...@@ -158,10 +157,10 @@ elif resource <> 0 :\n ...@@ -158,10 +157,10 @@ elif resource <> 0 :\n
<string>date</string> <string>date</string>
<string>site</string> <string>site</string>
<string>context</string> <string>context</string>
<string>msg</string>
<string>resource</string> <string>resource</string>
<string>amount</string> <string>amount</string>
<string>total_price</string> <string>total_price</string>
<string>msg</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</item> </item>
<item> <item>
<key> <string>initial_state</string> </key> <key> <string>initial_state</string> </key>
<value> <string>draft</string> </value> <value> <string>empty</string> </value>
</item> </item>
<item> <item>
<key> <string>manager_bypass</string> </key> <key> <string>manager_bypass</string> </key>
......
...@@ -45,17 +45,14 @@ ...@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
...@@ -65,6 +62,7 @@ ...@@ -65,6 +62,7 @@
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -91,6 +89,7 @@ ...@@ -91,6 +89,7 @@
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -101,6 +102,7 @@ ...@@ -101,6 +102,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -99,6 +100,7 @@ ...@@ -99,6 +100,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -75,6 +77,7 @@ ...@@ -75,6 +77,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -103,6 +106,7 @@ ...@@ -103,6 +106,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -49,6 +49,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>draft</string>
<string>draft_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -80,6 +82,7 @@ ...@@ -80,6 +82,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
</tuple> </tuple>
...@@ -90,6 +93,7 @@ ...@@ -90,6 +93,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -99,6 +103,7 @@ ...@@ -99,6 +103,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -109,6 +114,7 @@ ...@@ -109,6 +114,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
</tuple> </tuple>
......
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -83,6 +80,7 @@ ...@@ -83,6 +80,7 @@
<string>Manager</string> <string>Manager</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assignee</string> <string>Assignee</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -85,6 +85,7 @@ ...@@ -85,6 +85,7 @@
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -82,6 +79,7 @@ ...@@ -82,6 +79,7 @@
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</item> </item>
<item> <item>
<key> <string>initial_state</string> </key> <key> <string>initial_state</string> </key>
<value> <string>draft</string> </value> <value> <string>empty</string> </value>
</item> </item>
<item> <item>
<key> <string>manager_bypass</string> </key> <key> <string>manager_bypass</string> </key>
......
...@@ -45,17 +45,14 @@ ...@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
...@@ -64,6 +61,7 @@ ...@@ -64,6 +61,7 @@
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -89,6 +87,7 @@ ...@@ -89,6 +87,7 @@
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -101,6 +102,7 @@ ...@@ -101,6 +102,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -99,6 +100,7 @@ ...@@ -99,6 +100,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -75,6 +77,7 @@ ...@@ -75,6 +77,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -103,6 +106,7 @@ ...@@ -103,6 +106,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -43,6 +43,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -74,6 +76,7 @@ ...@@ -74,6 +76,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
</tuple> </tuple>
...@@ -84,6 +87,7 @@ ...@@ -84,6 +87,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -93,6 +97,7 @@ ...@@ -93,6 +97,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -103,6 +108,7 @@ ...@@ -103,6 +108,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
</tuple> </tuple>
......
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Assignee</string> <string>Assignee</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<item> <item>
<key> <string>guard</string> </key> <key> <string>guard</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <none/>
</value> </value>
</item> </item>
<item> <item>
...@@ -64,29 +64,4 @@ ...@@ -64,29 +64,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -67,11 +67,8 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -82,7 +79,6 @@ ...@@ -82,7 +79,6 @@
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -73,11 +73,8 @@ ...@@ -73,11 +73,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -88,6 +85,7 @@ ...@@ -88,6 +85,7 @@
<tuple> <tuple>
<string>Manager</string> <string>Manager</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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 @@ ...@@ -67,11 +67,8 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -82,6 +79,7 @@ ...@@ -82,6 +79,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Manager</string> <string>Manager</string>
<string>Assignor</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -70,6 +70,17 @@ from Products.ERP5Type.Message import Message\n ...@@ -70,6 +70,17 @@ from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change[\'object\']\n transaction = state_change[\'object\']\n
\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 if transaction.getResource() is None:\n
msg = Message(domain="ui", message="No resource defined.")\n msg = Message(domain="ui", message="No resource defined.")\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
...@@ -77,8 +88,7 @@ if transaction.getResource() is None:\n ...@@ -77,8 +88,7 @@ if transaction.getResource() is None:\n
# Check getBaobabSource and getBaobabDestination\n # Check getBaobabSource and getBaobabDestination\n
#transaction.Base_checkBaobabSourceAndDestination()\n #transaction.Base_checkBaobabSourceAndDestination()\n
\n \n
date = transaction.getStartDate()\n \n
destination= transaction.getDestination()\n
# check we don\'t change of user\n # check we don\'t change of user\n
transaction.Baobab_checkSameUserVault(destination)\n transaction.Baobab_checkSameUserVault(destination)\n
\n \n
...@@ -92,17 +102,7 @@ if destination is None:\n ...@@ -92,17 +102,7 @@ if destination is None:\n
msg = Message(domain=\'ui\', message=\'No counter defined.\')\n msg = Message(domain=\'ui\', message=\'No counter defined.\')\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
\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 \n
if len(counter_list) == 0:\n
msg = Message(domain = "ui", message="Counter is not opened")\n
raise ValidationFailed, (msg,)\n
\n \n
# Get price and total_price.\n # Get price and total_price.\n
price = transaction.getSourceTotalAssetPrice()\n price = transaction.getSourceTotalAssetPrice()\n
...@@ -169,18 +169,13 @@ if price != cash_detail:\n ...@@ -169,18 +169,13 @@ if price != cash_detail:\n
<string>_getitem_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>None</string>
<string>msg</string>
<string>date</string> <string>date</string>
<string>destination</string> <string>destination</string>
<string>lettering</string>
<string>site</string> <string>site</string>
<string>append</string> <string>context</string>
<string>$append0</string> <string>None</string>
<string>_getiter_</string> <string>msg</string>
<string>x</string> <string>lettering</string>
<string>counter_list</string>
<string>len</string>
<string>price</string> <string>price</string>
<string>cash_detail</string> <string>cash_detail</string>
</tuple> </tuple>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</item> </item>
<item> <item>
<key> <string>initial_state</string> </key> <key> <string>initial_state</string> </key>
<value> <string>draft</string> </value> <value> <string>empty</string> </value>
</item> </item>
<item> <item>
<key> <string>manager_bypass</string> </key> <key> <string>manager_bypass</string> </key>
......
...@@ -45,17 +45,14 @@ ...@@ -45,17 +45,14 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
...@@ -65,6 +62,7 @@ ...@@ -65,6 +62,7 @@
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -91,6 +89,7 @@ ...@@ -91,6 +89,7 @@
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -105,6 +106,7 @@ ...@@ -105,6 +106,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -103,6 +104,7 @@ ...@@ -103,6 +104,7 @@
<string>DestinationAssignor</string> <string>DestinationAssignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
<string>delete_action</string> <string>delete_action</string>
<string>plan</string> <string>plan</string>
<string>plan_action</string> <string>plan_action</string>
<string>reject</string>
<string>reject_action</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -76,6 +78,7 @@ ...@@ -76,6 +78,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -105,6 +108,7 @@ ...@@ -105,6 +108,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Reviewer</string> <string>Reviewer</string>
<string>Assistant</string>
</tuple> </tuple>
</value> </value>
</item> </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>
This diff is collapsed.
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