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
Levin Zimmermann
erp5
Commits
d7a41da3
Commit
d7a41da3
authored
Jan 17, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Yet another typo.
parent
8d742b10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5/Document/SimulationMovement.py
product/ERP5/Document/SimulationMovement.py
+2
-2
No files found.
product/ERP5/Document/SimulationMovement.py
View file @
d7a41da3
...
@@ -662,10 +662,10 @@ class SimulationMovement(PropertyRecordableMixin, Movement, ExplainableMixin):
...
@@ -662,10 +662,10 @@ class SimulationMovement(PropertyRecordableMixin, Movement, ExplainableMixin):
# no direct business link set on movement, use predicate to find one
# no direct business link set on movement, use predicate to find one
business_link_list
=
composed_document
.
getBusinessLinkValueList
(
business_link_list
=
composed_document
.
getBusinessLinkValueList
(
context
=
current
)
context
=
current
)
if
len
(
business_link_list
)
==
0
:
if
len
(
business_link_list
)
>
1
:
raise
ValueError
(
'Business Link predicate matches too many '
raise
ValueError
(
'Business Link predicate matches too many '
'movements.'
)
'movements.'
)
if
len
(
business_link_list
)
>
1
:
if
len
(
business_link_list
)
==
0
:
raise
ValueError
(
'Simulation Movement has no Business Link related '
raise
ValueError
(
'Simulation Movement has no Business Link related '
'and no Business Link from current Business Process matches'
)
'and no Business Link from current Business Process matches'
)
business_link
=
business_link_list
[
0
].
getRelativeUrl
()
business_link
=
business_link_list
[
0
].
getRelativeUrl
()
...
...
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