← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 708709] Re: [Trunk 4468] addons web module dont load if you dont start web client in the good directory.

 

Thanks

** Changed in: openobject-client-web
       Status: New => Fix Released

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

Title:
  [Trunk 4468] addons web module dont load if you dont start web client
  in the good directory.

Status in OpenERP Web Client:
  Fix Released

Bug description:
  To reproduce the problem

  Start web client (local path home)

  python /usr/local/src/test/web/openerp-web.py -c /usr/local/src/test
  /openerp-web.cfg

  In openobject/addons.py line : 227

  
  writeable = os.access('addons', os.W_OK)    <=== this force you to start client web from the right directory

  Change by

  writeable = os.access(paths.addons(), os.W_OK)  <== this allow you to
  start from anywhere

  
  tested on my test server and that work fine now.





References