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
Laurent S
erp5
Commits
8d742b10
Commit
8d742b10
authored
Jan 17, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo.
parent
3c7fe462
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 @
8d742b10
...
@@ -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
)
==
0
:
if
len
(
business_link
_list
)
==
0
:
raise
ValueError
(
'Business Link predicate matches too many '
raise
ValueError
(
'Business Link predicate matches too many '
'movements.'
)
'movements.'
)
if
len
(
business_link
)
>
1
:
if
len
(
business_link
_list
)
>
1
:
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