Commit 259726c0 authored by Sebastien Robin's avatar Sebastien Robin

do not use the fast input on stop payment, we must

use reference min and reference max instead

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10948 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 614e2a31
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
</item> </item>
<item> <item>
<key> <string>visible</string> </key> <key> <string>visible</string> </key>
<value> <int>1</int> </value> <value> <int>0</int> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -483,6 +483,9 @@ ...@@ -483,6 +483,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -684,6 +687,9 @@ ...@@ -684,6 +687,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
...@@ -473,6 +473,9 @@ ...@@ -473,6 +473,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -667,6 +670,9 @@ ...@@ -667,6 +670,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
...@@ -484,6 +484,9 @@ ...@@ -484,6 +484,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -686,6 +689,9 @@ ...@@ -686,6 +689,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
...@@ -483,6 +483,9 @@ ...@@ -483,6 +483,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -684,6 +687,9 @@ ...@@ -684,6 +687,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
...@@ -484,6 +484,9 @@ ...@@ -484,6 +484,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -686,6 +689,9 @@ ...@@ -686,6 +689,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
...@@ -484,6 +484,9 @@ ...@@ -484,6 +484,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -686,6 +689,9 @@ ...@@ -686,6 +689,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
<module> <module>
<id>stop_payment_module</id> <id>stop_payment_module</id>
<permission_list> <permission_list>
<permission type='list'> <permission type='tuple'>
<name>Access Transient Objects</name> <name>Access Transient Objects</name>
</permission> <role>Assignee</role>
<permission type='list'> <role>Assignor</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Access arbitrary user session data</name> <name>Access arbitrary user session data</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Access contents information</name> <name>Access contents information</name>
</permission> <role>Assignee</role>
<permission type='list'> <role>Assignor</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Access future portal content</name> <name>Access future portal content</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Access inactive portal content</name> <name>Access inactive portal content</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Access session data</name> <name>Access session data</name>
</permission> <role>Assignee</role>
<permission type='list'> <role>Assignor</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Add Accelerated HTTP Cache Managers</name> <name>Add Accelerated HTTP Cache Managers</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add BTreeFolder2s</name> <name>Add BTreeFolder2s</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Browser Id Manager</name> <name>Add Browser Id Manager</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Action Icons Tools</name> <name>Add CMF Action Icons Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Active Processs</name> <name>Add CMF Active Processs</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Caching Policy Managers</name> <name>Add CMF Caching Policy Managers</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Calendar Tools</name> <name>Add CMF Calendar Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Core Tools</name> <name>Add CMF Core Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Default Tools</name> <name>Add CMF Default Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Report Tools</name> <name>Add CMF Report Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Setup Tools</name> <name>Add CMF Setup Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Sites</name> <name>Add CMF Sites</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMF Unique Id Tools</name> <name>Add CMF Unique Id Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMFActivity Tools</name> <name>Add CMFActivity Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMFCategory Tools</name> <name>Add CMFCategory Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add CMFMailIn Tools</name> <name>Add CMFMailIn Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Configured CMF Sites</name> <name>Add Configured CMF Sites</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Content Type Registrys</name> <name>Add Content Type Registrys</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Cookie Crumblers</name> <name>Add Cookie Crumblers</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Database Methods</name> <name>Add Database Methods</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Documents, Images, and Files</name> <name>Add Documents, Images, and Files</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 Filesystem Formulator Forms</name> <name>Add ERP5 Filesystem Formulator Forms</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 Forms</name> <name>Add ERP5 Forms</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 OOo Templates</name> <name>Add ERP5 OOo Templates</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 PDF Forms</name> <name>Add ERP5 PDF Forms</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 PDF Templates</name> <name>Add ERP5 PDF Templates</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 Publications</name> <name>Add ERP5 Publications</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 Reports</name> <name>Add ERP5 Reports</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 Sites</name> <name>Add ERP5 Sites</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 Subscriptions</name> <name>Add ERP5 Subscriptions</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5 Tools</name> <name>Add ERP5 Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5Catalog Tools</name> <name>Add ERP5Catalog Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5Form Tools</name> <name>Add ERP5Form Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5Subversion Tools</name> <name>Add ERP5Subversion Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5SyncML Tools</name> <name>Add ERP5SyncML Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ERP5Type Tools</name> <name>Add ERP5Type Tools</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ExtFiles</name> <name>Add ExtFiles</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ExtImages</name> <name>Add ExtImages</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add External Methods</name> <name>Add External Methods</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Filesystem Directory Views</name> <name>Add Filesystem Directory Views</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Folders</name> <name>Add Folders</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Formulator Forms</name> <name>Add Formulator Forms</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add LocalContents</name> <name>Add LocalContents</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add LocalFolders</name> <name>Add LocalFolders</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Localizers</name> <name>Add Localizers</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add MailHost objects</name> <name>Add MailHost objects</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add MessageCatalogs</name> <name>Add MessageCatalogs</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Page Templates</name> <name>Add Page Templates</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Photo Folders</name> <name>Add Photo Folders</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Photos</name> <name>Add Photos</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Pluggable Index</name> <name>Add Pluggable Index</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Plugin Registrys</name> <name>Add Plugin Registrys</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Python Scripts</name> <name>Add Python Scripts</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add RAM Cache Managers</name> <name>Add RAM Cache Managers</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ReStructuredText Documents</name> <name>Add ReStructuredText Documents</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Session Data Manager</name> <name>Add Session Data Manager</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Site Roots</name> <name>Add Site Roots</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Temporary Folder</name> <name>Add Temporary Folder</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Transient Object Container</name> <name>Add Transient Object Container</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add User Folders</name> <name>Add User Folders</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Versions</name> <name>Add Versions</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Virtual Host Monsters</name> <name>Add Virtual Host Monsters</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Vocabularies</name> <name>Add Vocabularies</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Z Gadfly Database Connections</name> <name>Add Z Gadfly Database Connections</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Z MySQL Database Connections</name> <name>Add Z MySQL Database Connections</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Z MySQL Deferred Database Connections</name> <name>Add Z MySQL Deferred Database Connections</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ZCatalogs</name> <name>Add ZCatalogs</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ZMailIn Clients</name> <name>Add ZMailIn Clients</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ZMailMessages</name> <name>Add ZMailMessages</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add ZODB Mount Points</name> <name>Add ZODB Mount Points</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add Zope Tutorials</name> <name>Add Zope Tutorials</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add portal content</name> <name>Add portal content</name>
<role>Assignor</role>
<role>Author</role>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add portal events</name> <name>Add portal events</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add portal folders</name> <name>Add portal folders</name>
<role>Assignor</role>
<role>Author</role>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add portal member</name> <name>Add portal member</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Add portal topics</name> <name>Add portal topics</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Browser Id Manager</name> <name>Change Browser Id Manager</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change DTML Documents</name> <name>Change DTML Documents</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change DTML Methods</name> <name>Change DTML Methods</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Database Connections</name> <name>Change Database Connections</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Database Methods</name> <name>Change Database Methods</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change ExtFile/ExtImage</name> <name>Change ExtFile/ExtImage</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change External Methods</name> <name>Change External Methods</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Formulator Fields</name> <name>Change Formulator Fields</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Formulator Forms</name> <name>Change Formulator Forms</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Images and Files</name> <name>Change Images and Files</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Lock Information</name> <name>Change Lock Information</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Page Templates</name> <name>Change Page Templates</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Photo</name> <name>Change Photo</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Python Scripts</name> <name>Change Python Scripts</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Session Data Manager</name> <name>Change Session Data Manager</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change Versions</name> <name>Change Versions</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change ZMailIn</name> <name>Change ZMailIn</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change ZMailMessages</name> <name>Change ZMailMessages</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change bindings</name> <name>Change bindings</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change cache managers</name> <name>Change cache managers</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change cache settings</name> <name>Change cache settings</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change configuration</name> <name>Change configuration</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change local roles</name> <name>Change local roles</name>
<role>Assignor</role>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change permissions</name> <name>Change permissions</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change portal events</name> <name>Change portal events</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change portal topics</name> <name>Change portal topics</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Change proxy roles</name> <name>Change proxy roles</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Copy or Move</name> <name>Copy or Move</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Create Transient Objects</name> <name>Create Transient Objects</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Create class instances</name> <name>Create class instances</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Define permissions</name> <name>Define permissions</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Delete objects</name> <name>Delete objects</name>
<role>Assignor</role>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Download ExtFile/ExtImage</name> <name>Download ExtFile/ExtImage</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Edit target</name> <name>Edit target</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>FTP access</name> <name>FTP access</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Import/Export objects</name> <name>Import/Export objects</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Join/leave Versions</name> <name>Join/leave Versions</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>List folder contents</name> <name>List folder contents</name>
</permission> <role>Assignee</role>
<permission type='list'> <role>Assignor</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>List portal members</name> <name>List portal members</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>List undoable changes</name> <name>List undoable changes</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Log Site Errors</name> <name>Log Site Errors</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Log to the Event Log</name> <name>Log to the Event Log</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Mail forgotten password</name> <name>Mail forgotten password</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage Access Rules</name> <name>Manage Access Rules</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage Groups</name> <name>Manage Groups</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage Transient Object Container</name> <name>Manage Transient Object Container</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage Vocabulary</name> <name>Manage Vocabulary</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage WebDAV Locks</name> <name>Manage WebDAV Locks</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage Z Classes</name> <name>Manage Z Classes</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage ZCatalog Entries</name> <name>Manage ZCatalog Entries</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage ZCatalogIndex Entries</name> <name>Manage ZCatalogIndex Entries</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage extensions</name> <name>Manage extensions</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage languages</name> <name>Manage languages</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage messages</name> <name>Manage messages</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage portal</name> <name>Manage portal</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage properties</name> <name>Manage properties</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Manage users</name> <name>Manage users</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Modify Cookie Crumblers</name> <name>Modify Cookie Crumblers</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Modify portal content</name> <name>Modify portal content</name>
<role>Assignor</role>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Open/Close Database Connection</name> <name>Open/Close Database Connection</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Open/Close Database Connections</name> <name>Open/Close Database Connections</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Post mail to ZMailIn</name> <name>Post mail to ZMailIn</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Query Vocabulary</name> <name>Query Vocabulary</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Reply to item</name> <name>Reply to item</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Request review</name> <name>Request review</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Review portal content</name> <name>Review portal content</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Save/discard Version changes</name> <name>Save/discard Version changes</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Search ZCatalog</name> <name>Search ZCatalog</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Search for principals</name> <name>Search for principals</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Set own password</name> <name>Set own password</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Set own properties</name> <name>Set own properties</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Take ownership</name> <name>Take ownership</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Test Database Connections</name> <name>Test Database Connections</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Translate Content</name> <name>Translate Content</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Undo changes</name> <name>Undo changes</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Use Database Methods</name> <name>Use Database Methods</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Use Factories</name> <name>Use Factories</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Use external editor</name> <name>Use external editor</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>Use mailhost services</name> <name>Use mailhost services</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>View</name> <name>View</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='list'>
<name>View History</name> <name>View DOM hierarchy</name>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>View History</name>
<role>Assignee</role>
<role>Assignor</role>
<role>Associate</role>
<role>Auditor</role>
<role>Author</role>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>View ZMailMessage</name> <name>View ZMailMessage</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>View management screens</name> <name>View management screens</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>WebDAV Lock items</name> <name>WebDAV Lock items</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>WebDAV Unlock items</name> <name>WebDAV Unlock items</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>WebDAV access</name> <name>WebDAV access</name>
<role>Manager</role>
</permission> </permission>
</permission_list> </permission_list>
<portal_type>Stop Payment Module</portal_type> <portal_type>Stop Payment Module</portal_type>
......
...@@ -349,6 +349,9 @@ ...@@ -349,6 +349,9 @@
<permission type='list'> <permission type='list'>
<name>Edit Factories</name> <name>Edit Factories</name>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
</permission> </permission>
...@@ -493,6 +496,9 @@ ...@@ -493,6 +496,9 @@
<permission type='list'> <permission type='list'>
<name>View</name> <name>View</name>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='list'> <permission type='list'>
<name>View History</name> <name>View History</name>
</permission> </permission>
......
...@@ -486,6 +486,9 @@ ...@@ -486,6 +486,9 @@
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit ParsedXML</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
...@@ -689,6 +692,9 @@ ...@@ -689,6 +692,9 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View DOM hierarchy</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View History</name> <name>View History</name>
<role>Assignee</role> <role>Assignee</role>
......
...@@ -75,11 +75,38 @@ ...@@ -75,11 +75,38 @@
# 1 - if a end date is not passed yet, we will create the check\n # 1 - if a end date is not passed yet, we will create the check\n
# 2 - if the end date is passed, we raise an error\n # 2 - if the end date is passed, we raise an error\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from DateTime import DateTime\n from DateTime import DateTime\n
\n \n
\n \n
bank_account = context.getDestinationPaymentValue()\n bank_account = context.getDestinationPaymentValue()\n
reference_list = [reference]\n if reference is not None:\n
reference_list = [reference]\n
\n
elif reference_range_min is not None or reference_range_max is not None:\n
reference_list = []\n
\n
if reference_range_max is None:\n
reference_range_max = reference_range_min\n
\n
elif reference_range_min is None:\n
reference_range_min = reference_range_max\n
\n
try:\n
reference_range_min = int(reference_range_min)\n
reference_range_max = int(reference_range_max)\n
except ValueError:\n
msg = Message(domain=\'ui\', message=\'Sorry, make sure you have entered the right check number.\')\n
raise ValidationFailed, (msg,)\n
\n
if reference_range_min>reference_range_max :\n
msg = Message(domain=\'ui\', message=\'Sorry, the min number must be less than the max number.\')\n
raise ValidationFailed, (msg,)\n
\n
for ref in range(reference_range_min,reference_range_max+1):\n
# We will look for each reference and add the right number\n
reference_list.append(ref)\n
\n
check_list = []\n check_list = []\n
for check_reference in reference_list:\n for check_reference in reference_list:\n
message_tag = \'check_%s\' % (check_reference, )\n message_tag = \'check_%s\' % (check_reference, )\n
...@@ -125,7 +152,7 @@ for check_reference in reference_list:\n ...@@ -125,7 +152,7 @@ for check_reference in reference_list:\n
check_list.append(check)\n check_list.append(check)\n
\n \n
if reference is not None:\n if reference is not None:\n
return check\n return check_list[0]\n
return check_list\n return check_list\n
...@@ -188,22 +215,27 @@ return check_list\n ...@@ -188,22 +215,27 @@ return check_list\n
<string>reference_range_max</string> <string>reference_range_max</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>Message</string> <string>Message</string>
<string>Products.DCWorkflow.DCWorkflow</string>
<string>ValidationFailed</string>
<string>DateTime</string> <string>DateTime</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>bank_account</string> <string>bank_account</string>
<string>None</string>
<string>reference_list</string> <string>reference_list</string>
<string>check_list</string> <string>int</string>
<string>ValueError</string>
<string>msg</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>range</string>
<string>ref</string>
<string>check_list</string>
<string>check_reference</string> <string>check_reference</string>
<string>message_tag</string> <string>message_tag</string>
<string>msg</string>
<string>ValidationFailed</string>
<string>result</string> <string>result</string>
<string>len</string> <string>len</string>
<string>end_date</string> <string>end_date</string>
<string>now</string> <string>now</string>
<string>None</string>
<string>checkbook</string> <string>checkbook</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>generic_model</string> <string>generic_model</string>
......
...@@ -397,9 +397,7 @@ ...@@ -397,9 +397,7 @@
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <value> <string></string> </value>
<list/>
</value>
</item> </item>
<item> <item>
<key> <string>default_module</string> </key> <key> <string>default_module</string> </key>
......
...@@ -337,9 +337,7 @@ ...@@ -337,9 +337,7 @@
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <value> <string></string> </value>
<list/>
</value>
</item> </item>
<item> <item>
<key> <string>default_module</string> </key> <key> <string>default_module</string> </key>
......
...@@ -397,9 +397,7 @@ ...@@ -397,9 +397,7 @@
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <value> <string></string> </value>
<list/>
</value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -78,24 +78,29 @@ class Dummy:\n ...@@ -78,24 +78,29 @@ class Dummy:\n
\n \n
dummy = Dummy()\n dummy = Dummy()\n
node = kw.get(\'node\',dummy)\n node = kw.get(\'node\',dummy)\n
vault = kw.get(\'vault\',dummy)\n
\n \n
if item_portal_type_list is None:\n if item_portal_type_list is None:\n
item_portal_type_list = ["Checkbook","Check"]\n item_portal_type_list = ["Checkbook","Check"]\n
\n \n
if listbox is None:\n if listbox is None:\n
\n \n
if vault is not dummy:\n
node = vault\n
if node is dummy:\n if node is dummy:\n
node = None\n node = None\n
else:\n if node is None:\n
node = context.getBaobabSource()\n node = context.getBaobabSource()\n
\n \n
reference_date = DateTime()\n reference_date = DateTime()\n
item_list = []\n item_list = []\n
listbox = []\n listbox = []\n
getCurrentTrackingList = context.portal_simulation.getCurrentTrackingList\n getCurrentTrackingList = context.portal_simulation.getCurrentTrackingList\n
context.log(\'current_tracking_list src\',getCurrentTrackingList(at_date=reference_date, node=node,src__=1))\n #context.log(\'current_tracking_list src\',getCurrentTrackingList(at_date=reference_date, node=node,src__=1,where_expression="item_catalog.portal_type=\'Check\' or item_catalog.portal_type=\'Checkbook\'"))\n
#return [x.path for x in getCurrentTrackingList(at_date=reference_date, node=node)]\n
current_tracking_list = [x.getObject() for x in getCurrentTrackingList(\n current_tracking_list = [x.getObject() for x in getCurrentTrackingList(\n
at_date=reference_date, node=node)]\n at_date=reference_date, node=node,\n
where_expression="item_catalog.portal_type=\'Check\' or item_catalog.portal_type=\'Checkbook\'")]\n
for item in current_tracking_list:\n for item in current_tracking_list:\n
exclude=0\n exclude=0\n
if model_filter_dict is not None:\n if model_filter_dict is not None:\n
...@@ -198,6 +203,7 @@ return context.asContext(context=None\n ...@@ -198,6 +203,7 @@ return context.asContext(context=None\n
<string>dummy</string> <string>dummy</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>node</string> <string>node</string>
<string>vault</string>
<string>None</string> <string>None</string>
<string>context</string> <string>context</string>
<string>reference_date</string> <string>reference_date</string>
......
...@@ -67,8 +67,7 @@ ...@@ -67,8 +67,7 @@
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<list> <list>
<string>bottom</string> <string>left</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -77,19 +76,13 @@ ...@@ -77,19 +76,13 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>bottom</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>listbox</string> <string>my_vault</string>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list/>
</value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -119,7 +112,7 @@ ...@@ -119,7 +112,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Report</string> </value> <value> <string>Item Report</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode_mode</string> </key> <key> <string>unicode_mode</string> </key>
......
...@@ -238,16 +238,7 @@ ...@@ -238,16 +238,7 @@
<item> <item>
<key> <string>items</string> </key> <key> <string>items</string> </key>
<value> <value>
<list> <list/>
<tuple>
<string>a</string>
<string>a</string>
</tuple>
<tuple>
<string>z</string>
<string>z</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -256,7 +247,7 @@ ...@@ -256,7 +247,7 @@
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>size</string> </key>
<value> <int>1</int> </value> <value> <int>5</int> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -112,6 +112,8 @@ ...@@ -112,6 +112,8 @@
<list> <list>
<string>my_destination_payment_reference</string> <string>my_destination_payment_reference</string>
<string>my_destination_payment_title</string> <string>my_destination_payment_title</string>
<string>my_reference_range_min</string>
<string>my_reference_range_max</string>
<string>my_description</string> <string>my_description</string>
</list> </list>
</value> </value>
......
...@@ -322,20 +322,12 @@ ...@@ -322,20 +322,12 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>resource_title</string> <string>getResourceTitle</string>
<string>Resource</string> <string>Resource</string>
</tuple> </tuple>
<tuple>
<string>check_amount_title</string>
<string>Variation</string>
</tuple>
<tuple> <tuple>
<string>reference_range_min</string> <string>reference_range_min</string>
<string>Start Number</string> <string>Number</string>
</tuple>
<tuple>
<string>reference_range_max</string>
<string>Stop Number</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -492,7 +484,7 @@ ...@@ -492,7 +484,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Checkbooks</string> </value> <value> <string>Checks</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
...@@ -520,7 +512,7 @@ ...@@ -520,7 +512,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>method_name</string> </key> <key> <string>method_name</string> </key>
<value> <string>objectValues</string> </value> <value> <string>Delivery_getMovementList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -96,7 +96,9 @@ ...@@ -96,7 +96,9 @@
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
...@@ -171,4 +173,23 @@ ...@@ -171,4 +173,23 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getSimulationState() in (\'draft\',\'confirmed\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>StringField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_reference_range_max</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>too_long</string> </key>
<value> <string>Too much input was given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Check Number Max</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getSimulationState() == \'draft\'</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>StringField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_reference_range_min</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
<item>
<key> <string>too_long</string> </key>
<value> <string>Too much input was given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_length</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Check Number Min</string> </value>
</item>
<item>
<key> <string>truncate</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>unicode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getSimulationState() == \'draft\'</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -142,7 +142,9 @@ ...@@ -142,7 +142,9 @@
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
<value> <string></string> </value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
...@@ -163,7 +165,7 @@ ...@@ -163,7 +165,7 @@
<item> <item>
<key> <string>input_style</string> </key> <key> <string>input_style</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -260,6 +262,25 @@ ...@@ -260,6 +262,25 @@
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.getSimulationState()==\'draft\'</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
......
...@@ -515,7 +515,7 @@ ...@@ -515,7 +515,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>method_name</string> </key> <key> <string>method_name</string> </key>
<value> <string>objectValues</string> </value> <value> <string>Delivery_getMovementList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
<string>my_source_reference</string> <string>my_source_reference</string>
<string>my_source_logical_path</string> <string>my_source_logical_path</string>
<string>my_start_date</string> <string>my_start_date</string>
<string>my_source_total_asset_price</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -515,7 +515,7 @@ ...@@ -515,7 +515,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>method_name</string> </key> <key> <string>method_name</string> </key>
<value> <string>objectValues</string> </value> <value> <string>Delivery_getMovementList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>FloatField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>my_source_total_asset_price</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
<item>
<key> <string>not_float</string> </key>
<value> <string>You did not enter a floating point number.</string> </value>
</item>
<item>
<key> <string>required_not_found</string> </key>
<value> <string>Input is required but no input given.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>css_class</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_maxwidth</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>display_width</string> </key>
<value> <int>20</int> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>extra</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>input_style</string> </key>
<value> <string>-1 234.5</string> </value>
</item>
<item>
<key> <string>precision</string> </key>
<value> <int>2</int> </value>
</item>
<item>
<key> <string>required</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Total Amount</string> </value>
</item>
<item>
<key> <string>whitespace_preserve</string> </key>
<value> <int>0</int> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -86,6 +86,12 @@ if not account.isOverdraftFacility():\n ...@@ -86,6 +86,12 @@ if not account.isOverdraftFacility():\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -163,4 +169,25 @@ if not account.isOverdraftFacility():\n ...@@ -163,4 +169,25 @@ if not account.isOverdraftFacility():\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -75,42 +75,9 @@ from Products.ERP5Type.Message import Message\n ...@@ -75,42 +75,9 @@ from Products.ERP5Type.Message import Message\n
transaction = state_change[\'object\']\n transaction = state_change[\'object\']\n
bank_account = transaction.getDestinationPaymentValue()\n bank_account = transaction.getDestinationPaymentValue()\n
check_number = transaction.getAggregateFreeText()\n check_number = transaction.getAggregateFreeText()\n
message_tag = \'check_%s\' % (check_number, )\n
\n \n
# XXX: no need to handle this cleanly for now, so just raise an error.\n
if context.portal_activities.countMessageWithTag(message_tag) != 0:\n
msg = Message(domain=\'ui\', message="This check number is already being indexed.")\n
raise ValidationFailed, (msg,)\n
\n \n
result = context.portal_catalog(portal_type = \'Check\', reference = check_number)\n check = transaction.Base_checkOrCreateCheck(reference=check_number)\n
if len(result) == 0:\n
# This happens only if automatic creation is allowed. So create a new check at this point.\n
\n
# Get a checkbook for this bank account.\n
checkbook = None\n
generic_model = context.portal_catalog(portal_type = \'Checkbook Model\', title = \'Generic\')[0].getObject()\n
# XXX it would be better to use a related key for this, but z_related_resource is too specific to\n
# movement at the moment.\n
for brain in context.portal_catalog(portal_type = \'Checkbook\',\n
destination_payment_uid = bank_account.getUid()):\n
obj = brain.getObject()\n
if obj.getResourceUid() == generic_model.getUid():\n
checkbook = obj\n
break\n
if checkbook is None:\n
# Create a checkbook.\n
# To prevent duplicated checkbooks for a single bank account, index this new checkbook immediately.\n
# This has a performance penalty, but this part of the script will rarely be called (once per bank account).\n
checkbook = context.checkbook_module.newContent(portal_type = \'Checkbook\',\n
resource_value = generic_model,\n
destination_payment_value = bank_account,\n
immediate_reindex = 1)\n
# Create a check.\n
check = checkbook.newContent(portal_type = \'Check\', reference = check_number, activate_kw={\'tag\': message_tag})\n
# Automatically issue this check.\n
check.confirm()\n
else:\n
check = result[0].getObject()\n
\n \n
line = transaction.get(\'movement\')\n line = transaction.get(\'movement\')\n
if line is not None and line.getPortalType() == \'Banking Operation Line\':\n if line is not None and line.getPortalType() == \'Banking Operation Line\':\n
...@@ -188,20 +155,9 @@ transaction.edit(aggregate = check.getRelativeUrl())\n ...@@ -188,20 +155,9 @@ transaction.edit(aggregate = check.getRelativeUrl())\n
<string>_getattr_</string> <string>_getattr_</string>
<string>bank_account</string> <string>bank_account</string>
<string>check_number</string> <string>check_number</string>
<string>message_tag</string>
<string>context</string>
<string>msg</string>
<string>ValidationFailed</string>
<string>result</string>
<string>len</string>
<string>None</string>
<string>checkbook</string>
<string>generic_model</string>
<string>_getiter_</string>
<string>brain</string>
<string>obj</string>
<string>check</string> <string>check</string>
<string>line</string> <string>line</string>
<string>None</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -82,6 +82,12 @@ check.deliver()\n ...@@ -82,6 +82,12 @@ check.deliver()\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_dav_writelocks</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <value>
...@@ -162,4 +168,25 @@ check.deliver()\n ...@@ -162,4 +168,25 @@ check.deliver()\n
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</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>transaction = state_change.object\n
\n
# Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\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>state_change, **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>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>state_change</string>
<string>kw</string>
<string>_getattr_</string>
<string>transaction</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>validateSourceAndDestination</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</item> </item>
<item> <item>
<key> <string>script_name</string> </key> <key> <string>script_name</string> </key>
<value> <string></string> </value> <value> <string>validateSourceAndDestination</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -71,6 +71,11 @@ ...@@ -71,6 +71,11 @@
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
transaction = state_change.object\n
\n
# Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\n
\n
\n \n
delivery = state_change.object\n delivery = state_change.object\n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
...@@ -189,6 +194,7 @@ for line in line_list:\n ...@@ -189,6 +194,7 @@ for line in line_list:\n
<string>Products.DCWorkflow.DCWorkflow</string> <string>Products.DCWorkflow.DCWorkflow</string>
<string>ValidationFailed</string> <string>ValidationFailed</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>transaction</string>
<string>delivery</string> <string>delivery</string>
<string>context</string> <string>context</string>
<string>portal</string> <string>portal</string>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</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>transaction = state_change.object\n
\n
# Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\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>state_change, **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>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>state_change</string>
<string>kw</string>
<string>_getattr_</string>
<string>transaction</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>validateSourceAndDestination</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
</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>transaction = state_change.object\n
\n
# Check getBaobabSource and getBaobabDestination\n
transaction.Base_checkBaobabSourceAndDestination()\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>state_change, **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>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>state_change</string>
<string>kw</string>
<string>_getattr_</string>
<string>transaction</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>validateSourceAndDestination</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</item> </item>
<item> <item>
<key> <string>script_name</string> </key> <key> <string>script_name</string> </key>
<value> <string></string> </value> <value> <string>validateSourceAndDestination</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -70,12 +70,21 @@ ...@@ -70,12 +70,21 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># We will make sure that the check will not be usable\n <value> <string># We will make sure that the check will not be usable\n
transaction = state_change[\'object\']\n transaction = state_change[\'object\']\n
from Products.ERP5Type.Message import Message\n
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
\n \n
line_list = transaction.getMovementList()\n
portal_workflow = transaction.portal_workflow\n portal_workflow = transaction.portal_workflow\n
\n \n
aggregate_list = []\n
line_list = transaction.getMovementList()\n
for line in line_list:\n for line in line_list:\n
aggregate_list = line.getAggregateValueList()\n aggregate_list.extend(line.getAggregateValueList())\n
ref_min = transaction.getReferenceRangeMin()\n
ref_max = transaction.getReferenceRangeMin()\n
if ref_min is not None or ref_max is not None:\n
if len(aggregate_list)==0:\n
msg = Message(domain=\'ui\', message=\'Sorry, no check was found, but there is a reference.\')\n
raise ValidationFailed, (msg,)\n
for aggregate in aggregate_list:\n for aggregate in aggregate_list:\n
if aggregate.getPortalType()==\'Check\':\n if aggregate.getPortalType()==\'Check\':\n
aggregate.setStopDate(transaction.getStartDate())\n aggregate.setStopDate(transaction.getStartDate())\n
...@@ -132,12 +141,21 @@ for line in line_list:\n ...@@ -132,12 +141,21 @@ for line in line_list:\n
<string>kw</string> <string>kw</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>transaction</string> <string>transaction</string>
<string>Products.ERP5Type.Message</string>
<string>Message</string>
<string>Products.DCWorkflow.DCWorkflow</string>
<string>ValidationFailed</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>line_list</string>
<string>portal_workflow</string> <string>portal_workflow</string>
<string>aggregate_list</string>
<string>line_list</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>line</string> <string>line</string>
<string>aggregate_list</string> <string>ref_min</string>
<string>ref_max</string>
<string>None</string>
<string>len</string>
<string>msg</string>
<string>aggregate</string> <string>aggregate</string>
</tuple> </tuple>
</value> </value>
......
...@@ -68,7 +68,9 @@ ...@@ -68,7 +68,9 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.DCWorkflow.DCWorkflow import ValidationFailed\n <value> <string encoding="cdata"><![CDATA[
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n from Products.ERP5Type.Message import Message\n
\n \n
transaction = state_change[\'object\']\n transaction = state_change[\'object\']\n
...@@ -84,6 +86,41 @@ if not transaction.Baobab_checkCounterDateOpen(site=source, date=date):\n ...@@ -84,6 +86,41 @@ if not transaction.Baobab_checkCounterDateOpen(site=source, date=date):\n
msg = Message(domain = "ui", message="Counter Date is not opened")\n msg = Message(domain = "ui", message="Counter Date is not opened")\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
\n \n
ref_min = transaction.getReferenceRangeMin()\n
ref_max = transaction.getReferenceRangeMax()\n
\n
# We will first retrieve all checks\n
check_list = []\n
if ref_min is not None or ref_max is not None:\n
check_list = transaction.Base_checkOrCreateCheck(\n
reference_range_min = ref_min,\n
reference_range_max = ref_max)\n
if len(check_list)>0:\n
# First make sure there is no delivery line\n
line_list = transaction.objectValues(portal_type=\'Cash Delivery Line\')\n
if len(line_list)>0:\n
id_list = [x.getId() for x in line_list]\n
transaction.manage_delObjects(ids=id_list)\n
\n
# Then we will construct a new line for each check\n
for item in check_list:\n
delivery_line = transaction.newContent(portal_type=\'Checkbook Delivery Line\')\n
item_dict = {}\n
reference_range_min = None\n
reference_range_max = None\n
if item.getPortalType()==\'Check\':\n
reference_range_min = reference_range_max = item.getReference()\n
item_dict[\'reference_range_min\'] = reference_range_min\n
item_dict[\'reference_range_max\'] = reference_range_max\n
item_dict[\'destination_trade\'] = item.getDestinationTrade()\n
item_dict["resource_value"] = item.getResourceValue()\n
item_dict["check_amount"] = item.getCheckAmount()\n
item_dict["check_type"] = item.getCheckType()\n
item_dict["price_currency"] = item.getPriceCurrency()\n
item_dict["aggregate_value"] = item\n
item_dict["quantity"] = 1\n
delivery_line.edit(**item_dict)\n
\n
# First we have to look if we have some checks with some prices,\n # First we have to look if we have some checks with some prices,\n
# if so, this means that we are saling such kinds of check, thus\n # if so, this means that we are saling such kinds of check, thus\n
# we must change the position of the customer account\n # we must change the position of the customer account\n
...@@ -140,7 +177,9 @@ if debit_required:\n ...@@ -140,7 +177,9 @@ if debit_required:\n
elif error[\'error_code\'] != 0:\n elif error[\'error_code\'] != 0:\n
msg = Message(domain=\'ui\', message="Unknown error code.")\n msg = Message(domain=\'ui\', message="Unknown error code.")\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
</string> </value>
]]></string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
...@@ -164,6 +203,12 @@ if debit_required:\n ...@@ -164,6 +203,12 @@ if debit_required:\n
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>state_change, **kw</string> </value> <value> <string>state_change, **kw</string> </value>
</item> </item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
...@@ -201,12 +246,27 @@ if debit_required:\n ...@@ -201,12 +246,27 @@ if debit_required:\n
<string>None</string> <string>None</string>
<string>source</string> <string>source</string>
<string>msg</string> <string>msg</string>
<string>ref_min</string>
<string>ref_max</string>
<string>check_list</string>
<string>len</string>
<string>line_list</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
<string>x</string>
<string>id_list</string>
<string>item</string>
<string>delivery_line</string>
<string>item_dict</string>
<string>reference_range_min</string>
<string>reference_range_max</string>
<string>_write_</string>
<string>_apply_</string>
<string>movement_list</string> <string>movement_list</string>
<string>total_debit</string> <string>total_debit</string>
<string>_getiter_</string>
<string>movement</string> <string>movement</string>
<string>aggregate_value_list</string> <string>aggregate_value_list</string>
<string>item</string>
<string>debit_required</string> <string>debit_required</string>
<string>line</string> <string>line</string>
<string>bank_account</string> <string>bank_account</string>
......
...@@ -26,6 +26,12 @@ ...@@ -26,6 +26,12 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>confirmed</string> </value> <value> <string>confirmed</string> </value>
</item> </item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Stop Payment Requested</string> </value> <value> <string>Stop Payment Requested</string> </value>
...@@ -50,4 +56,55 @@ ...@@ -50,4 +56,55 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -71,7 +71,8 @@ ...@@ -71,7 +71,8 @@
<key> <string>Access contents information</string> </key> <key> <string>Access contents information</string> </key>
<value> <value>
<tuple> <tuple>
<string>Auditor</string> <string>Assignee</string>
<string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string> <string>Owner</string>
</tuple> </tuple>
...@@ -89,7 +90,8 @@ ...@@ -89,7 +90,8 @@
<key> <string>View</string> </key> <key> <string>View</string> </key>
<value> <value>
<tuple> <tuple>
<string>Auditor</string> <string>Assignee</string>
<string>Assignor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string> <string>Owner</string>
</tuple> </tuple>
......
...@@ -26,6 +26,12 @@ ...@@ -26,6 +26,12 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>started</string> </value> <value> <string>started</string> </value>
</item> </item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Payment Stopped</string> </value> <value> <string>Payment Stopped</string> </value>
...@@ -49,4 +55,55 @@ ...@@ -49,4 +55,55 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -26,6 +26,12 @@ ...@@ -26,6 +26,12 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>stopped</string> </value> <value> <string>stopped</string> </value>
</item> </item>
<item>
<key> <string>permission_roles</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Lift Requested</string> </value> <value> <string>Lift Requested</string> </value>
...@@ -49,4 +55,55 @@ ...@@ -49,4 +55,55 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<value>
<dictionary>
<item>
<key> <string>Access contents information</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>View</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Annuler</string> </value> <value> <string>Cancel</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</item> </item>
<item> <item>
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <string>updateCheck</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</item> </item>
<item> <item>
<key> <string>script_name</string> </key> <key> <string>script_name</string> </key>
<value> <string></string> </value> <value> <string>updateCheck</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=stop_action</string> </value> <value> <string>%(content_url)s/BaseWorkflow_viewWorkflowActionDialog?workflow_action=start_action</string> </value>
</item> </item>
<item> <item>
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
......
26 32
\ No newline at end of file \ 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