From ce26a32e445ed9ade87c098df0aa5b130ad6c6eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 13 Apr 2009 01:14:52 +0200 Subject: [PATCH] Force to use the name from view_header_get in open journal for issue983 --- move.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/move.py b/move.py index 57efeda532..060c64cdfb 100644 --- a/move.py +++ b/move.py @@ -1398,6 +1398,8 @@ class OpenJournal(Wizard): model_data = model_data_obj.browse(cursor, user, model_data_ids[0], context=context) res = act_window_obj.read(cursor, user, model_data.db_id, context=context) + # Remove name to use the one from view_header_get + del res['name'] res['domain'] = str([ ('journal', '=', journal_id), ('period', '=', period_id),