[Erp5-report] r45551 vincent - /erp5/trunk/bt5/erp5_banking_core/WorkflowTemplateItem/porta...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Apr 18 18:36:50 CEST 2011
Author: vincent
Date: Mon Apr 18 18:36:50 2011
New Revision: 45551
URL: http://svn.erp5.org?rev=45551&view=rev
Log:
Abort this modification.
The need was not properly specified, and request got cancelled.
Modified:
erp5/trunk/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/accounting_date_workflow/scripts/checkOpenPossible.xml
Modified: erp5/trunk/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/accounting_date_workflow/scripts/checkOpenPossible.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/accounting_date_workflow/scripts/checkOpenPossible.xml?rev=45551&r1=45550&r2=45551&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/accounting_date_workflow/scripts/checkOpenPossible.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_core/WorkflowTemplateItem/portal_workflow/accounting_date_workflow/scripts/checkOpenPossible.xml [utf8] Mon Apr 18 18:36:50 2011
@@ -67,11 +67,6 @@ if site_uid is None:\n
msg = Message(domain=\'ui\',message="Sorry, the site is not defined")\n
raise ValidationFailed (msg,)\n
\n
-# Check if the start_date is in the current month\n
-if not accounting_date.getStartDate().isCurrentMonth():\n
- msg = Message(domain=\'ui\', message=\'Date must be within the current month\')\n
- raise ValidationFailed (msg,)\n
-\n
opened_date_list = accounting_date.portal_catalog(portal_type="Accounting Date", simulation_state="opened", default_site_uid=accounting_date.getSiteUid())\n
if len(opened_date_list) > 0:\n
msg = Message(domain=\'ui\',message="Sorry, another accounting date is already opened")\n
More information about the Erp5-report
mailing list