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
alecs_myu
erp5
Commits
dc047405
Commit
dc047405
authored
Nov 04, 2014
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve politesses 3
parent
0d03838b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+1
-2
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
dc047405
...
@@ -5817,7 +5817,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -5817,7 +5817,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
bt_portal_types_id_list
=
list
(
self
.
getTemplatePortalTypeIdList
())
bt_portal_types_id_list
=
list
(
self
.
getTemplatePortalTypeIdList
())
bt_portal_type_roles_list
=
list
(
self
.
getTemplatePortalTypeRoleList
())
bt_portal_type_roles_list
=
list
(
self
.
getTemplatePortalTypeRoleList
())
bt_wf_chain_list
=
list
(
self
.
getTemplatePortalTypeWorkflowChainList
())
bt_wf_chain_list
=
list
(
self
.
getTemplatePortalTypeWorkflowChainList
())
Base_translateString
=
self
.
Base_translateString
for
id
in
bt_portal_types_id_list
:
for
id
in
bt_portal_types_id_list
:
portal_type
=
ttool
.
getTypeInfo
(
id
)
portal_type
=
ttool
.
getTypeInfo
(
id
)
...
@@ -5865,7 +5864,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
...
@@ -5865,7 +5864,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
for
act_id
in
action_list
:
for
act_id
in
action_list
:
if
act_id
is
None
:
if
act_id
is
None
:
return
(
1
,
Base_translateString
(
return
(
1
,
self
.
Base_translateString
(
"ERROR: An action has an empty id on portal_type ${id}"
,
"ERROR: An action has an empty id on portal_type ${id}"
,
mapping
=
dict
(
id
=
id
)))
mapping
=
dict
(
id
=
id
)))
action_id
=
id
+
' | '
+
act_id
action_id
=
id
+
' | '
+
act_id
...
...
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