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
c4aa3bed
Commit
c4aa3bed
authored
Aug 14, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdbs
parent
e41d4e6f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
product/ERP5/mixin/builder.py
product/ERP5/mixin/builder.py
+1
-0
product/ERP5/mixin/movement_collection_updater.py
product/ERP5/mixin/movement_collection_updater.py
+1
-0
product/ERP5/mixin/rule.py
product/ERP5/mixin/rule.py
+2
-0
No files found.
product/ERP5/mixin/builder.py
View file @
c4aa3bed
...
...
@@ -443,6 +443,7 @@ class BuilderMixin(XMLObject, Amount, Predicate):
if
delivery
is
None
:
if
not
self
.
isDeliveryCreatable
():
import
ipdb
;
ipdb
.
set_trace
()
raise
SelectMethodError
(
'No updatable delivery found with %s'
\
%
(
self
.
getPath
(),))
...
...
product/ERP5/mixin/movement_collection_updater.py
View file @
c4aa3bed
...
...
@@ -117,6 +117,7 @@ class MovementCollectionUpdaterMixin:
no_match
=
False
break
if
no_match
:
import
ipdb
;
ipdb
.
set_trace
()
# There is no matching.
# So, let us add the decision movements to no_group_list
no_group_list
.
append
(
decision_movement
)
...
...
product/ERP5/mixin/rule.py
View file @
c4aa3bed
...
...
@@ -348,6 +348,7 @@ class RuleMixin(Predicate):
"""
# Sample implementation - but it actually looks very generic
#import ipdb; ipdb.set_trace()
# Case 1: movements which are not needed
if
prevision_movement
is
None
:
# decision_movement_list contains simulation movements which must
...
...
@@ -425,6 +426,7 @@ class RuleMixin(Predicate):
movement_collection_diff
.
addUpdatableMovement
(
decision_movement
,
kw
)
else
:
if
decision_movement
.
isFrozen
():
import
ipdb
;
ipdb
.
set_trace
()
# Frozen must be compensated
if
not
_compare
(
divergence_tester_list
,
prevision_movement
,
decision_movement
):
new_movement
=
decision_movement
.
asContext
(
...
...
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