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
138
Merge Requests
138
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
0bc4f915
Commit
0bc4f915
authored
Nov 01, 2017
by
Tristan Cavelier
Committed by
Cédric Le Ninivin
Jan 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SolverProcess: _p_changed = 1
parent
00efcaa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
product/ERP5/Document/SolverProcess.py
product/ERP5/Document/SolverProcess.py
+4
-0
No files found.
product/ERP5/Document/SolverProcess.py
View file @
0bc4f915
...
...
@@ -337,13 +337,17 @@ class SolverProcess(XMLObject, ActiveProcess):
# 'WOEL-DEV': ['Assignor']
self
.
log
(
"TRISTAN delivery_value %r"
%
(
delivery_value
,))
changed
=
False
for
group
,
local_role_list
in
delivery_value
.
__ac_local_roles__
.
items
():
self
.
log
(
"TRISTAN group, local_role_list %r"
%
((
group
,
local_role_list
),))
for
role
in
(
"Assignee"
,
"Assignor"
,
"Associate"
):
if
role
in
local_role_list
:
self
.
log
(
"TRISTAN role in local_role_list %r"
%
(
role
,))
self
.
__ac_local_roles__
.
setdefault
(
group
,
[
"Assignor"
])
changed
=
True
break
if
changed
:
self
.
_p_changed
=
1
#.updateLocalRolesOnDocument(self, **kw)
# may be need to have an interaction when _setDelivery* is called on solver process
...
...
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