Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
e7a47e6c
Commit
e7a47e6c
authored
Jul 06, 2016
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_catalog: Update proeprty sheets Catalog and CatalogTool
parent
619712ad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
36 deletions
+2
-36
product/ERP5Catalog/PropertySheet/Catalog.py
product/ERP5Catalog/PropertySheet/Catalog.py
+1
-33
product/ERP5Catalog/PropertySheet/CatalogTool.py
product/ERP5Catalog/PropertySheet/CatalogTool.py
+1
-3
No files found.
product/ERP5Catalog/PropertySheet/Catalog.py
View file @
e7a47e6c
...
@@ -38,136 +38,111 @@ class Catalog():
...
@@ -38,136 +38,111 @@ class Catalog():
{
'id'
:
'sql_catalog_produce_reserved'
,
{
'id'
:
'sql_catalog_produce_reserved'
,
'description'
:
'A method to produce new uid values in advance'
,
'description'
:
'A method to produce new uid values in advance'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
''
},
'default'
:
''
},
{
'id'
:
'sql_catalog_clear_reserved'
,
{
'id'
:
'sql_catalog_clear_reserved'
,
'description'
:
'A method to clear reserved uid values'
,
'description'
:
'A method to clear reserved uid values'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
''
},
'default'
:
''
},
{
'id'
:
'sql_catalog_reserve_uid'
,
{
'id'
:
'sql_catalog_reserve_uid'
,
'description'
:
'A method to reserve a uid value'
,
'description'
:
'A method to reserve a uid value'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
''
},
'default'
:
''
},
{
'id'
:
'sql_catalog_delete_uid'
,
{
'id'
:
'sql_catalog_delete_uid'
,
'description'
:
'A method to delete a uid value'
,
'description'
:
'A method to delete a uid value'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
''
},
'default'
:
''
},
{
'id'
:
'sql_catalog_object_list'
,
{
'id'
:
'sql_catalog_object_list'
,
'description'
:
'Methods to be called to catalog the list of objects'
,
'description'
:
'Methods to be called to catalog the list of objects'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_uncatalog_object'
,
{
'id'
:
'sql_uncatalog_object'
,
'description'
:
'Methods to be called to uncatalog an object'
,
'description'
:
'Methods to be called to uncatalog an object'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_catalog_translation_list'
,
{
'id'
:
'sql_catalog_translation_list'
,
'description'
:
'Methods to be called to catalog the list of translation objects'
,
'description'
:
'Methods to be called to catalog the list of translation objects'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_delete_translation_list'
,
{
'id'
:
'sql_delete_translation_list'
,
'description'
:
'Methods to be called to delete translations'
,
'description'
:
'Methods to be called to delete translations'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_clear_catalog'
,
{
'id'
:
'sql_clear_catalog'
,
'description'
:
'The methods which should be called to clear the catalog'
,
'description'
:
'The methods which should be called to clear the catalog'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()},
'default'
:
()},
{
'id'
:
'sql_record_object_list'
,
{
'id'
:
'sql_record_object_list'
,
'description'
:
'Method to record catalog information'
,
'description'
:
'Method to record catalog information'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_read_recorded_object_list'
,
{
'id'
:
'sql_read_recorded_object_list'
,
'description'
:
'Method to get recorded information'
,
'description'
:
'Method to get recorded information'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_delete_recorded_object_list'
,
{
'id'
:
'sql_delete_recorded_object_list'
,
'description'
:
'Method to delete recorded information'
,
'description'
:
'Method to delete recorded information'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_search_results'
,
{
'id'
:
'sql_search_results'
,
'description'
:
'Main method to search the catalog'
,
'description'
:
'Main method to search the catalog'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_search_security'
,
{
'id'
:
'sql_search_security'
,
'description'
:
'Main method to search security'
,
'description'
:
'Main method to search security'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_search_tables'
,
{
'id'
:
'sql_search_tables'
,
'description'
:
'Tables to join in the result'
,
'description'
:
'Tables to join in the result'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getTableIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_search_result_keys'
,
{
'id'
:
'sql_search_result_keys'
,
'description'
:
'Keys to display in the result'
,
'description'
:
'Keys to display in the result'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getResultColumnIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_count_results'
,
{
'id'
:
'sql_count_results'
,
'description'
:
'Main method to search the catalog'
,
'description'
:
'Main method to search the catalog'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_getitem_by_path'
,
{
'id'
:
'sql_getitem_by_path'
,
'description'
:
'Get a catalog brain by path'
,
'description'
:
'Get a catalog brain by path'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_getitem_by_uid'
,
{
'id'
:
'sql_getitem_by_uid'
,
'description'
:
'Get a catalog brain by uid'
,
'description'
:
'Get a catalog brain by uid'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_optimizer_switch'
,
{
'id'
:
'sql_optimizer_switch'
,
'description'
:
'Method to get optimizer_switch value'
,
'description'
:
'Method to get optimizer_switch value'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_catalog_tables'
,
{
'id'
:
'sql_catalog_tables'
,
'description'
:
'Method to get the main catalog tables'
,
'description'
:
'Method to get the main catalog tables'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_catalog_schema'
,
{
'id'
:
'sql_catalog_schema'
,
'description'
:
'Method to get the main catalog schema'
,
'description'
:
'Method to get the main catalog schema'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_catalog_index'
,
{
'id'
:
'sql_catalog_index'
,
'description'
:
'Method to get the main catalog index'
,
'description'
:
'Method to get the main catalog index'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_unique_values'
,
{
'id'
:
'sql_unique_values'
,
'description'
:
'Find unique disctinct values in a column'
,
'description'
:
'Find unique disctinct values in a column'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_catalog_paths'
,
{
'id'
:
'sql_catalog_paths'
,
'description'
:
'List all object paths in catalog'
,
'description'
:
'List all object paths in catalog'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getCatalogMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_catalog_search_keys'
,
{
'id'
:
'sql_catalog_search_keys'
,
'title'
:
'Search Key Mappings'
,
'title'
:
'Search Key Mappings'
,
...
@@ -178,36 +153,30 @@ class Catalog():
...
@@ -178,36 +153,30 @@ class Catalog():
{
'id'
:
'sql_catalog_keyword_search_keys'
,
{
'id'
:
'sql_catalog_keyword_search_keys'
,
'description'
:
'Columns which should be considered as keyword search'
,
'description'
:
'Columns which should be considered as keyword search'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getColumnIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_catalog_datetime_search_keys'
,
{
'id'
:
'sql_catalog_datetime_search_keys'
,
'description'
:
'Columns which should be considered as datetime search'
,
'description'
:
'Columns which should be considered as datetime search'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getColumnIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_catalog_full_text_search_keys'
,
{
'id'
:
'sql_catalog_full_text_search_keys'
,
'description'
:
'Columns which should be considered as full text search'
,
'description'
:
'Columns which should be considered as full text search'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getColumnIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_catalog_request_keys'
,
{
'id'
:
'sql_catalog_request_keys'
,
'description'
:
'Columns which should be ignore in the REQUEST in order to accelerate caching'
,
'description'
:
'Columns which should be ignore in the REQUEST in order to accelerate caching'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getColumnIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_catalog_multivalue_keys'
,
{
'id'
:
'sql_catalog_multivalue_keys'
,
'description'
:
'Keys which hold multiple values'
,
'description'
:
'Keys which hold multiple values'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getColumnIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_catalog_index_on_order_keys'
,
{
'id'
:
'sql_catalog_index_on_order_keys'
,
'description'
:
'Columns which should be used by specifying an index when sorting on them'
,
'description'
:
'Columns which should be used by specifying an index when sorting on them'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getSortColumnIds'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
()
},
'default'
:
()
},
{
'id'
:
'sql_catalog_topic_search_keys'
,
{
'id'
:
'sql_catalog_topic_search_keys'
,
...
@@ -247,7 +216,6 @@ class Catalog():
...
@@ -247,7 +216,6 @@ class Catalog():
'title'
:
'Table vote scripts'
,
'title'
:
'Table vote scripts'
,
'description'
:
'Scripts helping column mapping resolution'
,
'description'
:
'Scripts helping column mapping resolution'
,
'type'
:
'multiple selection'
,
'type'
:
'multiple selection'
,
'select_variable'
:
'getPythonMethodIds'
,
'mode'
:
'w'
},
'mode'
:
'w'
},
{
'id'
:
'sql_catalog_raise_error_on_uid_check'
,
{
'id'
:
'sql_catalog_raise_error_on_uid_check'
,
'title'
:
'Raise error on UID check'
,
'title'
:
'Raise error on UID check'
,
...
...
product/ERP5Catalog/PropertySheet/CatalogTool.py
View file @
e7a47e6c
...
@@ -36,7 +36,6 @@ class CatalogTool() :
...
@@ -36,7 +36,6 @@ class CatalogTool() :
{
'id'
:
'default_sql_catalog_id'
,
{
'id'
:
'default_sql_catalog_id'
,
'description'
:
'The id of the default SQL Catalog'
,
'description'
:
'The id of the default SQL Catalog'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getSQLCatalogIdList'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
None
},
'default'
:
None
},
...
@@ -67,7 +66,6 @@ class CatalogTool() :
...
@@ -67,7 +66,6 @@ class CatalogTool() :
{
'id'
:
'default_erp5_catalog_id'
,
{
'id'
:
'default_erp5_catalog_id'
,
'description'
:
'Default ERP5 Catalog Id'
,
'description'
:
'Default ERP5 Catalog Id'
,
'type'
:
'selection'
,
'type'
:
'selection'
,
'select_variable'
:
'getERP5CatalogIdList'
,
'mode'
:
'w'
,
'mode'
:
'w'
,
'default'
:
None
},
'default'
:
None
},
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment