Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
erp5
Commits
3bfab5c1
Commit
3bfab5c1
authored
1 year ago
by
Jérome Perrin
Committed by
Arnaud Fontaine
7 months ago
Browse files
Options
Download
Email Patches
Plain Diff
base/MovementGroup: py3
parent
f65fae39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_base/DocumentTemplateItem/portal_components/document.erp5.MovementGroup.py
...lateItem/portal_components/document.erp5.MovementGroup.py
+2
-1
No files found.
bt5/erp5_base/DocumentTemplateItem/portal_components/document.erp5.MovementGroup.py
View file @
3bfab5c1
...
...
@@ -29,6 +29,7 @@
from
Products.ERP5Type.XMLObject
import
XMLObject
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type
import
Permissions
,
PropertySheet
from
Products.ERP5Type.Utils
import
ensure_list
from
erp5.component.interface.IMovementGroup
import
IMovementGroup
import
zope.interface
...
...
@@ -100,7 +101,7 @@ class MovementGroup(XMLObject):
tmp_dict
[
key
][
0
].
append
(
movement
)
else
:
tmp_dict
[
key
]
=
[[
movement
],
property_dict
]
return
tmp_dict
.
values
()
return
ensure_list
(
tmp_dict
.
values
()
)
def
separate
(
self
,
movement_list
,
**
kw
):
# We sort group of simulation movements by their IDs.
...
...
This diff is collapsed.
Click to expand it.
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