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

a few bug fixes in the user interface of traveler check sale/purchase

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11208 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a00b37e6
<module> <module>
<id>traveler_check_purchase_module</id> <id>traveler_check_purchase_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='tuple'>
<name>Edit ParsedXML</name> <name>Edit ParsedXML</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <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 Selenium test cases</name> <name>Manage Selenium test cases</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>
</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>View DOM hierarchy</name> <name>View DOM hierarchy</name>
<role>Manager</role>
</permission> </permission>
<permission type='list'> <permission type='tuple'>
<name>View History</name> <name>View History</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>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>Traveler Check Purchase Module</portal_type> <portal_type>Traveler Check Purchase Module</portal_type>
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
<key> <string>center</string> </key> <key> <string>center</string> </key>
<value> <value>
<list> <list>
<string>my_simulation_state</string> <string>my_translated_simulation_state</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_simulation_state</string> </value> <value> <string>my_translated_simulation_state</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
...@@ -69,8 +69,7 @@ ...@@ -69,8 +69,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>filter_dict = {}\n <value> <string>filter_dict = {}\n
filter_dict[\'account_number_enabled\']=0\n filter_dict[\'fixed_price\']=1\n
filter_dict[\'quantity_required\']=0\n
return context.Delivery_viewCheckbookInputDialog(item_portal_type_list=(\'Check\',),model_filter_dict=filter_dict,**kw)\n return context.Delivery_viewCheckbookInputDialog(item_portal_type_list=(\'Check\',),model_filter_dict=filter_dict,**kw)\n
</string> </value> </string> </value>
</item> </item>
......
...@@ -95,9 +95,12 @@ if listbox is None:\n ...@@ -95,9 +95,12 @@ if listbox is None:\n
reference_date = DateTime()\n reference_date = DateTime()\n
item_list = []\n item_list = []\n
listbox = []\n listbox = []\n
if node is not None or disable_node:\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,where_expression="item_catalog.portal_type=\'Check\' or item_catalog.portal_type=\'Checkbook\'"))\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 #return [x.path for x in getCurrentTrackingList(at_date=reference_date, node=node)]\n
if disable_node:\n
node=None\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 where_expression="item_catalog.portal_type=\'Check\' or item_catalog.portal_type=\'Checkbook\'")]\n
...@@ -116,6 +119,9 @@ if listbox is None:\n ...@@ -116,6 +119,9 @@ if listbox is None:\n
if item_portal_type in item_portal_type_list:\n if item_portal_type in item_portal_type_list:\n
if item_portal_type==\'Check\' and item.getSimulationState() not in (\'draft\',\'confirmed\'):\n if item_portal_type==\'Check\' and item.getSimulationState() not in (\'draft\',\'confirmed\'):\n
continue\n continue\n
if simulation_state is not None:\n
if item.getSimulationState()!=simulation_state:\n
continue\n
item_dict = {}\n item_dict = {}\n
if item_portal_type==\'Check\':\n if item_portal_type==\'Check\':\n
item_dict[\'reference_range_max\'] = item.getReference()\n item_dict[\'reference_range_max\'] = item.getReference()\n
...@@ -166,7 +172,7 @@ return context.asContext(context=None\n ...@@ -166,7 +172,7 @@ return context.asContext(context=None\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>listbox=None, item_portal_type_list=None,destination_payment=None,model_filter_dict=None,batch_mode=0,**kw</string> </value> <value> <string>listbox=None, item_portal_type_list=None,destination_payment=None,model_filter_dict=None,batch_mode=0,simulation_state=None,disable_node=0,**kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -186,7 +192,7 @@ return context.asContext(context=None\n ...@@ -186,7 +192,7 @@ return context.asContext(context=None\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>5</int> </value> <value> <int>7</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
...@@ -197,6 +203,8 @@ return context.asContext(context=None\n ...@@ -197,6 +203,8 @@ return context.asContext(context=None\n
<string>destination_payment</string> <string>destination_payment</string>
<string>model_filter_dict</string> <string>model_filter_dict</string>
<string>batch_mode</string> <string>batch_mode</string>
<string>simulation_state</string>
<string>disable_node</string>
<string>kw</string> <string>kw</string>
<string>DateTime</string> <string>DateTime</string>
<string>Dummy</string> <string>Dummy</string>
...@@ -240,6 +248,8 @@ return context.asContext(context=None\n ...@@ -240,6 +248,8 @@ return context.asContext(context=None\n
<none/> <none/>
<none/> <none/>
<int>0</int> <int>0</int>
<none/>
<int>0</int>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -68,8 +68,10 @@ ...@@ -68,8 +68,10 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>account = context.getDestinationPayment()\n <value> <string>filter_dict = {}\n
return context.Delivery_viewCheckbookInputDialog(destination_payment=account,**kw)\n filter_dict[\'fixed_price\']=1\n
kw[\'disable_node\'] = 1\n
return context.Delivery_viewCheckbookInputDialog(model_filter_dict=filter_dict,simulation_state=\'confirmed\',**kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -125,10 +127,11 @@ return context.Delivery_viewCheckbookInputDialog(destination_payment=account,**k ...@@ -125,10 +127,11 @@ return context.Delivery_viewCheckbookInputDialog(destination_payment=account,**k
<value> <value>
<tuple> <tuple>
<string>kw</string> <string>kw</string>
<string>filter_dict</string>
<string>_write_</string>
<string>_apply_</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>account</string>
<string>_apply_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -68,8 +68,9 @@ ...@@ -68,8 +68,9 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>account = context.getDestinationPayment()\n <value> <string>filter_dict = {}\n
return context.Delivery_viewCheckbookInputDialog(**kw)\n filter_dict[\'fixed_price\']=1\n
return context.Delivery_viewCheckbookInputDialog(model_filter_dict=filter_dict,**kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -125,10 +126,11 @@ return context.Delivery_viewCheckbookInputDialog(**kw)\n ...@@ -125,10 +126,11 @@ return context.Delivery_viewCheckbookInputDialog(**kw)\n
<value> <value>
<tuple> <tuple>
<string>kw</string> <string>kw</string>
<string>filter_dict</string>
<string>_write_</string>
<string>_apply_</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>account</string>
<string>_apply_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -127,9 +127,10 @@ for line in line_list:\n ...@@ -127,9 +127,10 @@ for line in line_list:\n
item.setDestinationPayment(line.getDestinationPayment())\n item.setDestinationPayment(line.getDestinationPayment())\n
item.setDestinationTrade(line.getDestinationTrade())\n item.setDestinationTrade(line.getDestinationTrade())\n
item.setResourceValue(resource)\n item.setResourceValue(resource)\n
if item.getPortalType()==\'Check\':\n # I (seb) think this is a big mistake\n
portal.portal_workflow.doActionFor(item,\'confirm_action\',\n #if item.getPortalType()==\'Check\':\n
wf_id=\'check_workflow\')\n # portal.portal_workflow.doActionFor(item,\'confirm_action\',\n
# wf_id=\'check_workflow\')\n
aggregate_list.append(item)\n aggregate_list.append(item)\n
\n \n
# Finally set the aggregate list on the line\n # Finally set the aggregate list on the line\n
......
...@@ -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>validateCheckbookVaultTransferConsistency</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -102,6 +102,9 @@ for movement in movement_list:\n ...@@ -102,6 +102,9 @@ for movement in movement_list:\n
aggregate_value_list = movement.getAggregateValueList()\n aggregate_value_list = movement.getAggregateValueList()\n
for item in aggregate_value_list:\n for item in aggregate_value_list:\n
if item.getPortalType()==\'Check\':\n if item.getPortalType()==\'Check\':\n
if item.getSimulationState()!=\'confirmed\':\n
msg = Message(domain = "ui", message="Sorry, one traveler check was not sale yet")\n
raise ValidationFailed, (msg,)\n
if item.getPrice() is not None:\n if item.getPrice() is not None:\n
# then we must calculate the exchange value at the\n # then we must calculate the exchange value at the\n
# time where the item was first delivered\n # time where the item was first delivered\n
......
...@@ -119,6 +119,11 @@ if total_debit>0:\n ...@@ -119,6 +119,11 @@ if total_debit>0:\n
\n \n
line = transaction.movement\n line = transaction.movement\n
bank_account = transaction.getDestinationPaymentValue()\n bank_account = transaction.getDestinationPaymentValue()\n
\n
if bank_account is None:\n
msg = Message(domain=\'ui\', message="Sorry, no account defined.")\n
raise ValidationFailed, (msg,)\n
\n
price = total_debit\n price = total_debit\n
\n \n
# this prevents multiple transactions from being committed at the same time for this bank account.\n # this prevents multiple transactions from being committed at the same time for this bank account.\n
......
46 48
\ 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