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
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
Show 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):
...
@@ -337,13 +337,17 @@ class SolverProcess(XMLObject, ActiveProcess):
# 'WOEL-DEV': ['Assignor']
# 'WOEL-DEV': ['Assignor']
self
.
log
(
"TRISTAN delivery_value %r"
%
(
delivery_value
,))
self
.
log
(
"TRISTAN delivery_value %r"
%
(
delivery_value
,))
changed
=
False
for
group
,
local_role_list
in
delivery_value
.
__ac_local_roles__
.
items
():
for
group
,
local_role_list
in
delivery_value
.
__ac_local_roles__
.
items
():
self
.
log
(
"TRISTAN group, local_role_list %r"
%
((
group
,
local_role_list
),))
self
.
log
(
"TRISTAN group, local_role_list %r"
%
((
group
,
local_role_list
),))
for
role
in
(
"Assignee"
,
"Assignor"
,
"Associate"
):
for
role
in
(
"Assignee"
,
"Assignor"
,
"Associate"
):
if
role
in
local_role_list
:
if
role
in
local_role_list
:
self
.
log
(
"TRISTAN role in local_role_list %r"
%
(
role
,))
self
.
log
(
"TRISTAN role in local_role_list %r"
%
(
role
,))
self
.
__ac_local_roles__
.
setdefault
(
group
,
[
"Assignor"
])
self
.
__ac_local_roles__
.
setdefault
(
group
,
[
"Assignor"
])
changed
=
True
break
break
if
changed
:
self
.
_p_changed
=
1
#.updateLocalRolesOnDocument(self, **kw)
#.updateLocalRolesOnDocument(self, **kw)
# may be need to have an interaction when _setDelivery* is called on solver process
# 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