Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
2132f921
Commit
2132f921
authored
Mar 22, 2018
by
Tomáš Peterka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_core] Mark generic actions as JIO compatible
parent
3b9d23bf
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
29 additions
and
23 deletions
+29
-23
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Alarm/call_active_sense.xml
...tionTemplateItem/portal_types/Alarm/call_active_sense.xml
+2
-2
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Alarm/solve.xml
...erp5_core/ActionTemplateItem/portal_types/Alarm/solve.xml
+2
-2
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Base%20Type/update_local_roles.xml
...plateItem/portal_types/Base%20Type/update_local_roles.xml
+2
-2
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/export.xml
...nTemplateItem/portal_types/Business%20Template/export.xml
+2
-2
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/get_portal_type_properties.xml
..._types/Business%20Template/get_portal_type_properties.xml
+2
-2
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/guess_portal_types.xml
...m/portal_types/Business%20Template/guess_portal_types.xml
+2
-2
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/save.xml
...ionTemplateItem/portal_types/Business%20Template/save.xml
+2
-2
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Preference%20Type/update_local_roles.xml
...tem/portal_types/Preference%20Type/update_local_roles.xml
+2
-2
product/ERP5/bootstrap/erp5_core/ExtensionTemplateItem/portal_components/extension.erp5.FolderWorkflowActionUtils.py
...al_components/extension.erp5.FolderWorkflowActionUtils.py
+3
-1
product/ERP5/bootstrap/erp5_core/ExtensionTemplateItem/portal_components/extension.erp5.FolderWorkflowActionUtils.xml
...l_components/extension.erp5.FolderWorkflowActionUtils.xml
+3
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_fillPortalTypesFields.py
...skins/erp5_core/BusinessTemplate_fillPortalTypesFields.py
+3
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getPortalTypesProperties.py
...ns/erp5_core/BusinessTemplate_getPortalTypesProperties.py
+3
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CatalogTool_viewCatalogList/my_default_erp5_catalog_id.xml
...atalogTool_viewCatalogList/my_default_erp5_catalog_id.xml
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Alarm/call_active_sense.xml
View file @
2132f921
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Alarm/solve.xml
View file @
2132f921
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Base%20Type/update_local_roles.xml
View file @
2132f921
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/export.xml
View file @
2132f921
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_exchange
</string>
<string>
action_type/object_
jio_
exchange
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_exchange
</string>
</value>
<value>
<string>
object_
jio_
exchange
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/get_portal_type_properties.xml
View file @
2132f921
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/guess_portal_types.xml
View file @
2132f921
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Business%20Template/save.xml
View file @
2132f921
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_exchange
</string>
<string>
action_type/object_
jio_
exchange
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_exchange
</string>
</value>
<value>
<string>
object_
jio_
exchange
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/ActionTemplateItem/portal_types/Preference%20Type/update_local_roles.xml
View file @
2132f921
...
...
@@ -16,13 +16,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_action
</string>
<string>
action_type/object_
jio_
action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_action
</string>
</value>
<value>
<string>
object_
jio_
action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
...
...
product/ERP5/bootstrap/erp5_core/ExtensionTemplateItem/portal_components/extension.erp5.FolderWorkflowActionUtils.py
View file @
2132f921
...
...
@@ -57,8 +57,10 @@ def getDocumentGroupByWorkflowStateList(self, form_id='', **kw):
Base_translateString
=
portal
.
Base_translateString
wf_tool
=
portal
.
portal_workflow
selection_tool
=
portal
.
portal_selections
last_form
=
getattr
(
self
,
form_id
)
selection_name
=
request
[
'selection_name'
]
last_listbox
=
last_form
.
Form_getListbox
()
selection_name
=
last_listbox
.
get_value
(
'selection_name'
)
# guess all column name from catalog schema
possible_state_list
=
[
column_name
.
split
(
'.'
)[
1
]
for
column_name
in
...
...
product/ERP5/bootstrap/erp5_core/ExtensionTemplateItem/portal_components/extension.erp5.FolderWorkflowActionUtils.xml
View file @
2132f921
...
...
@@ -45,7 +45,9 @@
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
<tuple>
<string>
W: 55, 2: Unused variable \'request\' (unused-variable)
</string>
</tuple>
</value>
</item>
<item>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_fillPortalTypesFields.py
View file @
2132f921
...
...
@@ -3,5 +3,6 @@ context.guessPortalTypes()
REQUEST
=
context
.
REQUEST
if
REQUEST
is
not
None
:
ret_url
=
context
.
absolute_url
()
+
'/'
+
REQUEST
.
get
(
'form_id'
,
'view'
)
REQUEST
.
RESPONSE
.
redirect
(
"%s?portal_status_message=Portal+Type+Data+Updated"
%
ret_url
)
return
context
.
Base_redirect
(
REQUEST
.
get
(
"form_id"
,
"view"
),
keep_items
=
{
'portal_status_message'
:
'Portal Types Data Updated'
})
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_getPortalTypesProperties.py
View file @
2132f921
...
...
@@ -3,5 +3,6 @@ context.getPortalTypesProperties()
REQUEST
=
context
.
REQUEST
if
REQUEST
is
not
None
:
ret_url
=
context
.
absolute_url
()
+
'/'
+
REQUEST
.
get
(
'form_id'
,
'view'
)
REQUEST
.
RESPONSE
.
redirect
(
"%s?portal_status_message=Portal+Types+Properties+Updated"
%
ret_url
)
return
context
.
Base_redirect
(
REQUEST
.
get
(
"form_id"
,
"view"
),
keep_items
=
{
'portal_status_message'
:
'Portal Types Properties Updated'
})
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CatalogTool_viewCatalogList/my_default_erp5_catalog_id.xml
View file @
2132f921
...
...
@@ -106,7 +106,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:[
(\'\', \'\')
]+here.getERP5CatalogIdList()
</string>
</value>
<value>
<string>
python:[
\'\',
]+here.getERP5CatalogIdList()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
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