diff --git a/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Exchange%20Cell/view.xml b/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Exchange%20Cell/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..c9668712494ea66aee0509884addec0eba425358 --- /dev/null +++ b/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Exchange%20Cell/view.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/CurrencyExchangeCell_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Exchange%20Line/view.xml b/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Exchange%20Line/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..6ac5242efd04fcf3fb87049df4a3e9ca04a56f96 --- /dev/null +++ b/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Exchange%20Line/view.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/CurrencyExchangeLine_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Module/view.xml b/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Module/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..42c66e418fbe3688b503040eab9d2203fd25dfc0 --- /dev/null +++ b/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency%20Module/view.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/CurrencyModule_viewCurrencyList</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency/view.xml b/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..93dfb79d1e02db6dcb36bbecffe620b8e1bfddb5 --- /dev/null +++ b/bt5/erp5_banking_core/ActionTemplateItem/portal_types/Currency/view.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Currency_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/ModuleTemplateItem/currency_module.xml b/bt5/erp5_banking_core/ModuleTemplateItem/currency_module.xml new file mode 100644 index 0000000000000000000000000000000000000000..52d6a8265aabc64fc3e593fa0ba9ffb72afb2f72 --- /dev/null +++ b/bt5/erp5_banking_core/ModuleTemplateItem/currency_module.xml @@ -0,0 +1,719 @@ +<module> + <id>currency_module</id> + <permission_list> + <permission type='tuple'> + <name>Access Transient Objects</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + <role>Member</role> + </permission> + <permission type='tuple'> + <name>Access arbitrary user session data</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Access contents information</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + <role>Member</role> + </permission> + <permission type='tuple'> + <name>Access future portal content</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Access inactive portal content</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Access session data</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + <role>Member</role> + </permission> + <permission type='tuple'> + <name>Add Accelerated HTTP Cache Managers</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add BTreeFolder2s</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Browser Id Manager</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Action Icons Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Active Processs</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Caching Policy Managers</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Calendar Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Core Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Default Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Report Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Setup Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Sites</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMF Unique Id Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMFActivity Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMFCategory Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add CMFMailIn Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Configured CMF Sites</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Content Type Registrys</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Cookie Crumblers</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Database Methods</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Documents, Images, and Files</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 Filesystem Formulator Forms</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 Forms</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 OOo Templates</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 PDF Forms</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 PDF Templates</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 Publications</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 Reports</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 Sites</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 Subscriptions</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5 Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5Catalog Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5Form Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5Subversion Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5SyncML Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ERP5Type Tools</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ExtFiles</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ExtImages</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add External Methods</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Filesystem Directory Views</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Folders</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Formulator Forms</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add LocalContents</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add LocalFolders</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Localizers</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add MailHost objects</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add MessageCatalogs</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Page Templates</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Photo Folders</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Photos</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Pluggable Index</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Plugin Registrys</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Python Scripts</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add RAM Cache Managers</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ReStructuredText Documents</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Session Data Manager</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Site Roots</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Temporary Folder</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Transient Object Container</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add User Folders</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Virtual Host Monsters</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Vocabularies</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Z Gadfly Database Connections</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Z MySQL Database Connections</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Z MySQL Deferred Database Connections</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ZCatalogs</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add ZODB Mount Points</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add Zope Tutorials</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add portal content</name> + <role>Assignor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add portal events</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add portal folders</name> + <role>Assignor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add portal member</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Add portal topics</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Browser Id Manager</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change DTML Documents</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change DTML Methods</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Database Connections</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Database Methods</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change ExtFile/ExtImage</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change External Methods</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Formulator Fields</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Formulator Forms</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Images and Files</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Lock Information</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Page Templates</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Photo</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Python Scripts</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Session Data Manager</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change Versions</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change bindings</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change cache managers</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change cache settings</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change configuration</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change local roles</name> + <role>Assignor</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change permissions</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change portal events</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change portal topics</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Change proxy roles</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Copy or Move</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Create Transient Objects</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Create class instances</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Define permissions</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Delete objects</name> + <role>Assignor</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Download ExtFile/ExtImage</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Edit Factories</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Edit ParsedXML</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Edit ReStructuredText</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Edit target</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>FTP access</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Import/Export objects</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Join/leave Versions</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>List folder contents</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + <role>Member</role> + </permission> + <permission type='tuple'> + <name>List portal members</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>List undoable changes</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Log Site Errors</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Log to the Event Log</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Mail forgotten password</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage Access Rules</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage Groups</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage Selenium test cases</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage Transient Object Container</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage Vocabulary</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage WebDAV Locks</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage Z Classes</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage ZCatalog Entries</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage ZCatalogIndex Entries</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage extensions</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage languages</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage messages</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage portal</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage properties</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage users</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Modify Cookie Crumblers</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Modify portal content</name> + <role>Assignor</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Open/Close Database Connection</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Open/Close Database Connections</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Query Vocabulary</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Reply to item</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Request review</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Review portal content</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Save/discard Version changes</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Search ZCatalog</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Search for principals</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Set own password</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Set own properties</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Take ownership</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Test Database Connections</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Translate Content</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Undo changes</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Use Database Methods</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Use Factories</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Use external editor</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Use mailhost services</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>View</name> + <role>Assignee</role> + <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> + <role>Author</role> + <role>Manager</role> + <role>Member</role> + </permission> + <permission type='tuple'> + <name>View DOM hierarchy</name> + <role>Manager</role> + </permission> + <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> + <role>Member</role> + </permission> + <permission type='tuple'> + <name>View management screens</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>WebDAV Lock items</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>WebDAV Unlock items</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>WebDAV access</name> + <role>Manager</role> + </permission> + </permission_list> + <portal_type>Currency Module</portal_type> + <title>Currencies</title> +</module> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index e0e42b8e238f286de95520d9e68eaa995ccea487..cd003c1a414b1c51af7f8597271f618e8056d3de 100644 --- a/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_banking_core/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -42,8 +42,17 @@ <portal_type id="Counter Module"> <item>Counter</item> </portal_type> + <portal_type id="Currency"> + <item>Currency Exchange Line</item> + </portal_type> <portal_type id="Currency Cash Module"> <item>Banknote</item> <item>Coin</item> </portal_type> + <portal_type id="Currency Exchange Line"> + <item>Currency Exchange Cell</item> + </portal_type> + <portal_type id="Currency Module"> + <item>Currency</item> + </portal_type> </allowed_content_type_list> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml index 3f5a5925c096a42220f932ee87ecae295fcdb605..1f1fd430ed48fc54cc59651621d9485848194345 100644 --- a/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml +++ b/bt5/erp5_banking_core/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -32,4 +32,11 @@ <portal_type id="Counter Date"> <item>site</item> </portal_type> + <portal_type id="Currency Exchange Cell"> + <item>price_currency</item> + <item>currency_exchange_type</item> + </portal_type> + <portal_type id="Currency Exchange Line"> + <item>price_currency</item> + </portal_type> </base_category_list> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_banking_core/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml new file mode 100644 index 0000000000000000000000000000000000000000..8c0ba86fdb2731b94d3b4ad1d506ff9d9df35176 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml @@ -0,0 +1,5 @@ +<hidden_content_type_list> + <portal_type id="Currency Exchange Line"> + <item>Currency Exchange Cell</item> + </portal_type> +</hidden_content_type_list> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml index 639970704f9555ef37d96e9355bb3c220d8af154..116775ee940e0a55bf57a0a58f03afd4ac0b0002 100644 --- a/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ b/bt5/erp5_banking_core/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -59,9 +59,6 @@ <item>Task</item> <item>Reference</item> </portal_type> - <portal_type id="Currency Exchange Line"> - <item>BaobabStopDate</item> - </portal_type> <portal_type id="Preference"> <item>RenderingPreference</item> </portal_type> diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Cancellation%20Module.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Cancellation%20Module.xml new file mode 100644 index 0000000000000000000000000000000000000000..37c5c6e390174f1812bf35e057dfce750e08067a --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Cancellation%20Module.xml @@ -0,0 +1,50 @@ +<type_roles> + <role id='Author; Auditor'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_a</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_b</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section_financier</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + </role> + <role id='Auditor; Author'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Section Comptable </property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section_comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_caisse</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Cancellation.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Cancellation.xml new file mode 100644 index 0000000000000000000000000000000000000000..87e2c18eb7bf62d24f42e8af5a28e47d49afd246 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Cancellation.xml @@ -0,0 +1,65 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/financier_a</multi_property> + <multi_property id='base_category'>site</multi_property> + <multi_property id='base_category'>group</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/financier_b</multi_property> + <multi_property id='base_category'>site</multi_property> + <multi_property id='base_category'>group</multi_property> + </role> + <role id='DestinationAssignee'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_section_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + <multi_property id='base_category'>group</multi_property> + </role> + <role id='DestinationAssignee'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + <multi_property id='base_category'>group</multi_property> + </role> + <role id='Assignor'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + <multi_property id='base_category'>group</multi_property> + </role> + <role id='DestinationAssignee'> + <property id='title'>Chef Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + <multi_property id='base_category'>group</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Section Comptable </property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_section_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + <multi_property id='base_category'>group</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Chef Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_caisse</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Date%20Module.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Date%20Module.xml new file mode 100644 index 0000000000000000000000000000000000000000..abbde023eb4366894682b407cb15a0e83eb90e07 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Date%20Module.xml @@ -0,0 +1,38 @@ +<type_roles> + <role id='Author; Auditor'> + <property id='title'>Chef comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_a</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_b</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section_financier</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Date.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Date.xml new file mode 100644 index 0000000000000000000000000000000000000000..dfb264498a9efc900660a8571c485ffb1434126f --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Accounting%20Date.xml @@ -0,0 +1,44 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Chef comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_a</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_b</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Check%20Module.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Check%20Module.xml new file mode 100644 index 0000000000000000000000000000000000000000..8dd54a796191c07825031feaac750417bfa0b35c --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Check%20Module.xml @@ -0,0 +1,56 @@ +<type_roles> + <role id='Auditor; Author'> + <property id='title'>Controleur caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/controleur_caveau</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Caissier Particulier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/caissier_particulier</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Gestionnaire caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/gestionnaire_caveau</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Controleur Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/controleur_caisse_courante</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Gestionnaire Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/gestionnaire_caisse_courante</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Commis comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/commis_comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef section comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section_comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Check.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Check.xml new file mode 100644 index 0000000000000000000000000000000000000000..167be1028d3570657b057f657d2e6424ba7c6ed4 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Check.xml @@ -0,0 +1,114 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Controleur caveau</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/controleur_caveau</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Caissier Particulier</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/caissier_particulier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Gestionnaire caveau</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/gestionnaire_caveau</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignor'> + <property id='title'>Comptable</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Commis comptable</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/commis_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Gestionnaire Caisse Courante</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/gestionnaire_caisse_courante</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignor'> + <property id='title'>Financier A</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/financier_a</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Financier B</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/financier_b</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Financier</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Section Financier</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/chef_section_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Controleur Caisse Courante</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/controleur_caisse_courante</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Section Comptable</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/chef_section_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Commis Caisse</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/commis_caisse</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Comptable</property> + <property id='condition'>python: object.getParentValue().getPortalType() != 'Checkbook'</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Checkbook%20Module.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Checkbook%20Module.xml new file mode 100644 index 0000000000000000000000000000000000000000..bdc3cda233b068f37abd31582dc2fbe4c32050ba --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Checkbook%20Module.xml @@ -0,0 +1,92 @@ +<type_roles> + <role id='Auditor; Author'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/comptable</multi_property> + </role> + <role id='Author; Auditor'> + <property id='title'>Chef de section comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section_comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Caissier Particulier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/caissier_particulier</multi_property> + </role> + <role id='Auditor; Author'> + <property id='title'>Controleur Caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/controleur_caveau</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Gestionnaire caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/gestionnaire_caveau</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Controleur Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/controleur_caisse_courante</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Gestionnaire Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/gestionnaire_caisse_courante</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Commis comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/commis_comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Section</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section</multi_property> + </role> + <role id='Author; Auditor'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_a</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_b</multi_property> + </role> + <role id='Auditor; Author'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + </role> + <role id='Auditor; Author'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section_financier</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Commis Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/commis_caisse</multi_property> + </role> + <role id='Auditor; Author'> + <property id='title'>Chef Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Checkbook.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Checkbook.xml new file mode 100644 index 0000000000000000000000000000000000000000..eee51e7ed28ccbb792117f96a0a5c1ed478587ef --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Checkbook.xml @@ -0,0 +1,100 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Controleur caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/controleur_caveau</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Caissier Particulier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/caissier_particulier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Gestionnaire caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/gestionnaire_caveau</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignor'> + <property id='title'>Gestionnaire Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/gestionnaire_caisse_courante</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignor'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignor'> + <property id='title'>Commis comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/commis_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignor'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/financier_a</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/financier_b</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignor; Assignee'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignor; Assignee'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/chef_section_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Controleur Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/controleur_caisse_courante</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Section Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/chef_section_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Commis Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/commis_caisse</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignmentAndDocumentDestination</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Date%20Module.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Date%20Module.xml new file mode 100644 index 0000000000000000000000000000000000000000..965dfaee56031e6ec0636e6687366c3e0cbef5b6 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Date%20Module.xml @@ -0,0 +1,8 @@ +<type_roles> + <role id='Author; Auditor'> + <property id='title'>Chef de Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_caisse</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Date.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Date.xml new file mode 100644 index 0000000000000000000000000000000000000000..06d2be94228dc5a437e07d2fa950087a24a17eed --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Date.xml @@ -0,0 +1,107 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Chef de Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_caisse</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Caissier Particulier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/caissier_particulier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Chef Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Gestionnaire Caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/gestionnaire_caveau</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Controleur Caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/controleur_caveau</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Gestionnaire Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/gestionnaire_caisse_courante</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Controleur Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/controleur_caisse_courante</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Commis Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/commis_caisse</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Chef de tri</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_de_tri</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/financier_a</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/financier_b</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_section_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_financier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Reviewer'> + <property id='title'>Chef Section Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentSite</property> + <multi_property id='category'>function/banking/chef_section_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Module.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Module.xml new file mode 100644 index 0000000000000000000000000000000000000000..432813540b12e6fd2d3d63804fb5fd2fef9c0fca --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter%20Module.xml @@ -0,0 +1,31 @@ +<type_roles> + <role id='Author; Auditor'> + <property id='title'>Chef de Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_caisse</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Caissier Particulier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/caissier_particulier</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/comptable</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Gestionnaire Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/gestionnaire_caisse_courante</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Comptable</property> + <property id='priority'>10</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter.xml new file mode 100644 index 0000000000000000000000000000000000000000..f36e19b3d002b32cb756dbe98793bf5183d7e2ba --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Counter.xml @@ -0,0 +1,58 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Chef de Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentRootSite</property> + <multi_property id='category'>function/banking/chef_caisse</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Caissier Particulier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentRootSite</property> + <multi_property id='category'>function/banking/caissier_particulier</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentRootSite</property> + <multi_property id='category'>function/banking/comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Gestionnaire Caisse Courante</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentRootSite</property> + <multi_property id='category'>function/banking/gestionnaire_caisse_courante</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentRootSite</property> + <multi_property id='category'>function/banking/chef_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Commis Caisse</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentRootSite</property> + <multi_property id='category'>function/banking/commis_caisse</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Gestionnaire Caveau</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentRootSite</property> + <multi_property id='category'>function/banking/gestionnaire_caveau</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Section Comptable</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromDocumentRootSite</property> + <multi_property id='category'>function/banking/chef_section_comptable</multi_property> + <multi_property id='base_category'>site</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Currency%20Exchange%20Line.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Currency%20Exchange%20Line.xml new file mode 100644 index 0000000000000000000000000000000000000000..b74276b36f7ff9df0f67cbb9fa6ab18badb06ac1 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Currency%20Exchange%20Line.xml @@ -0,0 +1,30 @@ +<type_roles> + <role id='Assignor'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_a </multi_property> + <multi_property id='category'>site/siege</multi_property> + </role> + <role id='Assignor'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_b </multi_property> + <multi_property id='category'>site/siege</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section_financier </multi_property> + <multi_property id='category'>site/siege</multi_property> + </role> + <role id='Assignee'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_financier </multi_property> + <multi_property id='category'>site/siege</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Currency.xml b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Currency.xml new file mode 100644 index 0000000000000000000000000000000000000000..24fcfd36611dd3ae3b0cb1bab7cecf3bf22675e9 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeRolesTemplateItem/Currency.xml @@ -0,0 +1,30 @@ +<type_roles> + <role id='Author; Auditor'> + <property id='title'>Financier A</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_a </multi_property> + <multi_property id='category'>site/siege</multi_property> + </role> + <role id='Author; Auditor'> + <property id='title'>Financier B</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/financier_b </multi_property> + <multi_property id='category'>site/siege</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_financier </multi_property> + <multi_property id='category'>site/siege</multi_property> + </role> + <role id='Auditor'> + <property id='title'>Chef Section Financier</property> + <property id='priority'>10</property> + <property id='base_category_script'>ERP5Type_getSecurityCategoryFromAssignment</property> + <multi_property id='category'>function/banking/chef_section_financier </multi_property> + <multi_property id='category'>site/siege</multi_property> + </role> +</type_roles> \ No newline at end of file diff --git a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml new file mode 100644 index 0000000000000000000000000000000000000000..5adabd35b507daffdf39913d4231b8a005917c30 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Cell.xml @@ -0,0 +1,101 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_roles</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>allowed_content_types</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>base_category_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>order_line_icon.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 Supply Cell</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Une ligne tarifaire.</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addSupplyCell</string> </value> + </item> + <item> + <key> <string>filter_content_types</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Currency Exchange Cell</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml new file mode 100644 index 0000000000000000000000000000000000000000..78a20d908f98c47e3d87e7a2ae5289ccebd9ff82 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Exchange%20Line.xml @@ -0,0 +1,120 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_roles</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>allowed_content_types</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>base_category_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>document.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 Supply Line</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string> A DeliveryLine object allows to implement lines in\n + Deliveries (packing list, order, invoice, etc.)\n +\n + It may include a price (for insurance, for customs, for invoices,\n + for orders)\n +</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addSupplyLine</string> </value> + </item> + <item> + <key> <string>filter_content_types</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Currency Exchange Line</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> <string>CurrencyExchangeLine_init</string> </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml new file mode 100644 index 0000000000000000000000000000000000000000..ad2306ca08effbe991269774bb4e2e662c8fd849 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency%20Module.xml @@ -0,0 +1,162 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_property_domain_dict</string> </key> + <value> + <dictionary> + <item> + <key> <string>short_title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_roles</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>allowed_content_types</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>base_category_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>folder_icon.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 Folder</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string> Holds Accounting Transaction objects</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addFolder</string> </value> + </item> + <item> + <key> <string>filter_content_types</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Currency Module</string> </value> + </item> + <item> + <key> <string>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.TranslationProviderBase</string> + <string>TranslationInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>short_title</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.TranslationProviderBase</string> + <string>TranslationInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>domain_name</string> </key> + <value> <string>erp5_ui</string> </value> + </item> + <item> + <key> <string>property_name</string> </key> + <value> <string>title</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency.xml b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency.xml new file mode 100644 index 0000000000000000000000000000000000000000..7eb4850ebf5b46539ba57b2ff9f855eedc69ba04 --- /dev/null +++ b/bt5/erp5_banking_core/PortalTypeTemplateItem/portal_types/Currency.xml @@ -0,0 +1,113 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5TypeInformation" module="Products.ERP5Type.ERP5Type"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_aliases</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_roles</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>allowed_content_types</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>base_category_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>organisation_icon.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 Currency</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>A Currency is a resource which can be credited or debited on general ledger accounts. It defines currency information, identification and exchange rates to one or multiple reference currencies.</string> </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addCurrency</string> </value> + </item> + <item> + <key> <string>filter_content_types</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple> + <string>resource</string> + </tuple> + </value> + </item> + <item> + <key> <string>hidden_content_type_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Currency</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>property_sheet_list</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_banking_core/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index 3a2abbc6b32463454c898621c70f1cf23cd66c89..7d9ab6f40a7ac1decfbca6a732855fa72e48442a 100644 --- a/bt5/erp5_banking_core/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/bt5/erp5_banking_core/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -31,8 +31,12 @@ <type>Counter Date</type> <workflow>edit_workflow, counter_date_workflow</workflow> </chain> + <chain> + <type>Currency</type> + <workflow>edit_workflow</workflow> + </chain> <chain> <type>Currency Exchange Line</type> - <workflow>currency_exchange_line_workflow</workflow> + <workflow>currency_exchange_line_interaction_workflow, edit_workflow, currency_exchange_line_workflow</workflow> </chain> </workflow_chain> \ No newline at end of file diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCounterStockList.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCounterStockList.xml index dfe64498389e44691094d968cfe49451d9aebf7b..7f6c580dd7574288c4fdb1d5086d2eba96b9fec5 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCounterStockList.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getCounterStockList.xml @@ -81,7 +81,8 @@ resource_uid_list = [x.uid for x in context.currency_cash_module.searchFolder()] counter_vault_list = context.Delivery_getVaultItemList(\n user_site=0,base_site=site.getRelativeUrl(),all=1,\n vault_type=(\'site/surface/banque_interne\',\'site/surface/gros_paiement\',\n - \'site/surface/gros_versement\',\'site/surface/operations_diverses\'))\n + \'site/surface/gros_versement\',\'site/surface/operations_diverses\',\n + \'site/surface/salle_tri\'))\n counter_vault_list.extend(context.Delivery_getVaultItemList(\n user_site=0,base_site=site.getRelativeUrl(),all=1,\n vault_type=(\'site/surface/caisse_courante\',)))\n diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPossibleUserAssignmentSiteList.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPossibleUserAssignmentSiteList.xml index 51c0acd30fbd1e916e369527d942e7f585f11449..1f9c5237fba54bdccf6f3acd5a5a985e54502fcf 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPossibleUserAssignmentSiteList.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getPossibleUserAssignmentSiteList.xml @@ -70,28 +70,30 @@ if context.getDestination() is None:\n # must have an organisation defined to limit site diplayed\n return [[\'\', \'\']]\n \n -dest_site_title = context.getDestinationValue().getSiteTitle()\n +#dest_site_title = context.getDestinationValue().getSiteTitle()\n \n -site_list = context.Delivery_getVaultItemList(user_site=0, vault_type=("site", "site/surface/banque_interne/guichet", "site/surface/gros_paiement/guichet", "site/surface/gros_versement/guichet", "site/surface/operations_diverses/guichet"), strict_membership=1, leaf_node=0, base_site=context.getDestinationValue().getSite())\n +site_list = context.Delivery_getVaultItemList(user_site=0, vault_type=("site", "site/surface/banque_interne/guichet", "site/surface/gros_paiement/guichet", "site/surface/gros_versement/guichet", "site/surface/operations_diverses/guichet"), first_level=1, strict_membership=1, leaf_node=0, base_site=context.getDestinationValue().getSite())\n # now must filter again this list to remove useless categories\n -site_dict = {}\n -for site in site_list:\n - site_split = site[0].split(\'/\')\n - if dest_site_title in site_split:\n - if len(site_split) == 4:\n - # case of counter\n - counter = "/".join(site_split[:-1])\n - if not site_dict.has_key(counter):\n - if not \'siege\' in site[1]:\n - site_dict[counter] = \'/\'.join(site[1].split("/")[:7])\n - else:\n - site_dict[counter] = \'/\'.join(site[1].split("/")[:6])\n - else:\n - site_dict[site[0]] = site[1]\n +#site_dict = {}\n +#for site in site_list:\n +# site_dict[site[0]] = site[1]\n +# site_split = site[0].split(\'/\')\n +# if dest_site_title in site_split:\n +# if len(site_split) == 4:\n +# # case of counter\n +# counter = "/".join(site_split[:-1])\n +# if not site_dict.has_key(counter):\n +# if not \'siege\' in site[1]:\n +# site_dict[counter] = \'/\'.join(site[1].split("/")[:7])\n +# else:\n +# site_dict[counter] = \'/\'.join(site[1].split("/")[:6])\n +# else:\n +# site_dict[site[0]] = site[1]\n \n -list = site_dict.items()\n -list.sort()\n -return list\n +#list = site_dict.items()\n +#list.sort()\n +#return list\n +return site_list\n </string> </value> </item> <item> @@ -143,17 +145,7 @@ return list\n <string>_getattr_</string> <string>context</string> <string>None</string> - <string>dest_site_title</string> <string>site_list</string> - <string>site_dict</string> - <string>_getiter_</string> - <string>site</string> - <string>_getitem_</string> - <string>site_split</string> - <string>len</string> - <string>counter</string> - <string>_write_</string> - <string>list</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getSiteEmissionLetter.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getSiteEmissionLetter.xml index 237fbf0793020a3b24fed39676e07a84ce9affe7..4d0cdb9bf960d8cebbc8cad2b4bc7baacac6e2b3 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getSiteEmissionLetter.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Baobab_getSiteEmissionLetter.xml @@ -80,6 +80,9 @@ getSiteEmissionLetter = CachingMethod(getSiteEmissionLetter,\n id = \'Baobab_getSiteEmissionLetter\',\n cache_factory = \'erp5_ui_long\')\n \n +if not same_type(site, \'a\'):\n + site = site.getRelativeUrl()\n +\n return getSiteEmissionLetter(site=site)\n </string> </value> </item> @@ -134,6 +137,8 @@ return getSiteEmissionLetter(site=site)\n <string>CachingMethod</string> <string>None</string> <string>getSiteEmissionLetter</string> + <string>same_type</string> + <string>_getattr_</string> </tuple> </value> </item> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterDate_getRemainingOperationList.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterDate_getRemainingOperationList.xml index eadc81153a4c062f3cedd4d8f8b320705649b56d..e16f08349ca9130dee6b824710524c1ab617948e 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterDate_getRemainingOperationList.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterDate_getRemainingOperationList.xml @@ -73,7 +73,7 @@ operation_list = []\n exception_portal_type_list = [\'Paper Money Deposit\', \'Foreign Check\', \'External Banking Operation\', \'Account Transfer\', \'Check Deposit\',\n \'Checkbook Reception\', \'Accounting Cancellation\']\n if site_uid is not None:\n - not_closed_state_list = (\'ordered\',\'planned\',\'confirmed\',\'started\',\'stopped\', \'ready\', \'deposited\', \'received\')\n + not_closed_state_list = (\'ordered\',\'planned\',\'confirmed\',\'started\',\'stopped\', \'ready\', \'deposited\', \'received\', \'finished\')\n portal_type_list = [x for x in context.getPortalDeliveryTypeList()\n if x not in exception_portal_type_list]\n document_list = context.Baobab_getRemainingOperationList(\n @@ -89,7 +89,7 @@ if site_uid is not None:\n simulation_state = document.getSimulationState()\n if (portal_type in (\'Stop Payment\', ) and simulation_state == \'started\') \\\n or (portal_type == \'Mutilated Banknote\' and \n - simulation_state == \'finished\' \\\n + simulation_state != \'finished\' \\\n ) \\\n or (portal_type == \'Check Payment\' and \n simulation_state in (\'planned\', \'ordered\') \\\n diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_viewReportDialog/my_vault.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_viewReportDialog/my_vault.xml index e2fd9ddc93cb7df58a8bcb23dcd04b86661041eb..204652f730412b09a025429056e5939ee5f62fb2 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_viewReportDialog/my_vault.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterModule_viewReportDialog/my_vault.xml @@ -290,7 +290,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python: here.Delivery_getVaultItemList(vault_type=\'site\', all=1,leaf_node=0)</string> </value> + <value> <string>python: here.Delivery_getVaultItemList(vault_type=\'site\', all=1,leaf_node=0,disable_user_site_for_manager=1)</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view.xml new file mode 100644 index 0000000000000000000000000000000000000000..92a1dc6a30c7186583272d8d71c27ba53406c60b --- /dev/null +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view.xml @@ -0,0 +1,160 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ERP5Form" module="Products.ERP5Form.Form"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <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/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>None</string> </value> + </item> + <item> + <key> <string>encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>enctype</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <list> + <string>left</string> + <string>right</string> + <string>center</string> + <string>bottom</string> + <string>hidden</string> + </list> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <dictionary> + <item> + <key> <string>bottom</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>center</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>left</string> </key> + <value> + <list> + <string>my_currency_exchange_type_title</string> + <string>my_price_currency_id</string> + </list> + </value> + </item> + <item> + <key> <string>right</string> </key> + <value> + <list> + <string>my_base_price</string> + </list> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>CurrencyExchangeCell_view</string> </value> + </item> + <item> + <key> <string>method</string> </key> + <value> <string>POST</string> </value> + </item> + <item> + <key> <string>name</string> </key> + <value> <string>CurrencyExchangeCell_view</string> </value> + </item> + <item> + <key> <string>pt</string> </key> + <value> <string>form_view</string> </value> + </item> + <item> + <key> <string>row_length</string> </key> + <value> <int>4</int> </value> + </item> + <item> + <key> <string>stored_encoding</string> </key> + <value> <string>UTF-8</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Currency Exchange Cell</string> </value> + </item> + <item> + <key> <string>unicode_mode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>update_action</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_base_price.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_base_price.xml new file mode 100644 index 0000000000000000000000000000000000000000..2cc232e7b3267d6e110e89c8f46b7cba36e03ecb --- /dev/null +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_base_price.xml @@ -0,0 +1,251 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="FloatField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_base_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>-1234.5</string> </value> + </item> + <item> + <key> <string>precision</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>Price</string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_currency_exchange_type_title.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_currency_exchange_type_title.xml new file mode 100644 index 0000000000000000000000000000000000000000..e4294635f01382bd10333a25b9de23e2c08cc902 --- /dev/null +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_currency_exchange_type_title.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="StringField" module="Products.Formulator.StandardFields"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_currency_exchange_type_title</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> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>truncate</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_maxwidth</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>display_width</string> </key> + <value> <int>20</int> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Exchange Type</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> +</ZopeData> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_price_currency_id.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_price_currency_id.xml new file mode 100644 index 0000000000000000000000000000000000000000..3255299272f51505520348e7be58f5ac874d8477 --- /dev/null +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeCell_view/my_price_currency_id.xml @@ -0,0 +1,510 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="RelationStringField" module="Products.ERP5Form.RelationField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_price_currency_id</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>relation_result_ambiguous</string> </key> + <value> <string>Select appropriate document in the list.</string> </value> + </item> + <item> + <key> <string>relation_result_empty</string> </key> + <value> <string>No such document was found.</string> </value> + </item> + <item> + <key> <string>relation_result_too_long</string> </key> + <value> <string>Too many documents were found.</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>allow_creation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</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>default_module</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>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</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>update_method</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>allow_creation</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>columns</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>default_module</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>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>sort</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>update_method</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>allow_creation</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>allow_jump</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>base_category</string> </key> + <value> <string>price_currency</string> </value> + </item> + <item> + <key> <string>catalog_index</string> </key> + <value> <string>id</string> </value> + </item> + <item> + <key> <string>columns</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>container_getter_id</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>default_module</string> </key> + <value> <string>currency</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>extra_item</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>first_item</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>items</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>jump_allowed</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>jump_method</string> </key> + <value> <string>Base_jumpToRelatedDocument</string> </value> + </item> + <item> + <key> <string>list_method</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>parameter_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> + <list> + <tuple> + <string>Currency</string> + <string>Currency</string> + </tuple> + </list> + </value> + </item> + <item> + <key> <string>relation_setter_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>sort</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Reference Currency</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>update_method</string> </key> + <value> <string>Base_validateRelation</string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeLine_view/listbox.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeLine_view/listbox.xml index 2d1175e3df54a1d294691e49bc9669d4905b4668..78d36c003ba05cb073cb4967b0796b10d04eb69c 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeLine_view/listbox.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CurrencyExchangeLine_view/listbox.xml @@ -519,18 +519,15 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <tuple> - <string>Products.Formulator.MethodField</string> - <string>Method</string> - </tuple> - <none/> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> </tuple> </pickle> <pickle> <dictionary> <item> <key> <string>method_name</string> </key> - <value> <string>contentValues</string> </value> + <value> <string>objectValues</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Delivery_getVaultItemList.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Delivery_getVaultItemList.xml index 106dfa5b1a66ac372ae41f7d8c589f864aea2e9a..64ddc0dc953d316ec40d12708c703b87593e4d34 100644 --- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Delivery_getVaultItemList.xml +++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/Delivery_getVaultItemList.xml @@ -91,6 +91,7 @@ # user_vault = 0 : Display only subvaults that corresponds to the user assigned vault\n # first_level = 0 : Ne prend que le premier niveau pour un vault type, meme si les sous categories\n # ont le meme vault_type\n +# disable_user_site_for_manager = 0 : permet de desactiver l\'option user_site pour les utilisateurs manager\n \n from Products.ERP5Type.Cache import CachingMethod\n \n @@ -229,6 +230,12 @@ if hasattr(erp5_site, \'functionnal_test_mode\'):\n if getattr(erp5_site, \'functionnal_test_mode\') == 1:\n mode_test = 1\n \n +if disable_user_site_for_manager:\n + from AccessControl import getSecurityManager\n + u=getSecurityManager().getUser()\n + if \'Manager\' in u.getRoles():\n + user_site=0\n +\n user_site_list = []\n if user_site == 1 or owner_site==1:\n if owner_site:\n @@ -261,7 +268,6 @@ if exclude_user_site:\n new_list.append(root_site_url)\n exclude_site_list = new_list\n \n -\n vault_list = getVaultItemList(vault_type=vault_type, exclude_vault_type=exclude_vault_type,\n user_site=user_site, leaf_node=leaf_node, strict_membership=strict_membership,\n assignment_list=assignment_list, site_list=site_list, with_base=with_base, all=all,\n @@ -317,7 +323,7 @@ return [(\'\', \'\')] + list(vault_list)\n </item> <item> <key> <string>_params</string> </key> - <value> <string>vault_type=None, exclude_vault_type=None, current_url=None, user_site=1, leaf_node=1, strict_membership=0, with_base=1, all=0, base_site=None, owner_site=0,first_level=0,main_agency=0,exclude_user_site=0,user_vault=0</string> </value> + <value> <string>vault_type=None, exclude_vault_type=None, current_url=None, user_site=1, leaf_node=1, strict_membership=0, with_base=1, all=0, base_site=None, owner_site=0,first_level=0,main_agency=0,exclude_user_site=0,user_vault=0,disable_user_site_for_manager=0</string> </value> </item> <item> <key> <string>_proxy_roles</string> </key> @@ -345,7 +351,7 @@ return [(\'\', \'\')] + list(vault_list)\n <dictionary> <item> <key> <string>co_argcount</string> </key> - <value> <int>14</int> </value> + <value> <int>15</int> </value> </item> <item> <key> <string>co_varnames</string> </key> @@ -365,6 +371,7 @@ return [(\'\', \'\')] + list(vault_list)\n <string>main_agency</string> <string>exclude_user_site</string> <string>user_vault</string> + <string>disable_user_site_for_manager</string> <string>Products.ERP5Type.Cache</string> <string>CachingMethod</string> <string>None</string> @@ -376,6 +383,9 @@ return [(\'\', \'\')] + list(vault_list)\n <string>mode_test</string> <string>hasattr</string> <string>getattr</string> + <string>AccessControl</string> + <string>getSecurityManager</string> + <string>u</string> <string>user_site_list</string> <string>_getitem_</string> <string>new_site_list</string> @@ -422,6 +432,7 @@ return [(\'\', \'\')] + list(vault_list)\n <int>0</int> <int>0</int> <int>0</int> + <int>0</int> </tuple> </value> </item> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow.xml new file mode 100644 index 0000000000000000000000000000000000000000..606606b80e0a40f175dbc2bf6a04881decd2d4b7 --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow.xml @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="InteractionWorkflowDefinition" module="Products.ERP5.InteractionWorkflow"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>groups</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>currency_exchange_line_interaction_workflow</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/interactions.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/interactions.xml new file mode 100644 index 0000000000000000000000000000000000000000..879a78b540f5742c1dc5bb51265c562252bdf194 --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/interactions.xml @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Interaction" module="Products.ERP5.Interaction"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>interactions</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/interactions/CurrencyExchangeLine_edit.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/interactions/CurrencyExchangeLine_edit.xml new file mode 100644 index 0000000000000000000000000000000000000000..b461be42aff56d143cd78e57aed413673dddf289 --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/interactions/CurrencyExchangeLine_edit.xml @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="InteractionDefinition" module="Products.ERP5.Interaction"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>actbox_category</string> </key> + <value> <string>workflow</string> </value> + </item> + <item> + <key> <string>actbox_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>actbox_url</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>activate_script_name</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>after_script_name</string> </key> + <value> + <list> + <string>CurrencyExchangeLine_updateMatrix</string> + </list> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>guard</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>CurrencyExchangeLine_edit</string> </value> + </item> + <item> + <key> <string>method_id</string> </key> + <value> + <list> + <string>_edit</string> + </list> + </value> + </item> + <item> + <key> <string>portal_type_filter</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>script_name</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>trigger_type</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/scripts.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/scripts.xml new file mode 100644 index 0000000000000000000000000000000000000000..66683dde0451b4de3eeb20f0fe5c7af60083c8a8 --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/scripts.xml @@ -0,0 +1,37 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Scripts" module="Products.DCWorkflow.Scripts"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>scripts</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/scripts/CurrencyExchangeLine_updateMatrix.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/scripts/CurrencyExchangeLine_updateMatrix.xml new file mode 100644 index 0000000000000000000000000000000000000000..728e19b69c6866ac03b46df7ef80a3fcea2f2d98 --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/scripts/CurrencyExchangeLine_updateMatrix.xml @@ -0,0 +1,188 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Python_magic</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>context = state_change[\'object\']\n +\n +base_id = \'path\'\n +kwd = {\'base_id\': base_id}\n +\n +\n +context.updateCellRange(script_id=\'CurrencyExchangeLine_asCellRange\', base_id=base_id)\n +cell_range_key_list = context.getCellRangeKeyList(base_id = base_id)\n +resource_list = [\'resource/%s\' % context.getParent().getRelativeUrl()]\n +price_currency_list = [\'price_currency/%s\' % context.getPriceCurrency()]\n +membership_list = resource_list+price_currency_list\n +context.setMembershipCriterionBaseCategoryList([x.split(\'/\')[0] for x in membership_list])\n +context.setMembershipCriterionCategoryList(membership_list)\n +context.setResource(context.getParentValue().getRelativeUrl())\n +context.setMappedValuePropertyList((\'base_price\',\'discount\'))\n +if cell_range_key_list != [[None, None]] :\n + i = 0\n + for k in cell_range_key_list:\n + category_list = filter(lambda k_item: k_item is not None, k)\n + c = context.newCell(*k, **kwd)\n + c.edit(mapped_value_property_list = (\'base_price\',\'discount\'),\n + force_update = 1,\n + membership_criterion_base_category_list = [x.split(\'/\')[0] for x in category_list],\n + membership_criterion_category_list = category_list,\n + category_list = category_list,\n + )\n + c.setCriterion(\'stop_date\', min=context.getStartDate(), max=context.getStopDate())\n + if c.getBasePrice() is None and context.getBasePrice() is not None:\n + c.setBasePrice(context.getBasePrice())\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>_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>_getitem_</string> + <string>context</string> + <string>base_id</string> + <string>kwd</string> + <string>_getattr_</string> + <string>cell_range_key_list</string> + <string>resource_list</string> + <string>price_currency_list</string> + <string>membership_list</string> + <string>append</string> + <string>$append0</string> + <string>_getiter_</string> + <string>x</string> + <string>None</string> + <string>i</string> + <string>k</string> + <string>filter</string> + <string>category_list</string> + <string>_apply_</string> + <string>c</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>CurrencyExchangeLine_updateMatrix</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/variables.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/variables.xml new file mode 100644 index 0000000000000000000000000000000000000000..733d9ce458eebdbf2f511e03ef3d0831d9587ce9 --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/variables.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Variables" module="Products.DCWorkflow.Variables"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>variables</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/worklists.xml b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/worklists.xml new file mode 100644 index 0000000000000000000000000000000000000000..3953ad0209bd0cd9a4f7c91ba6db81eebb08acfc --- /dev/null +++ b/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/currency_exchange_line_interaction_workflow/worklists.xml @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Worklists" module="Products.DCWorkflow.Worklists"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_mapping</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>worklists</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/bt/revision b/bt5/erp5_banking_core/bt/revision index c4c828bd4ee315c1205df1586629eb43f5d672bd..304feabdcedcee70e4d929e2dbee0a6205be7af6 100644 --- a/bt5/erp5_banking_core/bt/revision +++ b/bt5/erp5_banking_core/bt/revision @@ -1 +1 @@ -386 \ No newline at end of file +387 \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_action_path_list b/bt5/erp5_banking_core/bt/template_action_path_list index 94b1f73e6b2264140bcf450d708564153b19cdef..0a87e1b421c64e6eecaf9103c2383e8e71208eac 100644 --- a/bt5/erp5_banking_core/bt/template_action_path_list +++ b/bt5/erp5_banking_core/bt/template_action_path_list @@ -47,4 +47,8 @@ Counter Module | vault_report Counter Module | view Counter | view Currency Cash Module | print_pdf -Currency Cash Module | view \ No newline at end of file +Currency Cash Module | view +Currency Exchange Cell | view +Currency Exchange Line | view +Currency Module | view +Currency | view \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_module_id_list b/bt5/erp5_banking_core/bt/template_module_id_list index 2d8ecd9bf0a4767431a6a8ed9177a35abeb7f57d..b2d93e57df0641029996f9803297f93471587e2b 100644 --- a/bt5/erp5_banking_core/bt/template_module_id_list +++ b/bt5/erp5_banking_core/bt/template_module_id_list @@ -5,4 +5,5 @@ checkbook_model_module checkbook_module counter_date_module counter_module -currency_cash_module \ No newline at end of file +currency_cash_module +currency_module \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list index 9e1b380df89b63ccf8c7052f31ca7eb72c646983..b4549f226c9ccf2b35ccb72ac966fc7d40232392 100644 --- a/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_banking_core/bt/template_portal_type_allowed_content_type_list @@ -14,4 +14,7 @@ Counter Date Module | Counter Date Counter Module | Counter Counter | Telephone Currency Cash Module | Banknote -Currency Cash Module | Coin \ No newline at end of file +Currency Cash Module | Coin +Currency Exchange Line | Currency Exchange Cell +Currency Module | Currency +Currency | Currency Exchange Line \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_portal_type_base_category_list b/bt5/erp5_banking_core/bt/template_portal_type_base_category_list index a0615db20556e48a02177628479d700737c25ba6..df57368b77d3a95a22e084f7b0df279845b9ca44 100644 --- a/bt5/erp5_banking_core/bt/template_portal_type_base_category_list +++ b/bt5/erp5_banking_core/bt/template_portal_type_base_category_list @@ -10,4 +10,7 @@ Checkbook Model | composition Checkbook | check_amount Checkbook | resource Checkbook | site -Counter Date | site \ No newline at end of file +Counter Date | site +Currency Exchange Cell | currency_exchange_type +Currency Exchange Cell | price_currency +Currency Exchange Line | price_currency \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_banking_core/bt/template_portal_type_hidden_content_type_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..a631d47d603918bad1a07db23dc0479571e42e9e 100644 --- a/bt5/erp5_banking_core/bt/template_portal_type_hidden_content_type_list +++ b/bt5/erp5_banking_core/bt/template_portal_type_hidden_content_type_list @@ -0,0 +1 @@ +Currency Exchange Line | Currency Exchange Cell \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_portal_type_id_list b/bt5/erp5_banking_core/bt/template_portal_type_id_list index 7eca079179601ece4f5203157e0ddcdf8f71610f..d93a8f92210f1e1c457486e755673167401d6560 100644 --- a/bt5/erp5_banking_core/bt/template_portal_type_id_list +++ b/bt5/erp5_banking_core/bt/template_portal_type_id_list @@ -23,4 +23,8 @@ Counter Counter Date Counter Date Module Counter Module -Currency Cash Module \ No newline at end of file +Currency +Currency Cash Module +Currency Exchange Cell +Currency Exchange Line +Currency Module \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list b/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list index b78e9ae358dfa46d22165a4925619b2138ccafdf..7cf2eea7b55d11d7462cc63f2e5211fa19f0b835 100644 --- a/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list +++ b/bt5/erp5_banking_core/bt/template_portal_type_property_sheet_list @@ -28,5 +28,4 @@ Checkbook | Task Checkbook | VariationRange Counter Date | Reference Counter Date | Task -Currency Exchange Line | BaobabStopDate Preference | RenderingPreference \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_portal_type_roles_list b/bt5/erp5_banking_core/bt/template_portal_type_roles_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7601da19cfa130c780c9fc3b8d8591343fedcd98 100644 --- a/bt5/erp5_banking_core/bt/template_portal_type_roles_list +++ b/bt5/erp5_banking_core/bt/template_portal_type_roles_list @@ -0,0 +1,14 @@ +Accounting Cancellation +Accounting Cancellation Module +Accounting Date +Accounting Date Module +Check +Check Module +Checkbook +Checkbook Module +Counter +Counter Date +Counter Date Module +Counter Module +Currency +Currency Exchange Line \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_portal_type_workflow_chain_list b/bt5/erp5_banking_core/bt/template_portal_type_workflow_chain_list index 1ac2b879e12a4714f3f98aab4a8adbc28b01b11c..d526bb000d34f2ca9267421c1003e016df93ff22 100644 --- a/bt5/erp5_banking_core/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_banking_core/bt/template_portal_type_workflow_chain_list @@ -13,4 +13,7 @@ Counter Date | counter_date_workflow Counter Date | edit_workflow Counter | counter_workflow Counter | edit_workflow -Currency Exchange Line | currency_exchange_line_workflow \ No newline at end of file +Currency Exchange Line | currency_exchange_line_interaction_workflow +Currency Exchange Line | currency_exchange_line_workflow +Currency Exchange Line | edit_workflow +Currency | edit_workflow \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_workflow_id_list b/bt5/erp5_banking_core/bt/template_workflow_id_list index 2929afb766f1702e8fc21d44665bb1301550d9c4..0d8184424f64919c55cdd9a6f0852e85edb12e15 100644 --- a/bt5/erp5_banking_core/bt/template_workflow_id_list +++ b/bt5/erp5_banking_core/bt/template_workflow_id_list @@ -5,4 +5,5 @@ check_workflow checkbook_workflow counter_date_workflow counter_workflow +currency_exchange_line_interaction_workflow currency_exchange_line_workflow \ No newline at end of file