Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4097 Prikazi

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
Opusti
Best Answer

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
Opusti
Avtor

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.

Avtor

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

Related Posts Odgovori Prikazi Aktivnost
1
dec. 22
6296
2
jun. 20
41888
1
jun. 16
8688
0
mar. 16
3171
1
jul. 15
5081