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
1=== modified file 'account/installer.py'
2--- account/installer.py 2011-04-29 08:49:48 +0000
3+++ account/installer.py 2011-05-23 09:14:33 +0000
4@@ -118,7 +118,6 @@
5 def execute(self, cr, uid, ids, context=None):
6 if context is None:
7 context = {}
8- super(account_installer, self).execute(cr, uid, ids, context=context)
9 fy_obj = self.pool.get('account.fiscalyear')
10 mod_obj = self.pool.get('ir.model.data')
11 obj_acc_temp = self.pool.get('account.account.template')
12@@ -226,6 +225,7 @@
13 fy_obj.create_period(cr, uid, [fiscal_id])
14 elif res['period'] == '3months':
15 fy_obj.create_period3(cr, uid, [fiscal_id])
16+ super(account_installer, self).execute(cr, uid, ids, context=context)
17
18 def modules_to_install(self, cr, uid, ids, context=None):
19 modules = super(account_installer, self).modules_to_install(

Subscribers

People subscribed via source and target branches

to all changes: