Commit d1aae9ad authored by Benjamin Blanc's avatar Benjamin Blanc

benchmark: createSaleOrder: Remove apply sale trade condition.

Because sale trade condtion is already applied when it is set.
parent 2ea469cd
......@@ -111,11 +111,6 @@ def createSaleOrder(result, browser):
result('SubmitSaleTradeConditionRelation',
browser.mainForm.submit(name='Base_callDialogMethod:method',
sleep=(TMIN_SLEEP, TMAX_SLEEP)))
# Apply sale trade conditions
result('ApplySaleTradeCondition',
browser.mainForm.submitSelectAction(label="Apply Sale Trade Condition",
sleep=(TMIN_SLEEP, TMAX_SLEEP)))
assert browser.getTransitionMessage() == 'Order updated.'
# Add Sale order lines
max_ite = random.randint(1,MAX_PRODUCT)
......
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