Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
4021 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor

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.

Autor

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Dez. 22
6232
2
Juni 20
41751
1
Juni 16
8605
0
März 16
3086
1
Juli 15
5004