[Erp5-report] r25365 - in /erp5/trunk/bt5/erp5_accounting_ui_test: SkinTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 29 15:14:01 CET 2009


Author: jerome
Date: Thu Jan 29 15:14:00 2009
New Revision: 25365

URL: http://svn.erp5.org?rev=25365&view=rev
Log:
validate rules (that's why we were not getting ui tests results)

Modified:
    erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml
    erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml?rev=25365&r1=25364&r2=25365&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/SkinTemplateItem/portal_skins/erp5_accounting_ui_test/AccountingZuite_reset.xml [utf8] Thu Jan 29 15:14:00 2009
@@ -54,6 +54,11 @@
         <item>
             <key> <string>_body</string> </key>
             <value> <string>portal = context.getPortalObject()\n
+\n
+# validate rules\n
+for rule in portal.portal_rules.objectValues():\n
+  if rule.getReference() != \'default_payment_rule\':\n
+    rule.validate()\n
 \n
 # open all accounts\n
 for account in portal.account_module.objectValues():\n
@@ -143,6 +148,7 @@
                             <string>context</string>
                             <string>portal</string>
                             <string>_getiter_</string>
+                            <string>rule</string>
                             <string>account</string>
                             <string>entity</string>
                             <string>pref</string>

Modified: erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision?rev=25365&r1=25364&r2=25365&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting_ui_test/bt/revision [utf8] Thu Jan 29 15:14:00 2009
@@ -1,1 +1,1 @@
-111
+112




More information about the Erp5-report mailing list