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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
erp5
Commits
90ea2e4f
Commit
90ea2e4f
authored
Feb 08, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop old logging.
parent
2b727c32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
product/ERP5/Document/BusinessLink.py
product/ERP5/Document/BusinessLink.py
+0
-5
No files found.
product/ERP5/Document/BusinessLink.py
View file @
90ea2e4f
...
@@ -38,8 +38,6 @@ from Products.ERP5.ExplanationCache import _getExplanationCache
...
@@ -38,8 +38,6 @@ from Products.ERP5.ExplanationCache import _getExplanationCache
import
zope.interface
import
zope.interface
from
zLOG
import
LOG
class
BusinessLink
(
Path
,
Predicate
):
class
BusinessLink
(
Path
,
Predicate
):
"""
"""
The BusinessLink class embeds all information related to
The BusinessLink class embeds all information related to
...
@@ -231,10 +229,8 @@ class BusinessLink(Path, Predicate):
...
@@ -231,10 +229,8 @@ class BusinessLink(Path, Predicate):
implicitely defines a simulation subtree and a union
implicitely defines a simulation subtree and a union
business process.
business process.
"""
"""
LOG
(
'Entering BusinessLink.isDelivered '
,
0
,
repr
(
explanation
))
for
simulation_movement
in
self
.
_getExplanationRelatedSimulationMovementValueList
(
for
simulation_movement
in
self
.
_getExplanationRelatedSimulationMovementValueList
(
explanation
):
explanation
):
LOG
(
'in isDelivered with '
,
0
,
repr
(
simulation_movement
))
if
not
simulation_movement
.
getDelivery
():
if
not
simulation_movement
.
getDelivery
():
return
False
return
False
return
True
return
True
...
@@ -252,5 +248,4 @@ class BusinessLink(Path, Predicate):
...
@@ -252,5 +248,4 @@ class BusinessLink(Path, Predicate):
for
builder
in
builder_list
:
# XXX-JPS Do we really need a builder list ? wouldn't predicate be more useful ?
for
builder
in
builder_list
:
# XXX-JPS Do we really need a builder list ? wouldn't predicate be more useful ?
# Call build on each builder
# Call build on each builder
# Provide 2 parameters: self and and explanation_cache
# Provide 2 parameters: self and and explanation_cache
LOG
(
'Invoking Builder'
,
0
,
repr
((
builder
,
self
,
explanation
,
kw
)))
builder
.
build
(
explanation
=
explanation
,
business_link
=
self
,
**
kw
)
builder
.
build
(
explanation
=
explanation
,
business_link
=
self
,
**
kw
)
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