From 2e174885b7552679455c32122674284522a42650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 20 Mar 2009 12:21:30 +0000 Subject: [PATCH] use new terms from r26116 git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26118 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../accounting_workflow/scripts/validateTransaction.xml | 4 ++-- .../accounting_workflow/scripts/validateTransactionLines.xml | 2 +- bt5/erp5_accounting/bt/revision | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransaction.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransaction.xml index bbf773da4a..c98d16a3fc 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransaction.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransaction.xml @@ -123,7 +123,7 @@ if not skip_period_validation :\n if apd.getStartDate().Date() <= transaction_date.Date() <= apd.getStopDate().Date():\n valid_date = True\n if not valid_date:\n - raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n + raise ValidationFailed(translateString("Date is not in a started Accounting Period "\n "for source section."))\n # do the same for destination section \n if destination_section is not None:\n @@ -147,7 +147,7 @@ if not skip_period_validation :\n if apd.getStartDate().Date() <= transaction_date.Date() <= apd.getStopDate().Date():\n valid_date = True\n if not valid_date:\n - raise ValidationFailed(translateString("Date is not in an opened Accounting Period "\n + raise ValidationFailed(translateString("Date is not in an started Accounting Period "\n "for destination section."))\n diff --git a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml index 8206f3cc36..c7ccbde3a6 100644 --- a/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml +++ b/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml @@ -89,7 +89,7 @@ for line in transaction.contentValues(filter=dict(\n \n if account is not None and account.getValidationState() != \'validated\':\n raise ValidationFailed, translateString(\n - "Account ${account_title} is not opened.",\n + "Account ${account_title} is not validated.",\n mapping=dict(account_title=unicode(\n account.Account_getFormattedTitle(), \'utf8\')))\n \n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 6d706ee946..9c574c9538 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -892 \ No newline at end of file +893 \ No newline at end of file -- 2.30.9