[Erp5-report] r36896 jerome - in /erp5/trunk/bt5/erp5_accounting: WorkflowTemplateItem/port...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jul 6 16:21:19 CEST 2010
Author: jerome
Date: Tue Jul 6 16:21:17 2010
New Revision: 36896
URL: http://svn.erp5.org?rev=36896&view=rev
Log:
check constraints on accounting periods
Modified:
erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkDates.xml
erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkTransactionsState.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkDates.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkDates.xml?rev=36896&r1=36895&r2=36896&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkDates.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkDates.xml [utf8] Tue Jul 6 16:21:17 2010
@@ -62,6 +62,8 @@ closing_period = state_change[\'object\'
portal = closing_period.getPortalObject()\n
valid_state_list = [\'started\', \'stopped\', \'delivered\']\n
\n
+closing_period.Base_checkConsistency()\n
+\n
start_date = closing_period.getStartDate()\n
stop_date = closing_period.getStopDate()\n
\n
Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkTransactionsState.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkTransactionsState.xml?rev=36896&r1=36895&r2=36896&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkTransactionsState.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/checkTransactionsState.xml [utf8] Tue Jul 6 16:21:17 2010
@@ -59,6 +59,8 @@ from Products.ERP5Type.Message import tr
period = state_change[\'object\']\n
portal = period.getPortalObject()\n
\n
+period.Base_checkConsistency()\n
+\n
valid_simulation_state_list = [\'cancelled\', \'delivered\', \'deleted\', \'rejected\']\n
all_state_list = [x[1] for x in\n
portal.Base_getTranslatedWorkflowStateItemList(wf_id=\'accounting_workflow\')]\n
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=36896&r1=36895&r2=36896&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision [utf8] Tue Jul 6 16:21:17 2010
@@ -1 +1 @@
-1299
\ No newline at end of file
+1300
\ No newline at end of file
More information about the Erp5-report
mailing list