跳至內容
選單
此問題已被標幟
3 回覆
43196 瀏覽次數

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
7699
0
8月 18
4120
2
3月 25
5894
0
7月 23
1883
2
8月 22
2591