تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
43223 أدوات العرض

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
يونيو 17
7735
0
أغسطس 18
4154
2
مارس 25
5904
0
يوليو 23
1889
2
أغسطس 22
2602