diff --git a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period%20Module.xml b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period%20Module.xml new file mode 100755 index 0000000000000000000000000000000000000000..d23050fd77f4ae009b5d051df25865468cb48134 --- /dev/null +++ b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period%20Module.xml @@ -0,0 +1,531 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.ERP5Type</string> + <string>ERP5TypeInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_actions</string> </key> + <value> + <tuple> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </tuple> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </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> + <string>Accounting Period</string> + </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>Folders allow to store a large number of documents (1,000,000 should not\n +be a problem).</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>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>Accounting Period Module</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> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.patches.ActionInformation</string> + <string>PatchedActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</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>optional</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <int>10</int> </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="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.patches.ActionInformation</string> + <string>PatchedActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_print</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>print</string> </value> + </item> + <item> + <key> <string>optional</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <int>10</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Print</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.patches.ActionInformation</string> + <string>PatchedActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_ui</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>list_ui</string> </value> + </item> + <item> + <key> <string>optional</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <int>10</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Parameters</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.patches.ActionInformation</string> + <string>PatchedActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_sort</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>sort_on</string> </value> + </item> + <item> + <key> <string>optional</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <int>10</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Sort</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <tuple> + <tuple> + <string>Products.ERP5Type.patches.ActionInformation</string> + <string>PatchedActionInformation</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_jump</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>jump_active_accounting_pref</string> </value> + </item> + <item> + <key> <string>optional</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <int>10</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Jump to Accounting Preference</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/AccountingPeriodModule_viewAccountingPeriodList</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="8" aka="AAAAAAAAAAg="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_printPdf</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="9" aka="AAAAAAAAAAk="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Base_viewUIDialog</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="10" aka="AAAAAAAAAAo="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/Folder_viewSortOnDialog</string> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="11" aka="AAAAAAAAAAs="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/AccountingTransactionModule_jumpToActiveAccountingPreference</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period%20Delimiter.xml b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period.xml similarity index 92% rename from bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period%20Delimiter.xml rename to bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period.xml index b7d0c29b835bcb2f2c30c1c4605b91502c3a5300..8d47f1520412b2eb286cc278dea07c9dc457c0ba 100755 --- a/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period%20Delimiter.xml +++ b/bt5/erp5_accounting/PortalTypeTemplateItem/portal_types/Accounting%20Period.xml @@ -34,6 +34,10 @@ <none/> </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> @@ -52,7 +56,7 @@ </item> <item> <key> <string>content_meta_type</string> </key> - <value> <string>ERP5 Accounting Period Delimiter</string> </value> + <value> <string>ERP5 Accounting Transaction</string> </value> </item> <item> <key> <string>description</string> </key> @@ -61,11 +65,17 @@ Once the period is closed (ie. the Accounting Period Delimiter is in delivered s </item> <item> <key> <string>factory</string> </key> - <value> <string>addAccountingPeriodDelimiter</string> </value> + <value> <string>addAccountingTransaction</string> </value> </item> <item> <key> <string>filter_content_types</string> </key> - <value> <int>0</int> </value> + <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> @@ -75,18 +85,16 @@ Once the period is closed (ie. the Accounting Period Delimiter is in delivered s </item> <item> <key> <string>id</string> </key> - <value> <string>Accounting Period Delimiter</string> </value> + <value> <string>Accounting Period</string> </value> </item> <item> <key> <string>init_script</string> </key> - <value> <string></string> </value> + <value> <string>AccountingPeriod_init</string> </value> </item> <item> <key> <string>property_sheet_list</string> </key> <value> - <tuple> - <string>Task</string> - </tuple> + <tuple/> </value> </item> <item> @@ -100,7 +108,7 @@ Once the period is closed (ie. the Accounting Period Delimiter is in delivered s <pickle> <tuple> <tuple> - <string>Products.ERP5Type.CMFCorePatch</string> + <string>Products.ERP5Type.patches.ActionInformation</string> <string>PatchedActionInformation</string> </tuple> <none/> @@ -165,7 +173,7 @@ Once the period is closed (ie. the Accounting Period Delimiter is in delivered s <pickle> <tuple> <tuple> - <string>Products.ERP5Type.CMFCorePatch</string> + <string>Products.ERP5Type.patches.ActionInformation</string> <string>PatchedActionInformation</string> </tuple> <none/> @@ -305,7 +313,7 @@ Once the period is closed (ie. the Accounting Period Delimiter is in delivered s <dictionary> <item> <key> <string>text</string> </key> - <value> <string>string:${object_url}/AccountingPeriodDelimiter_view</string> </value> + <value> <string>string:${object_url}/AccountingPeriod_view</string> </value> </item> </dictionary> </pickle>