Commit be9b486c authored by Benjamin Blanc's avatar Benjamin Blanc

fixup! erp5_configurator_standard: update erp5_simulation dependecie object

parent 2f09692a
......@@ -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>
......
......@@ -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_line(browser, my_title, result) :
def addOrderLine(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_string(random.randint(1,100))
my_str = generateString(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_line(browser, my_title, result)
addOrderLine(browser, my_title, result)
browser.open(my_order_sale_url)
......
......@@ -5,7 +5,7 @@ import random
import time
import string
import genericToolToFillForm
from genericToolToFillForm import *
from utils import *
PREFIX_TITLE = ""
......
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