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:
1e9789b
)
[FIX] account: Chart Installer: new way to get apps server
author
Christophe Simonis
<chs@openerp.com>
Thu, 18 Jul 2013 12:35:26 +0000
(14:35 +0200)
committer
Christophe Simonis
<chs@openerp.com>
Thu, 18 Jul 2013 12:35:26 +0000
(14:35 +0200)
bzr revid: chs@openerp.com-
20130718123526
-4xqacoe63c9qqufp
addons/account/installer.py
patch
|
blob
|
history
diff --git
a/addons/account/installer.py
b/addons/account/installer.py
index
9ad2012
..
357ec11
100644
(file)
--- a/
addons/account/installer.py
+++ b/
addons/account/installer.py
@@
-47,7
+47,7
@@
class account_installer(osv.osv_memory):
# try get the list on apps server
try:
- apps_server = self.pool.get('ir.config_parameter').get_param(cr, uid, 'apps.server', 'https://apps.openerp.com')
+ apps_server = self.pool.get('ir.module.module').get_apps_server(cr, uid, context=context)
up = urlparse.urlparse(apps_server)
url = '{0.scheme}://{0.netloc}/apps/charts?serie={1}'.format(up, serie)