Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3836 Vistas

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
Descartar
Mejor respuesta

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
Descartar
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

Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 22
5974
2
jun 20
40950
1
jun 16
8365
0
mar 16
2830
1
jul 15
4694