[Erp5-report] r22811 - in /erp5/trunk/bt5/erp5_registry_ohada: WorkflowTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Aug 1 12:18:20 CEST 2008


Author: thibaut
Date: Fri Aug  1 12:18:19 2008
New Revision: 22811

URL: http://svn.erp5.org?rev=22811&view=rev
Log:
thibaut
Replace destination_value by destination_title
and change the function. It is not corporate/shareholder but entreprise/associe

Modified:
    erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createAssignmentFromM0.xml
    erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createOrganisationFromM0.xml
    erp5/trunk/bt5/erp5_registry_ohada/bt/revision

Modified: erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createAssignmentFromM0.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createAssignmentFromM0.xml?rev=22811&r1=22810&r2=22811&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createAssignmentFromM0.xml (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createAssignmentFromM0.xml Fri Aug  1 12:18:19 2008
@@ -82,10 +82,10 @@
 stop_year = y+duration_length\n
 first_associate= person_module.newContent(portal_type =\'Person\')\n
 first_associate_assignment = first_associate.newContent(portal_type =\'Assignment\',\n
-  function = \'corporation/shareholder\',\n
+  function = \'entreprise/associe\',\n
   start_date =organisation.getStartDate(),\n
   stop_date ="%04d/%02d/%02d" % (stop_year, m, d),\n
-  destination_value = organisation,\n
+  destination_title = organisation,\n
 )\n
 #Second Associate\n
 second_associate= person_module.newContent(portal_type =\'Person\')\n
@@ -96,10 +96,10 @@
   career_subordination_value = organisation,\n
 )\n
 second_associate_assignment = second_associate.newContent(portal_type =\'Assignment\',\n
-  function = \'corporation/shareholder\',\n
+  function = \'entreprise/associe\',\n
   start_date =organisation.getStartDate(),\n
   stop_date=organisation.getStopDate(),\n
-  destination_value = organisation,\n
+  destination_title = organisation,\n
 )\n
 </string> </value>
         </item>

Modified: erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createOrganisationFromM0.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createOrganisationFromM0.xml?rev=22811&r1=22810&r2=22811&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createOrganisationFromM0.xml (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/createOrganisationFromM0.xml Fri Aug  1 12:18:19 2008
@@ -161,7 +161,7 @@
                       destination_form_uid = request_eform.getUid())]\n
 for assignment in assignment_list:\n
   assignment.open()\n
-  assignment.edit(destination_value=organisation,\n
+  assignment.edit(destination_title=organisation,\n
                    corporate_registration_code=new_registry_number)\n
 \n
 # Changes roles when secondaries organisations are created and update the organisation with\n

Modified: erp5/trunk/bt5/erp5_registry_ohada/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/bt/revision?rev=22811&r1=22810&r2=22811&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/bt/revision (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/bt/revision Fri Aug  1 12:18:19 2008
@@ -1,1 +1,1 @@
-813
+814




More information about the Erp5-report mailing list