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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 14 14:09:40 CET 2009


Author: romain
Date: Wed Jan 14 14:09:38 2009
New Revision: 25101

URL: http://svn.erp5.org?rev=25101&view=rev
Log:
Allow to use deferred_style parameter in report dialog, in order to generate reporting in activity.

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

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml?rev=25101&r1=25100&r2=25101&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml [utf8] Wed Jan 14 14:09:38 2009
@@ -235,6 +235,12 @@
 for k, v in kw.items() :\n
   if v not in (None, [], ()) :\n
     clean_kw[k] = kw[k]\n
+\n
+# Handle deferred style\n
+if clean_kw.get(\'deferred_style\', 0):\n
+  clean_kw[\'deferred_portal_skin\'] = clean_kw.get(\'portal_skin\', None)\n
+  # XXX Hardcoded Deferred style name\n
+  clean_kw[\'portal_skin\'] = \'Deferred\'\n
 \n
 url_params_string = make_query(clean_kw)\n
 \n

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=25101&r1=25100&r2=25101&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Wed Jan 14 14:09:38 2009
@@ -1,1 +1,1 @@
-1058
+1061




More information about the Erp5-report mailing list