Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
43224 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

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/

Avatar
Abbandona
Autore

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

Risposta migliore

use sudo before command

Avatar
Abbandona
Autore

Give me example please

sudo ./odoo-bin scaffold bi_product_profitability /custom/

Post correlati Risposte Visualizzazioni Attività
1
giu 17
7737
0
ago 18
4154
2
mar 25
5904
0
lug 23
1889
2
ago 22
2602