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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
92c16974
Commit
92c16974
authored
Feb 14, 2023
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! scalability_test: script to create some sales order
parent
3b7dc3bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_scalability_test/SkinTemplateItem/portal_skins/erp5_scalability_test/ERP5Site_createScalabilityTestSaleOrderBatch.py
...lity_test/ERP5Site_createScalabilityTestSaleOrderBatch.py
+1
-1
No files found.
bt5/erp5_scalability_test/SkinTemplateItem/portal_skins/erp5_scalability_test/ERP5Site_createScalabilityTestSaleOrderBatch.py
View file @
92c16974
...
@@ -69,7 +69,7 @@ for brain in portal.portal_catalog(
...
@@ -69,7 +69,7 @@ for brain in portal.portal_catalog(
simulation_state
=
'confirmed'
,):
simulation_state
=
'confirmed'
,):
spl
=
brain
.
getObject
()
spl
=
brain
.
getObject
()
if
spl
.
getSimulationState
()
==
'confirmed'
and
not
spl
.
hasActivity
():
if
spl
.
getSimulationState
()
==
'confirmed'
and
not
spl
.
hasActivity
():
spl
.
cancel
()
spl
.
activate
().
cancel
()
# XXX activate because we sometimes have conflict errors here
# undo redirect from SaleOrder_applySaleTradeCondition
# undo redirect from SaleOrder_applySaleTradeCondition
container
.
REQUEST
.
RESPONSE
.
setStatus
(
200
)
container
.
REQUEST
.
RESPONSE
.
setStatus
(
200
)
...
...
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