Skip to Content
Menu
This question has been flagged
3 Replies
40097 Views

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
Discard
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
Discard
Author

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
Discard
Author

Give me example please

sudo ./odoo-bin scaffold bi_product_profitability /custom/

Related Posts Replies Views Activity
1
Jun 17
6500
0
Aug 18
2981
0
Jul 23
799
2
Aug 22
1163
0
Jul 22
1147