Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
129
Merge Requests
129
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
9828ce35
Commit
9828ce35
authored
May 23, 2011
by
Lucas Carvalho
Committed by
Julien Muchembled
Jul 04, 2011
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New implementation of shadir.org and shacache.org
parent
9a2730fe
Changes
137
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
137 changed files
with
6654 additions
and
0 deletions
+6654
-0
view.xml
...ionTemplateItem/portal_types/Data%20Set%20Module/view.xml
+83
-0
view.xml
...a_set/ActionTemplateItem/portal_types/Data%20Set/view.xml
+85
-0
DataSet.py
bt5/erp5_data_set/DocumentTemplateItem/DataSet.py
+58
-0
data_set_module.xml
bt5/erp5_data_set/ModuleTemplateItem/data_set_module.xml
+100
-0
allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+9
-0
base_category_list.xml
...PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+5
-0
hidden_content_type_list.xml
...iddenContentTypeTemplateItem/hidden_content_type_list.xml
+6
-0
Data%20Set%20Module.xml
...rtalTypeTemplateItem/portal_types/Data%20Set%20Module.xml
+137
-0
Data%20Set.xml
...ta_set/PortalTypeTemplateItem/portal_types/Data%20Set.xml
+176
-0
workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+6
-0
DataSet.xml
...pertySheetTemplateItem/portal_property_sheets/DataSet.xml
+64
-0
activity_category.xml
...Item/portal_property_sheets/DataSet/activity_category.xml
+20
-0
mime_type_category.xml
...tem/portal_property_sheets/DataSet/mime_type_category.xml
+20
-0
publication_section_category.xml
..._property_sheets/DataSet/publication_section_category.xml
+20
-0
purchase_supply_line_property.xml
...property_sheets/DataSet/purchase_supply_line_property.xml
+97
-0
region_category.xml
...teItem/portal_property_sheets/DataSet/region_category.xml
+20
-0
sale_supply_line_property.xml
...tal_property_sheets/DataSet/sale_supply_line_property.xml
+127
-0
TranslatableDescription.xml
...teItem/portal_property_sheets/TranslatableDescription.xml
+64
-0
description_property.xml
...y_sheets/TranslatableDescription/description_property.xml
+63
-0
erp5_data_set.xml
..._data_set/SkinTemplateItem/portal_skins/erp5_data_set.xml
+32
-0
DataSetModule_viewDataSetList.xml
...tal_skins/erp5_data_set/DataSetModule_viewDataSetList.xml
+152
-0
listbox.xml
...s/erp5_data_set/DataSetModule_viewDataSetList/listbox.xml
+214
-0
DataSet_view.xml
...nTemplateItem/portal_skins/erp5_data_set/DataSet_view.xml
+165
-0
my_activity_list.xml
...tal_skins/erp5_data_set/DataSet_view/my_activity_list.xml
+96
-0
my_content_type.xml
...rtal_skins/erp5_data_set/DataSet_view/my_content_type.xml
+111
-0
my_default_purchase_supply_line_source_title.xml
...Set_view/my_default_purchase_supply_line_source_title.xml
+619
-0
my_default_sale_supply_line_aggregate_title.xml
...aSet_view/my_default_sale_supply_line_aggregate_title.xml
+599
-0
my_description.xml
...ortal_skins/erp5_data_set/DataSet_view/my_description.xml
+96
-0
my_reference.xml
.../portal_skins/erp5_data_set/DataSet_view/my_reference.xml
+84
-0
my_region_list.xml
...ortal_skins/erp5_data_set/DataSet_view/my_region_list.xml
+96
-0
my_subject_list.xml
...rtal_skins/erp5_data_set/DataSet_view/my_subject_list.xml
+90
-0
my_title.xml
...Item/portal_skins/erp5_data_set/DataSet_view/my_title.xml
+90
-0
my_translated_validation_state_title.xml
...set/DataSet_view/my_translated_validation_state_title.xml
+115
-0
my_update_frequency.xml
..._skins/erp5_data_set/DataSet_view/my_update_frequency.xml
+101
-0
my_url_string.xml
...portal_skins/erp5_data_set/DataSet_view/my_url_string.xml
+260
-0
Document_setStartDate.xml
...Item/portal_skins/erp5_data_set/Document_setStartDate.xml
+75
-0
change_log
bt5/erp5_data_set/bt/change_log
+9
-0
copyright_list
bt5/erp5_data_set/bt/copyright_list
+1
-0
dependency_list
bt5/erp5_data_set/bt/dependency_list
+2
-0
description
bt5/erp5_data_set/bt/description
+1
-0
license
bt5/erp5_data_set/bt/license
+1
-0
revision
bt5/erp5_data_set/bt/revision
+1
-0
template_action_path_list
bt5/erp5_data_set/bt/template_action_path_list
+2
-0
template_document_id_list
bt5/erp5_data_set/bt/template_document_id_list
+1
-0
template_format_version
bt5/erp5_data_set/bt/template_format_version
+1
-0
template_module_id_list
bt5/erp5_data_set/bt/template_module_id_list
+1
-0
template_portal_type_allowed_content_type_list
...ata_set/bt/template_portal_type_allowed_content_type_list
+3
-0
template_portal_type_base_category_list
bt5/erp5_data_set/bt/template_portal_type_base_category_list
+1
-0
template_portal_type_hidden_content_type_list
...data_set/bt/template_portal_type_hidden_content_type_list
+2
-0
template_portal_type_id_list
bt5/erp5_data_set/bt/template_portal_type_id_list
+2
-0
template_portal_type_workflow_chain_list
...erp5_data_set/bt/template_portal_type_workflow_chain_list
+2
-0
template_property_sheet_id_list
bt5/erp5_data_set/bt/template_property_sheet_id_list
+2
-0
template_skin_id_list
bt5/erp5_data_set/bt/template_skin_id_list
+1
-0
title
bt5/erp5_data_set/bt/title
+1
-0
version
bt5/erp5_data_set/bt/version
+1
-0
ShaCache.py
bt5/erp5_web_shacache/ExtensionTemplateItem/ShaCache.py
+117
-0
registered_skin_selection.xml
...edSkinSelectionTemplateItem/registered_skin_selection.xml
+18
-0
erp5_web_shacache.xml
...cache/SkinTemplateItem/portal_skins/erp5_web_shacache.xml
+47
-0
Base_setObject.xml
...ateItem/portal_skins/erp5_web_shacache/Base_setObject.xml
+28
-0
WebSection_getDocumentValue.xml
...l_skins/erp5_web_shacache/WebSection_getDocumentValue.xml
+28
-0
erp5_web_shacache_core.xml
.../SkinTemplateItem/portal_skins/erp5_web_shacache_core.xml
+32
-0
Base_putFactory.xml
...m/portal_skins/erp5_web_shacache_core/Base_putFactory.xml
+28
-0
ShaCacheMixin.py
bt5/erp5_web_shacache/TestTemplateItem/ShaCacheMixin.py
+76
-0
testShaCache.py
bt5/erp5_web_shacache/TestTemplateItem/testShaCache.py
+114
-0
change_log
bt5/erp5_web_shacache/bt/change_log
+5
-0
copyright_list
bt5/erp5_web_shacache/bt/copyright_list
+1
-0
dependency_list
bt5/erp5_web_shacache/bt/dependency_list
+1
-0
license
bt5/erp5_web_shacache/bt/license
+1
-0
maintainer_list
bt5/erp5_web_shacache/bt/maintainer_list
+2
-0
revision
bt5/erp5_web_shacache/bt/revision
+1
-0
template_extension_id_list
bt5/erp5_web_shacache/bt/template_extension_id_list
+1
-0
template_format_version
bt5/erp5_web_shacache/bt/template_format_version
+1
-0
template_registered_skin_selection_list
...5_web_shacache/bt/template_registered_skin_selection_list
+5
-0
template_skin_id_list
bt5/erp5_web_shacache/bt/template_skin_id_list
+2
-0
template_test_id_list
bt5/erp5_web_shacache/bt/template_test_id_list
+2
-0
title
bt5/erp5_web_shacache/bt/title
+1
-0
version
bt5/erp5_web_shacache/bt/version
+1
-0
ShaDir.py
bt5/erp5_web_shadir/ExtensionTemplateItem/ShaDir.py
+108
-0
registered_skin_selection.xml
...edSkinSelectionTemplateItem/registered_skin_selection.xml
+18
-0
erp5_web_shadir.xml
..._shadir/SkinTemplateItem/portal_skins/erp5_web_shadir.xml
+47
-0
Base_setObject.xml
...plateItem/portal_skins/erp5_web_shadir/Base_setObject.xml
+28
-0
WebSection_getDocumentValue.xml
...tal_skins/erp5_web_shadir/WebSection_getDocumentValue.xml
+28
-0
WebSite_getJSONSchema.xml
...em/portal_skins/erp5_web_shadir/WebSite_getJSONSchema.xml
+105
-0
ShaDirMixin.py
bt5/erp5_web_shadir/TestTemplateItem/ShaDirMixin.py
+105
-0
testShaDir.py
bt5/erp5_web_shadir/TestTemplateItem/testShaDir.py
+192
-0
change_log
bt5/erp5_web_shadir/bt/change_log
+15
-0
copyright_list
bt5/erp5_web_shadir/bt/copyright_list
+1
-0
dependency_list
bt5/erp5_web_shadir/bt/dependency_list
+3
-0
description
bt5/erp5_web_shadir/bt/description
+1
-0
license
bt5/erp5_web_shadir/bt/license
+1
-0
maintainer_list
bt5/erp5_web_shadir/bt/maintainer_list
+2
-0
revision
bt5/erp5_web_shadir/bt/revision
+1
-0
template_extension_id_list
bt5/erp5_web_shadir/bt/template_extension_id_list
+1
-0
template_format_version
bt5/erp5_web_shadir/bt/template_format_version
+1
-0
template_registered_skin_selection_list
...rp5_web_shadir/bt/template_registered_skin_selection_list
+4
-0
template_skin_id_list
bt5/erp5_web_shadir/bt/template_skin_id_list
+1
-0
template_test_id_list
bt5/erp5_web_shadir/bt/template_test_id_list
+2
-0
title
bt5/erp5_web_shadir/bt/title
+1
-0
version
bt5/erp5_web_shadir/bt/version
+1
-0
data_set_module.xml
...workcache_erp5/LocalRolesTemplateItem/data_set_module.xml
+7
-0
document_module.xml
...workcache_erp5/LocalRolesTemplateItem/document_module.xml
+10
-0
image_module.xml
...networkcache_erp5/LocalRolesTemplateItem/image_module.xml
+10
-0
portal_contributions.xml
...ache_erp5/LocalRolesTemplateItem/portal_contributions.xml
+10
-0
shacache.xml
...rp5/PathTemplateItem/portal_categories/group/shacache.xml
+81
-0
shadir.xml
..._erp5/PathTemplateItem/portal_categories/group/shadir.xml
+89
-0
Contribution%20Tool.xml
..._erp5/PortalTypeRolesTemplateItem/Contribution%20Tool.xml
+12
-0
Data%20Set%20Module.xml
..._erp5/PortalTypeRolesTemplateItem/Data%20Set%20Module.xml
+7
-0
Data%20Set.xml
...workcache_erp5/PortalTypeRolesTemplateItem/Data%20Set.xml
+12
-0
Document%20Module.xml
...he_erp5/PortalTypeRolesTemplateItem/Document%20Module.xml
+12
-0
Drawing.xml
...networkcache_erp5/PortalTypeRolesTemplateItem/Drawing.xml
+7
-0
File.xml
bt5/networkcache_erp5/PortalTypeRolesTemplateItem/File.xml
+7
-0
Image%20Module.xml
...cache_erp5/PortalTypeRolesTemplateItem/Image%20Module.xml
+7
-0
Image.xml
bt5/networkcache_erp5/PortalTypeRolesTemplateItem/Image.xml
+7
-0
PDF.xml
bt5/networkcache_erp5/PortalTypeRolesTemplateItem/PDF.xml
+7
-0
Presentation.xml
...rkcache_erp5/PortalTypeRolesTemplateItem/Presentation.xml
+7
-0
Spreadsheet.xml
...orkcache_erp5/PortalTypeRolesTemplateItem/Spreadsheet.xml
+7
-0
Text.xml
bt5/networkcache_erp5/PortalTypeRolesTemplateItem/Text.xml
+12
-0
ShaSecurityMixin.py
bt5/networkcache_erp5/TestTemplateItem/ShaSecurityMixin.py
+76
-0
testShaCacheExternal.py
...etworkcache_erp5/TestTemplateItem/testShaCacheExternal.py
+143
-0
testShaCacheSecurity.py
...etworkcache_erp5/TestTemplateItem/testShaCacheSecurity.py
+218
-0
testShaDirExternal.py
bt5/networkcache_erp5/TestTemplateItem/testShaDirExternal.py
+173
-0
testShaDirSecurity.py
bt5/networkcache_erp5/TestTemplateItem/testShaDirSecurity.py
+228
-0
change_log
bt5/networkcache_erp5/bt/change_log
+2
-0
copyright_list
bt5/networkcache_erp5/bt/copyright_list
+1
-0
dependency_list
bt5/networkcache_erp5/bt/dependency_list
+2
-0
license
bt5/networkcache_erp5/bt/license
+1
-0
revision
bt5/networkcache_erp5/bt/revision
+1
-0
template_format_version
bt5/networkcache_erp5/bt/template_format_version
+1
-0
template_local_role_list
bt5/networkcache_erp5/bt/template_local_role_list
+4
-0
template_local_roles_list
bt5/networkcache_erp5/bt/template_local_roles_list
+4
-0
template_path_list
bt5/networkcache_erp5/bt/template_path_list
+4
-0
template_portal_type_role_list
bt5/networkcache_erp5/bt/template_portal_type_role_list
+12
-0
template_portal_type_roles_list
bt5/networkcache_erp5/bt/template_portal_type_roles_list
+12
-0
template_test_id_list
bt5/networkcache_erp5/bt/template_test_id_list
+5
-0
title
bt5/networkcache_erp5/bt/title
+1
-0
version
bt5/networkcache_erp5/bt/version
+1
-0
virtual_folder.py
product/ERP5/mixin/virtual_folder.py
+86
-0
No files found.
bt5/erp5_data_set/ActionTemplateItem/portal_types/Data%20Set%20Module/view.xml
0 → 100644
View file @
9828ce35
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_list
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_list
</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>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</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>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/DataSetModule_viewDataSetList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_data_set/ActionTemplateItem/portal_types/Data%20Set/view.xml
0 → 100644
View file @
9828ce35
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_view
</string>
</tuple>
</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>
<none/>
</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>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</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>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/DataSet_view
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_data_set/DocumentTemplateItem/DataSet.py
0 → 100644
View file @
9828ce35
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
# Fabien Morin <fabien@nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# garantees and support are strongly adviced to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5.Document.Resource
import
Resource
class
DataSet
(
Resource
):
"""
"""
meta_type
=
'ERP5 Data Set'
portal_type
=
'Data Set'
add_permission
=
Permissions
.
AddPortalContent
# Declarative security
security
=
ClassSecurityInfo
()
security
.
declareObjectProtected
(
Permissions
.
AccessContentsInformation
)
# Declarative properties
property_sheets
=
(
PropertySheet
.
TextDocument
,
PropertySheet
.
Document
,
PropertySheet
.
Version
,
PropertySheet
.
Url
,
PropertySheet
.
Data
,
PropertySheet
.
Task
,
PropertySheet
.
TranslatableDescription
,
PropertySheet
.
DataSet
,
)
# content_type property is also a method from PortalFolder, so we need a
# valid type by default.
content_type
=
''
bt5/erp5_data_set/ModuleTemplateItem/data_set_module.xml
0 → 100644
View file @
9828ce35
<module>
<category_list>
<category>
business_application/data_publica
</category>
</category_list>
<id>
data_set_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>
</permission>
<permission
type=
'tuple'
>
<name>
Access contents information
</name>
<role>
Anonymous
</role>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<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>
</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 folders
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Change local roles
</name>
<role>
Assignor
</role>
<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>
Delete objects
</name>
<role>
Assignor
</role>
<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>
</permission>
<permission
type=
'tuple'
>
<name>
Modify portal content
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<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>
</permission>
</permission_list>
<portal_type>
Data Set Module
</portal_type>
<title>
Data Sets
</title>
</module>
\ No newline at end of file
bt5/erp5_data_set/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
0 → 100644
View file @
9828ce35
<allowed_content_type_list>
<portal_type
id=
"Data Set"
>
<item>
Purchase Supply Line
</item>
<item>
Sale Supply Line
</item>
</portal_type>
<portal_type
id=
"Data Set Module"
>
<item>
Data Set
</item>
</portal_type>
</allowed_content_type_list>
\ No newline at end of file
bt5/erp5_data_set/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
0 → 100644
View file @
9828ce35
<base_category_list>
<portal_type
id=
"Data Set Module"
>
<item>
business_application
</item>
</portal_type>
</base_category_list>
\ No newline at end of file
bt5/erp5_data_set/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
0 → 100644
View file @
9828ce35
<hidden_content_type_list>
<portal_type
id=
"Data Set"
>
<item>
Purchase Supply Line
</item>
<item>
Sale Supply Line
</item>
</portal_type>
</hidden_content_type_list>
\ No newline at end of file
bt5/erp5_data_set/PortalTypeTemplateItem/portal_types/Data%20Set%20Module.xml
0 → 100644
View file @
9828ce35
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<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>
content_icon
</string>
</key>
<value>
<string>
folder_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
\n
A Folder is a subclass of Base but not of XMLObject.\n
Folders are not considered as documents and are therefore\n
not synchronisable.\n
\n
ERP5 folders are implemented as CMFBTreeFolder objects\n
and can store up to a million documents on a standard\n
computer.\n
ERP5 folders will eventually use in the near future the\n
AdaptableStorage implementation in order to reach performances\n
of 10 or 100 millions of documents in a single folder.\n
\n
ERP5 folders include an automatic id generation feature\n
which allows user not to define an id when they create\n
a new document in a folder.\n
\n
ERP5 folders use the ZSQLCatalog to search for objects\n
or display content. This requires a method called\n
*z_search_folder* to be put inside the ZSQLCatalog object\n
of the ERP5 portal.\n
\n
An ERP5 Binder document class will eventually be defined\n
in order to implement a binder of documents which can itself\n
be categorized.\n
</string>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addFolder
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple>
<string>
module
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string>
document_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Data Set Module
</string>
</value>
</item>
<item>
<key>
<string>
immediate_view
</string>
</key>
<value>
<string>
Folder_view
</string>
</value>
</item>
<item>
<key>
<string>
meta_type
</string>
</key>
<value>
<string>
ERP5 Folder
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
product
</string>
</key>
<value>
<string>
ERP5Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Folder
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</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>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</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>
bt5/erp5_data_set/PortalTypeTemplateItem/portal_types/Data%20Set.xml
0 → 100644
View file @
9828ce35
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_property_domain_dict
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
ERP5 default document. Supports synchronisation and XML.
</string>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addDataSet
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple>
<string>
product
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string>
document_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Data Set
</string>
</value>
</item>
<item>
<key>
<string>
immediate_view
</string>
</key>
<value>
<string>
XMLObject_view
</string>
</value>
</item>
<item>
<key>
<string>
init_script
</string>
</key>
<value>
<string>
Document_setStartDate
</string>
</value>
</item>
<item>
<key>
<string>
meta_type
</string>
</key>
<value>
<string>
ERP5 XML Object
</string>
</value>
</item>
<item>
<key>
<string>
permission
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
product
</string>
</key>
<value>
<string>
ERP5Type
</string>
</value>
</item>
<item>
<key>
<string>
searchable_text_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
searchable_text_property_id
</string>
</key>
<value>
<tuple>
<string>
title
</string>
<string>
description
</string>
<string>
subject_list
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
DataSet
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
content_translation
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
description
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_content
</string>
</value>
</item>
<item>
<