Skip to Content
Menú
This question has been flagged
3 Respostes
43046 Vistes

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
Best Answer

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.

Best Answer

use sudo before command

Avatar
Descartar
Autor

Give me example please

sudo ./odoo-bin scaffold bi_product_profitability /custom/

Related Posts Respostes Vistes Activitat
1
de juny 17
7591
0
d’ag. 18
3999
2
de març 25
5773
0
de jul. 23
1828
2
d’ag. 22
2512