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 @@ ...@@ -12,6 +12,10 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>bt5_id</string> </key>
<value> <string>erp5_dhtml_style</string> </value>
</item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>17</string> </value> <value> <string>17</string> </value>
......
...@@ -5,7 +5,7 @@ import random ...@@ -5,7 +5,7 @@ import random
import time import time
import string import string
import genericToolToFillForm import genericToolToFillForm
from genericToolToFillForm import * from utils import *
if False : if False :
TMIN_SLEEP = 0 TMIN_SLEEP = 0
...@@ -19,7 +19,7 @@ PREFIX_TITLE = "" ...@@ -19,7 +19,7 @@ PREFIX_TITLE = ""
MAX_PRODUCT = 5 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 Add an order line to the sale order
...@@ -82,7 +82,7 @@ def createSaleOrder(result, browser): ...@@ -82,7 +82,7 @@ def createSaleOrder(result, browser):
browser.mainForm.getControl(name='field_my_title').value = my_title browser.mainForm.getControl(name='field_my_title').value = my_title
# Set some random informations # 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_comment').value = my_str
browser.mainForm.getControl(name='field_my_description').value = my_str browser.mainForm.getControl(name='field_my_description').value = my_str
...@@ -124,7 +124,7 @@ def createSaleOrder(result, browser): ...@@ -124,7 +124,7 @@ def createSaleOrder(result, browser):
# Add Sale order lines # Add Sale order lines
max_ite = random.randint(1,MAX_PRODUCT) max_ite = random.randint(1,MAX_PRODUCT)
for i in range (0, max_ite) : 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) browser.open(my_order_sale_url)
......
...@@ -5,7 +5,7 @@ import random ...@@ -5,7 +5,7 @@ import random
import time import time
import string import string
import genericToolToFillForm import genericToolToFillForm
from genericToolToFillForm import * from utils import *
PREFIX_TITLE = "" 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