From f9d440fa6c4239708dd342de7660b864e6df618e Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Mon, 23 May 2011 14:41:25 +0530 Subject: [PATCH] [FIX] account: Overlapping fiscal years error in initial chart of accounts installation lp bug: https://launchpad.net/bugs/710689 fixed bzr revid: ara@tinyerp.com-20110523091125-t6qfae2jz8ilud6q --- addons/account/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/installer.py b/addons/account/installer.py index b9de39043ee..639cc2578ae 100644 --- a/addons/account/installer.py +++ b/addons/account/installer.py @@ -118,7 +118,6 @@ class account_installer(osv.osv_memory): def execute(self, cr, uid, ids, context=None): if context is None: context = {} - super(account_installer, self).execute(cr, uid, ids, context=context) fy_obj = self.pool.get('account.fiscalyear') mod_obj = self.pool.get('ir.model.data') obj_acc_temp = self.pool.get('account.account.template') @@ -226,6 +225,7 @@ class account_installer(osv.osv_memory): fy_obj.create_period(cr, uid, [fiscal_id]) elif res['period'] == '3months': fy_obj.create_period3(cr, uid, [fiscal_id]) + super(account_installer, self).execute(cr, uid, ids, context=context) def modules_to_install(self, cr, uid, ids, context=None): modules = super(account_installer, self).modules_to_install(