Commit 6d107e51 authored by Sebastien Robin's avatar Sebastien Robin

fixed security settings on usual cash transfer workflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12461 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58c863e4
......@@ -85,7 +85,7 @@ if currency != \'XOF\':\n
emissionLetter = [\'not_defined\']\n
variation = [\'not_defined\']\n
else:\n
cashStatus = [\'valid\', \'cancelled\', \'to_sort\', \'new_emitted\']\n
cashStatus = [\'valid\', \'cancelled\', \'to_sort\', \'new_emitted\',\'error\']\n
emissionLetter = None\n
variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n
\n
......
......@@ -86,7 +86,7 @@ if currency != \'XOF\':\n
emissionLetter = [\'not_defined\',]\n
variation = [\'not_defined\',]\n
else:\n
cashStatus = [\'valid\', \'cancelled\', \'to_sort\', \'new_emitted\']\n
cashStatus = [\'valid\', \'cancelled\', \'to_sort\', \'new_emitted\',\'error\']\n
emissionLetter = None\n
variation = context.Baobab_getResourceVintageList(banknote=1, coin=1)\n
\n
......
......@@ -87,7 +87,7 @@ if source_section is None :\n
if \'serre\' in context.getSource():\n
cash_status = [\'retired\',]\n
else:\n
cash_status = [\'cancelled\',\'mutilated\', \'maculated\']\n
cash_status = [\'cancelled\',\'mutilated\', \'maculated\',\'error\']\n
\n
#emission_letter = context.Baobab_getUserEmissionLetterList() \n
#emission_letter = list(context.getSourceSectionValue().getCodification()[0])\n
......
......@@ -51,6 +51,7 @@
<string>Access contents information</string>
<string>Modify portal content</string>
<string>View</string>
<string>Add portal content</string>
</tuple>
</value>
</item>
......
......@@ -77,6 +77,12 @@
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
......
......@@ -82,10 +82,20 @@
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple/>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
......
......@@ -77,6 +77,12 @@
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
......
......@@ -83,6 +83,16 @@
</tuple>
</value>
</item>
<item>
<key> <string>Add portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
......
152
\ No newline at end of file
156
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment