From 222865a94f2eb55f76e053a481ec082ddee7c6da Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Fri, 21 Jan 2011 13:07:26 +0530 Subject: [PATCH] [REF] bzr revid: mra@mra-laptop-20110121073726-2k6qhs2gi2nungpd --- addons/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account.py b/addons/account/account.py index 511997ecc88..3abbe4cef2e 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -995,7 +995,7 @@ class account_journal_period(osv.osv): return super(account_journal_period, self).write(cr, uid, ids, vals, context=context) def create(self, cr, uid, vals, context=None): - period_id=vals.get('period_id',False) + period_id = vals.get('period_id',False) if period_id: period = self.pool.get('account.period').browse(cr, uid, period_id, context=context) vals['state']=period.state