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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
erp5
Commits
13919866
Commit
13919866
authored
Oct 20, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Oct 27, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: ERP5Site_updateTranslationTable get id and title by old way.
parent
15d3e426
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.xml
...ortal_skins/erp5_core/ERP5Site_updateTranslationTable.xml
+2
-2
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_updateTranslationTable.xml
View file @
13919866
...
...
@@ -74,7 +74,7 @@ portal_workflow = context.portal_workflow\n
portal_type_list = context.portal_types.objectValues()\n
chain_dict = portal_workflow.getChainsByType()\n
for portal_type in portal_type_list:\n
pt_id = portal_type.
getId()
\n
pt_id = portal_type.
id
\n
associated_workflow_id_list = []\n
associated_workflow_id_list.extend(portal_type.getTypeWorkflowList())\n
if pt_id in chain_dict:\n
...
...
@@ -96,7 +96,7 @@ for portal_type in portal_type_list:\n
translated_message=translated_message))\n
\n
# translate state title as well\n
state_title = state.
getTitle()
\n
state_title = state.
title
\n
if state_title is not None and state_title != \'\':\n
state_var_title = \'%s_title\' % state_var\n
msg_id = getMessageIdWithContext(state_title, \'state\', wf_id)\n
...
...
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