跳至内容
菜单
此问题已终结
3 回复
43157 查看

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.

形象
丢弃
最佳答案

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/

形象
丢弃
编写者

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

最佳答案

use sudo before command

形象
丢弃
编写者

Give me example please

sudo ./odoo-bin scaffold bi_product_profitability /custom/

相关帖文 回复 查看 活动
1
6月 17
7670
0
8月 18
4090
2
3月 25
5876
0
7月 23
1868
2
8月 22
2566