Odoo Aide


4 Réponses

Ermin Trevisan Suisse

--Ermin Trevisan--
| 7 6 9
Walchwil, Suisse
--Ermin Trevisan--

Ermin Trevisan Suisse
05/01/2018 03:56


- you are working as the default user (usually this is "ubuntu")

- create a folder "transfer" in your home directory:

ubuntu@ip-192-168-110-106:~$ mkdir transfer

- locate your Odoo-Home directory, if you are using Odoo's package install, then your Odoo-Home is located here: "/usr/lib/python3/dist-packages/odoo". If you use another installation method, which is not recommended if you need to follow this post, then check your installation.

- create a folder for your custom or third-party apps at "Odoo-Home/custom/addons". Make sure you have specified this folder as addon-path in your odoo.conf file. Or use the addons folder of your odoo.conf file, if you have already specified and implemented it.


Use ssh or any similar tool (WinSCP or Filezilla for example) to transfer your module to your transfer folder "/home/ubuntu/transfer". Unzip it before the transfer or afterwards, but then delete the .zip archive file afterwards.


Create a bash-file (or use the following commands manually), such as "install_modules.sh" for example to move the module(s) from "/home/ubuntu/transfer" to "Odoo-Home/custom/addons" (replace Odoo-Home with your proper path) and to ensure proper permissions and access rights.

sudo rsync -a /home/ubuntu/transfer/ /Odoo-Home/custom/addons/
sudo rm -rf /home/ubuntu/transfer/*
sudo chown -R root:odoo /Odoo-Home/custom/addons/
sudo find /Odoo-Home/custom/addons/ -type d -exec chmod 755 {} \;
sudo find /Odoo-Home/custom/addons/ -type f -exec chmod 644 {} \;
Save the file and execute it from your home directory by using the command

ubuntu@ip-192-168-110-106:~$ sh install_modules.sh

Happy installing!


Nikhil Krishnan Émirats Arabes Unis

--Nikhil Krishnan--
| 7 7 10
Sharjah, Émirats Arabes Unis
--Nikhil Krishnan--

-- Nikhilkrishnan --

Exploring new ways in odoo..!
And want to become a key to the new odoo trends.

-> Odoo Consultancy,
-> Functional and Technical Consultant,
-> Requirement Collection and Analysis,
-> Module Customization,
-> Odoo ERP Community Contributor,
-> Handling ERP/Odoo projects,
-> ERP Workshop Facilitator.
Feel happy working with best and good supporting team.

#PITS Family

Nikhil Krishnan


Nikhil Krishnan Émirats Arabes Unis
05/01/2018 03:33
sudo mkdir /../../odoo/<custom_addons> 
sudo chown -R odoo:odoo /../../odoo/<custom_addons>

Hi Patrick Strzempek,

Use these comments, 
to create and give permission, add your custom modules to this folder and try again.

For more reference 

Patrick Strzempek Nouvelle Calédonie (France)
07/01/2018 16:56


Thank's for all of your answers, Your explanations helped me to realize this custom module installation.

to sum up :

The more simply method I use, is to change all right for all folder after /odoo/... :

sudo chown -R odoo:odoo /../../odoo/custom/addons

for :

sudo chown -R <user>:<user> /../../odoo/custom/addons

I load my zip file in my custom folder, unzip file.

do not forget to restore rights such as originally, otherwise Odoo does not work :
sudo chown -R odoo:odoo /../../odoo/custom/addons



1 Commentaires
ARTUS Informatique, Patrick Strzempek Nouvelle Calédonie (France)
09/01/2018 23:14

Sorry don't use this way... problem to change POS

Poser une question
Keep Informed
1 Abonné(e)s
About This Community

This platform 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.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now