From e13093f27460b8d019a3d5230f1919480cf30c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 17 Jan 2010 15:13:56 +0100 Subject: [PATCH] Fix ir.lang.strftime needs a datetime and no more a timetuple --- account.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/account.py b/account.py index a938811801..2348f91c26 100644 --- a/account.py +++ b/account.py @@ -1583,8 +1583,7 @@ class OpenBalanceSheet(Wizard): break lang = lang_obj.browse(cursor, user, lang_ids[0], context=context) - date = lang_obj.strftime(datas['form']['date'].timetuple(), lang.code, - lang.date) + date = lang_obj.strftime(datas['form']['date'], lang.code, lang.date) model_data_ids = model_data_obj.search(cursor, user, [ ('fs_id', '=', 'act_account_balance_sheet_tree'),