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
Tomáš Peterka
erp5
Commits
b7a04d55
Commit
b7a04d55
authored
Apr 30, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't generate ids for nothing when building deliveries
parent
844036e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
product/ERP5/Document/SimulatedDeliveryBuilder.py
product/ERP5/Document/SimulatedDeliveryBuilder.py
+0
-1
No files found.
product/ERP5/Document/SimulatedDeliveryBuilder.py
View file @
b7a04d55
...
@@ -349,7 +349,6 @@ class SimulatedDeliveryBuilder(BuilderMixin):
...
@@ -349,7 +349,6 @@ class SimulatedDeliveryBuilder(BuilderMixin):
old_delivery
=
None
old_delivery
=
None
if
old_delivery
is
None
:
if
old_delivery
is
None
:
# from scratch
# from scratch
new_delivery_id
=
str
(
delivery_module
.
generateNewId
())
delivery
=
super
(
SimulatedDeliveryBuilder
,
self
).
_createDelivery
(
delivery
=
super
(
SimulatedDeliveryBuilder
,
self
).
_createDelivery
(
delivery_module
,
movement_list
,
activate_kw
)
delivery_module
,
movement_list
,
activate_kw
)
# Interactions will usually trigger reindexing of related SM when
# Interactions will usually trigger reindexing of related SM when
...
...
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