[Erp5-report] r34221 fabien - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 31 09:36:20 CEST 2010


Author: fabien
Date: Wed Mar 31 09:36:14 2010
New Revision: 34221

URL: http://svn.erp5.org?rev=34221&view=rev
Log:
pass edit_order parameter to edit method as in Base_edit script

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

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_edit.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_edit.xml?rev=34221&r1=34220&r2=34221&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_edit.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Predicate_edit.xml [utf8] Wed Mar 31 09:36:14 2010
@@ -70,6 +70,7 @@
 try:\n
   # Define form basic fields\n
   form = getattr(context,form_id)\n
+  edit_order = form.edit_order\n
   # Validate\n
   form.validate_all_to_request(request)\n
   # Basic attributes\n
@@ -97,7 +98,7 @@
       v.update(gv)\n
       context.setCriterion(property, **v)\n
   # Update basic attributes\n
-  context.edit(REQUEST=request,**kw)\n
+  context.edit(REQUEST=request, edit_order=edit_order, **kw)\n
   context.reindexObject()\n
 except FormValidationError, validation_errors:\n
   # Pack errors into the request\n
@@ -186,6 +187,7 @@
                             <string>request</string>
                             <string>getattr</string>
                             <string>form</string>
+                            <string>edit_order</string>
                             <string>kw</string>
                             <string>_getiter_</string>
                             <string>f</string>

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=34221&r1=34220&r2=34221&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Wed Mar 31 09:36:14 2010
@@ -1,1 +1,1 @@
-1546
+1547




More information about the Erp5-report mailing list