Skip to content

Commit

Permalink
[MERGE] forward port of branch 7.0 up to revid 9971 chs@openerp.com-2…
Browse files Browse the repository at this point in the history
…0140410100027-5ug4801pfch9virt

bzr revid: chs@openerp.com-20140410103638-x7vajn70ewsfp0ck
  • Loading branch information
KangOl committed Apr 10, 2014
2 parents 694fb63 + c65832f commit bd78042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _get_charts(self, cr, uid, context=None):

# 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)
Expand Down

0 comments on commit bd78042

Please sign in to comment.