projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608534b
)
[FIX] Account : Bank statement should allow opening entries to reconcile disrepcting...
author
Jay (OpenERP)
<jvo@tinyerp.com>
Wed, 1 Sep 2010 09:07:43 +0000
(14:37 +0530)
committer
Jay (OpenERP)
<jvo@tinyerp.com>
Wed, 1 Sep 2010 09:07:43 +0000
(14:37 +0530)
lp bug: https://launchpad.net/bugs/619775 fixed
bzr revid: jvo@tinyerp.com-
20100901090743
-yu0q8cku4bthbp06
addons/account/account_move_line.py
patch
|
blob
|
history
diff --git
a/addons/account/account_move_line.py
b/addons/account/account_move_line.py
index
5dccb44
..
ebf870e
100644
(file)
--- a/
addons/account/account_move_line.py
+++ b/
addons/account/account_move_line.py
@@
-694,7
+694,7
@@
class account_move_line(osv.osv):
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context={}, toolbar=False):
result = super(osv.osv, self).fields_view_get(cr, uid, view_id,view_type,context,toolbar=toolbar)
- if view_type=='tree' and 'journal_id' in context:
+ if view_type=='tree' and context.get('journal_id',False):
title = self.view_header_get(cr, uid, view_id, view_type, context)
journal = self.pool.get('account.journal').browse(cr, uid, context['journal_id'])