Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Development Environment on Windows OS

By
umer farooq
on 1/13/14, 9:09 AM 7,115 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.

0
Pornima Mane
On 1/13/14, 9:48 AM

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.

0
Eric
On 1/13/14, 3:26 PM

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

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:)

umer farooq
on 1/15/14, 8:48 AM

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.

Eric
on 1/16/14, 12:40 PM

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

umer farooq
on 1/17/14, 8:41 AM

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/

Eric
on 1/17/14, 1:35 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 1/13/14, 9:09 AM
Seen: 7115 times
Last updated: 3/16/15, 8:10 AM