This question has been flagged
2 Replies
22085 Views

Hello,

I want to start development of my custom module that will help me in adding fields and for other purposes I am using :

-->Windows 7 -->Openerp7 Allinone Setup -->Version of (OpenERP 7.0-20131112-002438) -->PostgreSQL version 1.16.1(Installed with OpenERP) Is it Possible to develop Mymodule(Custom Module) in this environment and how please help me in it. I often get better and concise and people seem to be more confident discussion development on Ubuntu and barely can see a good post for Windows OS development. Detailed Answer Would be appreciated . Thanks.

Avatar
Discard
Best Answer

Hello. You can definitely develop custom modules in Windows. I am currently completing one right now for my job. I know it can be difficult learning how to complete one at first, but once you get the hang of it, then it isnt so bad. Take a look at this developer memento:

https://www.openerp.com/files/memento/OpenERP_Technical_Memento_latest.pdf

This information will cover the requirements you need to complete your custom module in OpenERP. Also, the Eclipse IDE is a good development tool to use when developing custom modules in OpenERP. Here is another link on how you can setup eclipse to develop OpenERP modules:

https://accounts.openerp.com/forum/Help-1/question/22239

Avatar
Discard
Author

Thanks Eric for your concern,Can you give me the source code of your custom module that would be very helpful for me to initiate,I want my custom module to be inherited with other classes and whatever changes I make in my custom module appears on Existing OpenERP class or Form Thank You,I hope my question is clear:)

Well my module isnt finished yet, and I dont think I can attach it on here for you. But if you look in your addons directory and find the 'note' module, open it up and take a look at the code in there. The module is not very large, and it uses some inheritance on the python files and in the xml view file. I think that would be a good place to start.

Author

Eric in my Installed version in addons there is no module with the name of note :(

Sorry about that. Here is a link that will take you to a page where you can download it. Just click download in the bottom right corner of the page. https://www.openerp.com/apps/7.0/note/

Best Answer

yes of course you can develop your own module in windows OS but I personally feel its more convenient and reliable to develop module in ubuntu as compare to Windows OS. after installation of your openerp and postgres create user for openerp in postgres then add that user to config.py file of openerp. then u have to install eclips or aptana studio in u r system that will be helpful to you see the code of various files then import openerp addons to eclips/aptana. if u installing aptana then after importing your openerp addons in it. right click on addons add new pydev package and name it. then u will see your module in addons with init file. then add other required files (__openerp__.py,*.py, *.xml etc) then create new database in openerp and give access rights to user by settings->user>access rights. then click on update modules list and after that click on installed modules u will see installed modules in then remove filter installed in search tab situated at right upper corner (by clicking cross ) then u can see all the available modules in your addons. then search your module in it. then install it. here is how you can develop your custom module in openerp with windows OS.

Avatar
Discard