Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
db9f1c72
Commit
db9f1c72
authored
Jan 10, 2017
by
LE GAC Renaud
Browse files
Update ui_selector to fix duplicated keys in categories.
parent
cd9c4eb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
modules/plugin_event/ui_selector.py
modules/plugin_event/ui_selector.py
+8
-2
No files found.
modules/plugin_event/ui_selector.py
View file @
db9f1c72
...
...
@@ -54,15 +54,21 @@ class SelectorUi(object):
mdf
.
configure_field
(
"id_domains"
,
emptyText
=
text
,
xtype
=
mytype
)
mdf
.
configure_field
(
"id_fundings"
,
emptyText
=
text
,
xtype
=
mytype
)
# to have an unique key use xcomboboxmaster instead of userreset
mdf
.
configure_field
(
"id_object_categories"
,
emptyText
=
text
,
xtype
=
mytype
)
refStore
=
"alias_object_categoriesStore"
,
userReset
=
True
,
xtype
=
"xcomboboxmaster"
)
mdf
.
configure_field
(
"id_object_code"
,
emptyText
=
text
,
xtype
=
mytype
)
# to have an unique key use xcomboboxmaster instead of userreset
mdf
.
configure_field
(
"id_people_categories"
,
emptyText
=
text
,
xtype
=
mytype
)
refStore
=
"alias_people_categoriesStore"
,
userReset
=
True
,
xtype
=
"xcomboboxmaster"
)
mdf
.
configure_field
(
"id_people_code"
,
emptyText
=
text
,
xtype
=
mytype
)
mdf
.
configure_field
(
"id_teams"
,
emptyText
=
text
,
xtype
=
mytype
)
...
...
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