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
139
Merge Requests
139
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
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
Pipeline
#33186
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show 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