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

Hi

I want build a custom module in my odoo on docker, i start by getting docker

docker exec -it odoo /bin/bash

then i want scaffold docker to get odoo-bin
odoo scaffold <module location>



full log:

Traceback (most recent call last):
File "/usr/bin/odoo", line 8, in
odoo.cli.main()
File "/usr/lib/python3/dist-packages/odoo/cli/command.py", line 61, in main
o.run(args)
File "/usr/lib/python3/dist-packages/odoo/cli/scaffold.py", line 38, in run
directory(args.dest, create=True),
File "/usr/lib/python3/dist-packages/odoo/cli/scaffold.py", line 74, in directory
os.makedirs(expanded)
File "/usr/lib/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.9/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/DanielKasprow'



How can i fix this, thank for helping



i use odoo 15, python 3.9


Avatar
Discard
Best Answer

I have a project I've been working on for a few months now. A fully functional dockerized environment designed for beginners and advanced developers. This will make anyone able to develop locally, focusing on custom add-ons, and the ability to check the community/enterprise code while developing, so everybody can learn how things are done within the same framework. As for now, it has worked with Odoo 14, 15, and 16. Haven't tested in previous versions.


This project is also set up for SSL, so you can take your app directly from local to prod with basically no additional configuration, but cloning the repo and bringing up the containers.


I've been testing this base setup with some customers for a few months and so far everything works well.


If you are interested you can contact me, and I can share the docker project with you before I publish it.


I'm really interested in giving the easy way to every new developer that wants to learn Odoo with the best practices of today's world.

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
1501
1
Nov 22
1856
1
Aug 23
1670