[Erp5-report] r19709 - in /erp5/trunk/bt5/erp5_accounting: SkinTemplateItem/portal_skins/er...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 6 09:33:46 CET 2008


Author: jerome
Date: Thu Mar  6 09:33:45 2008
New Revision: 19709

URL: http://svn.erp5.org?rev=19709&view=rev
Log:
Accounting periods have a simulation state, not a validation state

Modified:
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml
    erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml
    erp5/trunk/bt5/erp5_accounting/bt/revision

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml?rev=19709&r1=19708&r2=19709&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForDestinationSection.xml Thu Mar  6 09:33:45 2008
@@ -80,7 +80,7 @@
   for accounting_period in section.contentValues(\n
                           portal_type=\'Accounting Period\',\n
                           checked_permission=\'View\'):\n
-    if accounting_period.getValidationState() in (\n
+    if accounting_period.getSimulationState() in (\n
               \'draft\', \'cancelled\', \'deleted\'):\n
       continue\n
     if accounting_period.getStartDate().earliestTime()\\\n

Modified: erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml?rev=19709&r1=19708&r2=19709&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getAccountingPeriodForSourceSection.xml Thu Mar  6 09:33:45 2008
@@ -80,7 +80,7 @@
   for accounting_period in section.contentValues(\n
                           portal_type=\'Accounting Period\',\n
                           checked_permission=\'View\'):\n
-    if accounting_period.getValidationState() in (\n
+    if accounting_period.getSimulationState() in (\n
               \'draft\', \'cancelled\', \'deleted\'):\n
       continue\n
     if accounting_period.getStartDate().earliestTime()\\\n

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=19709&r1=19708&r2=19709&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Thu Mar  6 09:33:45 2008
@@ -1,1 +1,1 @@
-631
+632




More information about the Erp5-report mailing list