[Erp5-report] r22960 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 11 15:04:06 CEST 2008


Author: vincentd
Date: Mon Aug 11 15:04:06 2008
New Revision: 22960

URL: http://svn.erp5.org?rev=22960&view=rev
Log:
2008-08-11 vincentd
* fix Base_jumpToRelatedObject to avoid a probleme with bad form_id when jumping on a single object

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml?rev=22960&r1=22959&r2=22960&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_jumpToRelatedObject.xml Mon Aug 11 15:04:06 2008
@@ -104,6 +104,8 @@
   if related_object is not None and checkPerm("View", related_object) :\n
     if target_form_id is not None:\n
       form_id = target_form_id\n
+    else:\n
+      form_id = \'view\'\n
     url = related_object.absolute_url()\n
     message = N_(\n
       # first, try to get a full translated message with portal types\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log?rev=22960&r1=22959&r2=22960&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/change_log Mon Aug 11 15:04:06 2008
@@ -1,3 +1,6 @@
+2008-08-11 vincentd
+* fix Base_jumpToRelatedObject to avoid a probleme with bad form_id when jumping on a single object
+
 2008-08-06 jerome
 * Change Movement_getPriceCalculationOperandDict to use source_section / destination_section instead of source / destination.
 * Change Movement_getPriceCalculationOperandDict to give priority to supply lines contained in related trade conditions.

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=22960&r1=22959&r2=22960&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Mon Aug 11 15:04:06 2008
@@ -1,1 +1,1 @@
-930
+932




More information about the Erp5-report mailing list