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:
db89290
)
[FIX] Multi-Company Environment :Configuration of consolidated type of account is...
author
ARA (OpenERP)
<ara@tinyerp.com>
Wed, 9 Feb 2011 12:05:35 +0000
(17:35 +0530)
committer
ARA (OpenERP)
<ara@tinyerp.com>
Wed, 9 Feb 2011 12:05:35 +0000
(17:35 +0530)
lp bug: https://launchpad.net/bugs/715695 fixed
bzr revid: ara@tinyerp.com-
20110209120535
-o3htlw38zves04fm
addons/account/account.py
patch
|
blob
|
history
diff --git
a/addons/account/account.py
b/addons/account/account.py
index
b9cc947
..
602b367
100644
(file)
--- a/
addons/account/account.py
+++ b/
addons/account/account.py
@@
-424,7
+424,7
@@
class account_account(osv.osv):
context = {}
accounts = self.browse(cr, uid, ids, context=context)
for account in accounts:
- if account.child_id and account.type != 'view':
+ if account.child_id and account.type not in ('view', 'consolidation'):
return False
return True