Force to use the name from view_header_get in open journal for issue983

This commit is contained in:
Cédric Krier committed 2009-04-13 01:14:52 +02:00
1 parent b4828836a1
commit ce26a32e44
1 file changed
+2
+2
View File
@@ -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),