Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4095 Visualizzazioni

How we test our module during module development? Because if we add our developing module to this path--> C:\Program Files (x86)\Odoo 8.0-20150805\server\openerp\addons  , the windows wil not allow you to change it or modify it. This is a big problem. any answer please.. 

Avatar
Abbandona
Risposta migliore

There is several options to solve that.

option 1: Try to create module folder somewhere else, say on desktop, then create shortcut to this folder from C:\Program Files (x86)\Odoo 8.0-20150805\server\openerp\addons (with the same name as module folder name) and check if such approach will work... (I never tried but it may work, I do not use windows actually)

option 2: You can always reset security settings for  C:\Program Files (x86)\Odoo 8.0-20150805\server\openerp\addons such a way, that it'll allow you further edit everything inside it (of course you'll need administrative access for that).

option 3: Edit configuration file of odoo (openerp.conf or something like that) and add additional addons directory path to another directory, where you can add your modules, or even you can edit windows service for odoo(from services) and add additional addons directory path through --addons-path command line option.

Avatar
Abbandona
Autore

Thank you @Temur. do you know how to import openerp modules to pycharm? I installed odoo in package installer. But modules cannot be loaded to pycharm.

Autore

Thank you @Temur. do you know how to import openerp modules to pycharm? I installed odoo in package installer. But modules cannot be loaded to pycharm.

I do not know, I don't use Pycharm at all. Probably you should ask separate question for that and if someone knows they'll answer you. Also, it's slightly better approach, if you simply use source install for development purposes, instead of package install that you use currently

Post correlati Risposte Visualizzazioni Attività
1
dic 22
6295
2
giu 20
41887
1
giu 16
8688
0
mar 16
3170
1
lug 15
5081