diff --git a/bt5/erp5_crm_knowledge_pad/SkinTemplateItem/portal_skins/erp5_crm_knowledge_pad/ERP5Site_newSaleOpportunity.xml b/bt5/erp5_crm_knowledge_pad/SkinTemplateItem/portal_skins/erp5_crm_knowledge_pad/ERP5Site_newSaleOpportunity.xml
index d80dedcab6405ac7569f355f8e4e51cefc132043..70b74fa1694cc11a51a8f52b1a434d54f5be36b0 100644
--- a/bt5/erp5_crm_knowledge_pad/SkinTemplateItem/portal_skins/erp5_crm_knowledge_pad/ERP5Site_newSaleOpportunity.xml
+++ b/bt5/erp5_crm_knowledge_pad/SkinTemplateItem/portal_skins/erp5_crm_knowledge_pad/ERP5Site_newSaleOpportunity.xml
@@ -50,7 +50,8 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>portal = context.getPortalObject()\n
+            <value> <string>from DateTime import DateTime\n
+portal = context.getPortalObject()\n
 form = context.REQUEST.form\n
 \n
 # XXX this form has to be validated !!!!!\n
@@ -65,7 +66,10 @@ if clientname:\n
 description = context.REQUEST.get(\'field_your_description\')\n
 quantity = context.REQUEST.get(\'field_your_quantity\')\n
 price = context.REQUEST.get(\'field_your_price\')\n
-stopdate = context.REQUEST.get(\'field_your_stop_date\')\n
+stopdate_day = context.REQUEST.get(\'subfield_field_your_stop_date_day\')\n
+stopdate_month = context.REQUEST.get(\'subfield_field_your_stop_date_month\')\n
+stopdate_year = context.REQUEST.get(\'subfield_field_your_stop_date_year\')\n
+stopdate = DateTime("%s/%s/%s" %(stopdate_year, stopdate_month, stopdate_day))\n
 \n
 sale_opportunity = portal.sale_opportunity_module.newContent(portal_type="Sale Opportunity")\n
 sale_opportunity.setTitle(saletitle)\n
diff --git a/bt5/erp5_crm_knowledge_pad/bt/revision b/bt5/erp5_crm_knowledge_pad/bt/revision
index 7813681f5b41c028345ca62a2be376bae70b7f61..62f9457511f879886bb7728c986fe10b0ece6bcb 100644
--- a/bt5/erp5_crm_knowledge_pad/bt/revision
+++ b/bt5/erp5_crm_knowledge_pad/bt/revision
@@ -1 +1 @@
-5
\ No newline at end of file
+6
\ No newline at end of file