Merge lp:~openerp-dev/openobject-addons/trunk-bug-710689-ara into lp:openobject-addons

Proposed by Ashvin Rathod (OpenERP)
Status: Merged
Merged at revision: 4733
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-710689-ara
Merge into: lp:openobject-addons
Diff against target: 19 lines (+1/-1)
1 file modified
account/installer.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-710689-ara
Reviewer Review Type Date Requested Status
Mustufa Rangwala (Open ERP) (community) Approve
qdp (OpenERP) Pending
Review via email: mp+61937@code.launchpad.net

Description of the change

Hello,

Fix: Overlapping fiscal years error in initial chart of accounts installation

Thanks,
ara

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account/installer.py'
--- account/installer.py 2011-04-29 08:49:48 +0000
+++ account/installer.py 2011-05-23 09:14:33 +0000
@@ -118,7 +118,6 @@
118 def execute(self, cr, uid, ids, context=None):118 def execute(self, cr, uid, ids, context=None):
119 if context is None:119 if context is None:
120 context = {}120 context = {}
121 super(account_installer, self).execute(cr, uid, ids, context=context)
122 fy_obj = self.pool.get('account.fiscalyear')121 fy_obj = self.pool.get('account.fiscalyear')
123 mod_obj = self.pool.get('ir.model.data')122 mod_obj = self.pool.get('ir.model.data')
124 obj_acc_temp = self.pool.get('account.account.template')123 obj_acc_temp = self.pool.get('account.account.template')
@@ -226,6 +225,7 @@
226 fy_obj.create_period(cr, uid, [fiscal_id])225 fy_obj.create_period(cr, uid, [fiscal_id])
227 elif res['period'] == '3months':226 elif res['period'] == '3months':
228 fy_obj.create_period3(cr, uid, [fiscal_id])227 fy_obj.create_period3(cr, uid, [fiscal_id])
228 super(account_installer, self).execute(cr, uid, ids, context=context)
229229
230 def modules_to_install(self, cr, uid, ids, context=None):230 def modules_to_install(self, cr, uid, ids, context=None):
231 modules = super(account_installer, self).modules_to_install(231 modules = super(account_installer, self).modules_to_install(

Subscribers

People subscribed via source and target branches

to all changes: