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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
amrani
erp5
Commits
be9b486c
Commit
be9b486c
authored
Jul 22, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! erp5_configurator_standard: update erp5_simulation dependecie object
parent
2f09692a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
bt5/erp5_configurator_standard/PathTemplateItem/business_configuration_module/1/1/17.xml
...PathTemplateItem/business_configuration_module/1/1/17.xml
+4
-0
erp5/util/benchmark/examples/createSaleOrder.py
erp5/util/benchmark/examples/createSaleOrder.py
+4
-4
erp5/util/benchmark/examples/createWebPage.py
erp5/util/benchmark/examples/createWebPage.py
+1
-1
No files found.
bt5/erp5_configurator_standard/PathTemplateItem/business_configuration_module/1/1/17.xml
View file @
be9b486c
...
...
@@ -12,6 +12,10 @@
<none/>
</value>
</item>
<item>
<key>
<string>
bt5_id
</string>
</key>
<value>
<string>
erp5_dhtml_style
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
17
</string>
</value>
...
...
erp5/util/benchmark/examples/createSaleOrder.py
View file @
be9b486c
...
...
@@ -5,7 +5,7 @@ import random
import
time
import
string
import
genericToolToFillForm
from
genericToolToFillForm
import
*
from
utils
import
*
if
False
:
TMIN_SLEEP
=
0
...
...
@@ -19,7 +19,7 @@ PREFIX_TITLE = ""
MAX_PRODUCT
=
5
def
add
_order_l
ine
(
browser
,
my_title
,
result
)
:
def
add
OrderL
ine
(
browser
,
my_title
,
result
)
:
"""
Add an order line to the sale order
...
...
@@ -82,7 +82,7 @@ def createSaleOrder(result, browser):
browser
.
mainForm
.
getControl
(
name
=
'field_my_title'
).
value
=
my_title
# Set some random informations
my_str
=
gen
_s
tring
(
random
.
randint
(
1
,
100
))
my_str
=
gen
erateS
tring
(
random
.
randint
(
1
,
100
))
browser
.
mainForm
.
getControl
(
name
=
'field_my_comment'
).
value
=
my_str
browser
.
mainForm
.
getControl
(
name
=
'field_my_description'
).
value
=
my_str
...
...
@@ -124,7 +124,7 @@ def createSaleOrder(result, browser):
# Add Sale order lines
max_ite
=
random
.
randint
(
1
,
MAX_PRODUCT
)
for
i
in
range
(
0
,
max_ite
)
:
add
_order_l
ine
(
browser
,
my_title
,
result
)
add
OrderL
ine
(
browser
,
my_title
,
result
)
browser
.
open
(
my_order_sale_url
)
...
...
erp5/util/benchmark/examples/createWebPage.py
View file @
be9b486c
...
...
@@ -5,7 +5,7 @@ import random
import
time
import
string
import
genericToolToFillForm
from
genericToolToFillForm
import
*
from
utils
import
*
PREFIX_TITLE
=
""
...
...
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