Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
43021 Vistas

I got error while running scaffold command (./odoo-bin scaffold bi_product_profitability /custom/) It giving me error of PermissionError: [Errno 13] Permission denied. How can i solve this error please help me.

Avatar
Descartar
Mejor respuesta

Hi, You are creating custom folder using this command in odoo repo folder so you may have no permission to create a new folder, so create a new folder and use it in command

syntax is like: ./odoo-bin scaffold <module name> <where to put it> 

you can use this command which will create this module in outside of odoo addons : 

./odoo-bin scaffold bi_product_profitability ../../custom/

Avatar
Descartar
Autor

Yes It's Working for me i was just doing small mistake while location desire folder where i want to put my module.

Mejor respuesta

use sudo before command

Avatar
Descartar
Autor

Give me example please

sudo ./odoo-bin scaffold bi_product_profitability /custom/

Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 17
7585
0
ago 18
3992
2
mar 25
5752
0
jul 23
1822
2
ago 22
2453