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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
34c83947
Commit
34c83947
authored
Mar 01, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
Split movement group must split
See merge request
nexedi/erp5!1893
parents
4a639656
298470ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
bt5/erp5_base/DocumentTemplateItem/portal_components/document.erp5.SplitMovementGroup.py
...tem/portal_components/document.erp5.SplitMovementGroup.py
+1
-5
No files found.
bt5/erp5_base/DocumentTemplateItem/portal_components/document.erp5.SplitMovementGroup.py
View file @
34c83947
...
...
@@ -33,10 +33,6 @@ class SplitMovementGroup(MovementGroup):
This movement group is used to split all the movements that are aggregated
by the Simulation Select Method.
XXX-Tatuya: However this test() method returns True, so the aggregated
movements can be inserted into existing Delivery/Line/Cell that are aggregated
by the Delivery Select Method. What use case this is applied for?
* Reference:
http://www.erp5.org/HowToConfigureMovementGroup
...
...
@@ -56,7 +52,7 @@ class SplitMovementGroup(MovementGroup):
return
{}
def
test
(
self
,
document
,
property_dict
,
**
kw
):
return
Tru
e
,
property_dict
return
Fals
e
,
property_dict
def
_separate
(
self
,
movement_list
,
**
kw
):
return
[[[
movement
],
{}]
for
movement
in
movement_list
]
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