[MERGE]: account: while loading COA templates for different company than the company of current user, journals are having proper company but the journal sequence is having the wrong company so fixed this issue.

bzr revid: rpa@tinyerp.com-20110810103410-fbmvqz4utijbv6dy
This commit is contained in:
Rucha (Open ERP)
2011-08-10 16:04:10 +05:30
+1
View File
@@ -681,6 +681,7 @@ class account_journal(osv.osv):
seq = {
'name': name,
'code': code,
'company_id': vals['company_id'],
'active': True,
'prefix': code + "/%(year)s/",
'padding': 4,