From 561be839c55e1e8874cae339e0674c683185f086 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 12 Dec 2012 16:35:31 +0530 Subject: [PATCH] voucher import tool message --- accounts/page/voucher_import_tool/voucher_import_tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/page/voucher_import_tool/voucher_import_tool.py b/accounts/page/voucher_import_tool/voucher_import_tool.py index ab81801c53..0d3a7f70cd 100644 --- a/accounts/page/voucher_import_tool/voucher_import_tool.py +++ b/accounts/page/voucher_import_tool/voucher_import_tool.py @@ -230,7 +230,7 @@ def get_data(rows, company_abbr): accounts = [c for c in rows[i+1] if c.endswith(" - " + company_abbr)] if accounts and (len(columns) != rows[i+1].index(accounts[0])): - raise Exception, """A non-account column cannot be after an account \ - column. Please rectify it in the file and try again.""" + raise Exception, """All account columns should be after standard columns and \ + on the right. Please rectify it in the file and try again.""" return data, start_row_idx \ No newline at end of file