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
1bb79a39
Commit
1bb79a39
authored
Jul 21, 2017
by
Tomáš Peterka
Committed by
Tomáš Peterka
Jul 21, 2017
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_ui_test] Be always explicit (with sorting) and bugfix fr arguments to FooModule_createObjects
parent
0f26fa07
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooModule_createObjects.py
...Item/portal_skins/erp5_ui_test/FooModule_createObjects.py
+2
-0
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBox_setPropertyList.py
...Item/portal_skins/erp5_ui_test/ListBox_setPropertyList.py
+1
-1
No files found.
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/FooModule_createObjects.py
View file @
1bb79a39
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
from
DateTime
import
DateTime
from
DateTime
import
DateTime
category_list
=
(
'a'
,
'b'
,
'a/a1'
,
'a/a2'
)
category_list
=
(
'a'
,
'b'
,
'a/a1'
,
'a/a2'
)
big_category_list
=
(
'c1'
,
'c10'
,
'c2'
,
'c20'
,
'c3'
,
'c4'
)
big_category_list
=
(
'c1'
,
'c10'
,
'c2'
,
'c20'
,
'c3'
,
'c4'
)
start
=
int
(
start
)
num
=
int
(
num
)
for
i
in
range
(
start
,
start
+
num
):
for
i
in
range
(
start
,
start
+
num
):
category
=
category_list
[
i
%
len
(
category_list
)]
category
=
category_list
[
i
%
len
(
category_list
)]
...
...
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBox_setPropertyList.py
View file @
1bb79a39
...
@@ -18,7 +18,7 @@ d = dict(
...
@@ -18,7 +18,7 @@ d = dict(
field_all_columns
=
''
,
field_all_columns
=
''
,
field_search_columns
=
''
,
field_search_columns
=
''
,
field_sort_columns
=
''
,
field_sort_columns
=
''
,
field_sort
=
'id'
,
# Very important, this allow to test tales expression on listbox_XXX fields
field_sort
=
'id
| DESC
'
,
# Very important, this allow to test tales expression on listbox_XXX fields
field_editable_columns
=
'id'
,
field_editable_columns
=
'id'
,
field_stat_columns
=
''
,
field_stat_columns
=
''
,
field_url_columns
=
''
,
field_url_columns
=
''
,
...
...
Tomáš Peterka
@katomaso
mentioned in commit
c5601bb5
·
Oct 06, 2017
mentioned in commit
c5601bb5
mentioned in commit c5601bb5d5d869e7f5475cf9df2f3b3a3fc22e34
Toggle commit list
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