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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5
Commits
87884e2a
Commit
87884e2a
authored
Sep 27, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_xhtml_style] Support for fast input migration
parent
e70ca940
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.py
...em/portal_skins/erp5_xhtml_style/Base_fixDialogActions.py
+2
-0
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_fixDialogActions.py
View file @
87884e2a
...
...
@@ -9,6 +9,8 @@ elif dialog_category == 'object_exchange':
return
sorted
(
actions
.
get
(
'object_exchange'
,
[])
+
actions
.
get
(
'object_jio_exchange'
,
[]),
key
=
lambda
x
:
x
[
"priority"
])
elif
dialog_category
==
'object_action'
:
return
sorted
(
actions
.
get
(
'object_action'
,
[])
+
actions
.
get
(
'object_jio_action'
,
[]),
key
=
lambda
x
:
x
[
"priority"
])
elif
dialog_category
==
'object_fast_input'
:
return
sorted
(
actions
.
get
(
'object_fast_input'
,
[])
+
actions
.
get
(
'object_jio_fast_input'
,
[]),
key
=
lambda
x
:
x
[
"priority"
])
if
dialog_category
!=
'object_print'
:
return
actions
.
get
(
dialog_category
,
[])
...
...
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