diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml index f6d5dccc15bd9774dfff75591c2d6d3ba1ae8b23..e3f94c283478877e7f92cdbc93284501290125fd 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_period_workflow/scripts/AccountingPeriod_CheckDates.xml @@ -83,9 +83,6 @@ stop_date = closing_period.getStopDate()\n if start_date > stop_date :\n raise ValidationFailed, N_("Start Date is After Stop Date")\n \n -if start_date.year() != stop_date.year() :\n - raise ValidationFailed, N_("Start Date is not the same year as Stop Date")\n -\n period_list = closing_period.getParentValue().searchFolder(\n simulation_state = valid_states,\n sort_on = [(\'delivery.start_date\', \'asc\')],\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index f123c4f4b597ed834ae3c05dd9d4c96cf014f2bb..99bc3d518639f3433852c803ea7199085b6616cb 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -251 \ No newline at end of file +253 \ No newline at end of file