Skip to Content
Menu
This question has been flagged
1 Reply
4565 Views

Hi,

I'm trying to setup a development environment with a linux container running ubuntu + odoo V8 (on a homeserver) while i want to change/develop the modules from my windows pc with pycharm.

What i have done so far:

  1. Install the latest version from odoo through github

  2. added a custom addons folder in my home directory

  3. installed samba

  4. changed the conf file to make the home directory writable

  5. on windows i added a new network share \\myOdooDevServer\home\myUser and logged in with my credentials

  6. opened the share in my pycharm and started working on a module.

  7. everything worked fine so far.


now what doesnt work ?

when i get back to my server through ssh and startup the server with --addons-path="home\myuser\mycustommodules" i get an error that the directory is not a correct addons directory.

problem is that the folder is not owned by the odoo user but when i chown the folder to the odoo user i can't write to the folder in my pycharm share.

so i added myuser to the odoo group, test also failed.


i'm stuck :)

Avatar
Discard
Best Answer

Hi,

If you have done your odoo installation with a specific user "odoo", login with this user to be able to write and copy your files.

Otherwise, if you are creating a test/development environment, make the folder "mycustommodules" public using the chmod.

Best regards.

Avatar
Discard