Commit 929d6e21 authored by Thibaut Deheunynck's avatar Thibaut Deheunynck

thibaut

revert last commit concerning destination_value and destination_title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22812 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ee2626b9
......@@ -85,7 +85,7 @@ first_associate_assignment = first_associate.newContent(portal_type =\'Assignmen
function = \'entreprise/associe\',\n
start_date =organisation.getStartDate(),\n
stop_date ="%04d/%02d/%02d" % (stop_year, m, d),\n
destination_title = organisation,\n
destination_value = organisation,\n
)\n
#Second Associate\n
second_associate= person_module.newContent(portal_type =\'Person\')\n
......@@ -99,7 +99,7 @@ second_associate_assignment = second_associate.newContent(portal_type =\'Assignm
function = \'entreprise/associe\',\n
start_date =organisation.getStartDate(),\n
stop_date=organisation.getStopDate(),\n
destination_title = organisation,\n
destination_value = organisation,\n
)\n
</string> </value>
</item>
......
......@@ -161,7 +161,7 @@ assignment_list = [assignment.getObject() for assignment in context.portal_catal
destination_form_uid = request_eform.getUid())]\n
for assignment in assignment_list:\n
assignment.open()\n
assignment.edit(destination_title=organisation,\n
assignment.edit(destination_value=organisation,\n
corporate_registration_code=new_registry_number)\n
\n
# Changes roles when secondaries organisations are created and update the organisation with\n
......
814
\ No newline at end of file
815
\ No newline at end of file
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