This should be fixed after revision 1707 (revid:
[email protected]) of the openerp-web
project. You need to login with the admin account to setup (or correct)
the web.base.url. This should happen automatically when you create a new
database.

Thanks for reporting!

** Project changed: openobject-server => openerp-web

** Changed in: openerp-web
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/903076

Title:
  can not set / change web.base.url

Status in OpenERP Web:
  Fix Released

Bug description:
  apparently this is set as default, but IMHO will rarely be the one
  useful in production envirenment

  "web.base.url": lambda: "http://localhost:%s"; %
  config.get('xmlrpc_port'),

  IMHO it must be possilbe to change this value somewhere

  this seems not to do it.
  ./openobject-server/openerp/addons/base/res/res_users.py 

          if uid == openerp.SUPERUSER_ID:
              # Successfully logged in as admin!
              # Attempt to guess the web base url...
              if user_agent_env and user_agent_env.get('base_location'):
                  cr = pooler.get_db(db).cursor()
                  try:
                      self.pool.get('ir.config_parameter').set_param(cr, uid, 
'web.base.url',
                                                                     
user_agent_env['base_location'])
                      cr.commit()
                  except Exception:
                      logging.getLogger('res.users').exception("Failed to 
update web.base.url configuration parameter")
                  finally:
                      cr.close()

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/903076/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to