[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:
commit
322ddae85e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue