[Erp5-report] r10064 - in /erp5/trunk/bt5/erp5_accounting: WorkflowTemplateItem/portal_work...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 18 00:07:02 CEST 2006


Author: jerome
Date: Mon Sep 18 00:06:56 2006
New Revision: 10064

URL: http://svn.erp5.org?rev=10064&view=rev
Log:
don't fail if the section doesn't have a group.


Modified:
    erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml?rev=10064&r1=10063&r2=10064&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml Mon Sep 18 00:06:56 2006
@@ -92,9 +92,9 @@
 # do we want to check validity for destination as well?\n
 check_for_destination = 0\n
 if source_section is not None and destination_section is not None:\n
-  source_section_group = source_section.getGroup().lstrip(\'group/\').split(\'/\')\n
+  source_section_group = source_section.getGroup(\'\').lstrip(\'group/\').split(\'/\')\n
   destination_section_group = destination_section\\\n
-                                  .getGroup().lstrip(\'group/\').split(\'/\')\n
+                                  .getGroup(\'\').lstrip(\'group/\').split(\'/\')\n
   if destination_section_group and source_section_group and \\\n
       destination_section_group[0] == source_section_group[0]:\n
     check_for_destination = 1\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=10064&r1=10063&r2=10064&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Mon Sep 18 00:06:56 2006
@@ -1,1 +1,1 @@
-46
+47




More information about the Erp5-report mailing list