Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

module development from linux samba share with pycharm on windows

By
duvelken
on 9/3/15, 2:57 PM 610 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 :)

1

Bejaoui Souheil

--Bejaoui Souheil--
808
| 2 1 4
Sousse, Tunisia
--Bejaoui Souheil--

Odoo developer,  functional and technical consultant

souheil_bejaoui@hotmail.fr

Bejaoui Souheil
On 8/11/16, 8:53 AM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/3/15, 2:57 PM
Seen: 610 times
Last updated: 8/11/16, 8:53 AM