Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
43346 มุมมอง

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/

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มิ.ย. 17
7786
0
ส.ค. 18
4215
2
มี.ค. 25
6008
0
ก.ค. 23
1947
2
ส.ค. 22
2682