Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
b68c12ee
Commit
b68c12ee
authored
Aug 01, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bt5_config: Update sortPathList to compare paths with properties also
parent
708e9508
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
product/ERP5/Tool/TemplateTool.py
product/ERP5/Tool/TemplateTool.py
+4
-0
No files found.
product/ERP5/Tool/TemplateTool.py
View file @
b68c12ee
...
...
@@ -2124,6 +2124,10 @@ class TemplateTool (BaseTool):
"""
def
comparePath
(
path
):
split_path_list
=
path
.
split
(
'/'
)
# Paths with property item should have the least priority as they should
# be installed after installing the object only
if
'#'
in
path
:
return
11
if
len
(
split_path_list
)
==
2
and
split_path_list
[
0
]
in
(
'portal_types'
,
'portal_categories'
):
return
1
if
len
(
split_path_list
)
>
2
:
...
...
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