Commit 680a4b7f authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Use _value makes the API resolves previous values

    This makes a direct edit w/o introspect previous value.
parent 85e411bf
Pipeline #11110 failed with stage
in 0 seconds
......@@ -46,7 +46,7 @@ if allocation_scope in ['open/public', 'open/subscription']:
elif allocation_scope == 'open/personal':
# reset friends to self and update in place
edit_kw['subject_list'] = [self_email]
edit_kw['destination_section_value'] = self_person
edit_kw['destination_section'] = self_person.getRelativeUrl()
else:
subject_list = computer.getSubjectList()
if self_email not in subject_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment