Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
43217 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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/

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Câu trả lời hay nhất

use sudo before command

Ảnh đại diện
Huỷ bỏ
Tác giả

Give me example please

sudo ./odoo-bin scaffold bi_product_profitability /custom/

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 17
7719
0
thg 8 18
4135
2
thg 3 25
5903
0
thg 7 23
1888
2
thg 8 22
2600