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
1
Merge Requests
1
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
Cédric Le Ninivin
erp5
Commits
87d7df37
Commit
87d7df37
authored
1 year ago
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_simulation: get also destination
parent
6a77a50c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
bt5/erp5_simulation/DocumentTemplateItem/portal_components/document.erp5.QuantitySplitSolver.py
...em/portal_components/document.erp5.QuantitySplitSolver.py
+3
-0
No files found.
bt5/erp5_simulation/DocumentTemplateItem/portal_components/document.erp5.QuantitySplitSolver.py
View file @
87d7df37
...
...
@@ -134,6 +134,9 @@ class QuantitySplitSolver(SolverMixin, ConfigurableMixin, XMLObject):
reference
=
configuration_dict
.
get
(
'reference'
,
None
)
if
reference
is
not
None
:
new_movement
.
setReference
(
reference
)
destination
=
configuration_dict
.
get
(
'destination'
,
None
)
if
destination
:
new_movement
.
setDestination
(
destination
)
if
activate_kw
:
new_movement
.
setDefaultActivateParameterDict
({})
simulation_movement
.
expand
(
activate_kw
=
activate_kw
)
...
...
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