Commit cd4de818 authored by Tomáš Peterka's avatar Tomáš Peterka

[erp5_ui] Fix Foo_createObject script to accept arguments start and num

parent 94ac9311
......@@ -2,6 +2,8 @@
from DateTime import DateTime
category_list = ('a', 'b', 'a/a1', 'a/a2')
big_category_list = ('c1', 'c10', 'c2', 'c20', 'c3', 'c4')
start = int(start)
num = int(num)
for i in range(start, start + num):
category = category_list[i % len(category_list)]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment