From 934d8adb5af78dbe5a4e93bbbd33ede30d822789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Sun, 25 Jul 2010 12:55:10 -0300 Subject: [PATCH] [FIX] account chart creation fixed what seems untested code bzr revid: rvalyi@gmail.com-20100725155510-jpbn83g1ap0ef1wd --- addons/account/installer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/installer.py b/addons/account/installer.py index 4dd01f9ec8b..16fe116b481 100644 --- a/addons/account/installer.py +++ b/addons/account/installer.py @@ -298,6 +298,7 @@ class account_installer(osv.osv_memory): # Creating Journals Sales and Purchase vals_journal={} + data_pool = self.pool.get('ir.model.data') data_id = data_pool.search(cr, uid, [('model','=','account.journal.view'), ('name','=','account_sp_journal_view')]) data = data_pool.browse(cr, uid, data_id[0]) view_id = data.res_id