India

ZestyBeanz Technologies Pvt Ltd 4th Floor, Nila, Technopark Thiruvananthapuram,
India – 695581
Phone: +91 471 4063254
Fax : +91 471 2700171

   .

ZestyBeanz Technologies Pvt Ltd
61/3236, Manikkath Cross Road
Ravipuram, Kochi, India - 682016
Phone: +91 484 4063254

  UAE

Zesty Labs
Office # 2003, Millennium Plaza Building
Sheikh Zayed Rd, Dubai, UAE
Phone: +971 4333 2222​
Mobile: +971-52-7553466

  Germany​

ZestyBeanz Technologies GmbH
Reuterstraße 1
90408 Nürnberg
Fon: +49 911 4801 444
Fax: +49 911 4801 445

Contact Form


fahad's picture

OpenERP 6.1 development environment in Ubuntu using Eclipse.

          In this blog we will go through some steps required in setting up OpenERP for customization under eclipse in Ubuntu.In my previous blog i have gone through setting up OpenERP for windows.

Version Used:

  OpenERP    :     6.1
  Postgresql   :     9.1
  Eclispe        :     latest in ubuntu repository

Run the following commands from the terminal.

  1) Installs eclipse and its dependencies.
                  sudo apt-get update
                  sudo apt-get install  eclipse 
 
  2)Installs python and its libraries packages required for openerp-server
                sudo apt-get install python python-psycopg2 python-reportlab python-pychart python-pydot 
                 python-egenix-mxdatetime python-lxml python-libxslt1 python-tz python-dateutil python-vobject
                 python-mako python-yaml python-dev python-setuptools python-pybabel

  3)OpenerpERP server uses postgresql database server for its working so,
                 sudo apt-get install python-software-properties
                 sudo add-apt-repository ppa:pitti/postgresql
                 sudo apt-get update
                 sudo apt-get install postgresql-9.1 postgresql-client-9.1 postgresql-contrib-9.1

 
  4)Create a database user for OpenERP in postgresql server, who can create  databases and manipulate them.
                 sudo su postgres
                 createuser <system-user-name> (enter "y" when prompted for super user role)
                 exit

  5)Openerp-server 6.1 requires Werkzeug and Python-openid packages to be installed.
                   wget http://pypi.python.org/packages/source/W/Werkzeug/
                        Werkzeug-0.8.3.tar.gz#md5=12aa03e302ce49da98703938f257347a  (copy the full link)

                   tar -zxvf  Werkzeug-0.8.3.tar.gz
                   cd Werkzeug-0.8.3
                   python setup.py install
                   cd ..

                   wget http://pypi.python.org/packages/source/p/python-openid/
                        python-openid-2.2.5.tar.gz#md5=393f48b162ec29c3de9e2973548ea50d  (copy the full link)

                   tar -zxvf python-openid/python-openid-2.2.5.tar.gz
                   cd python-openid-2.2.5
                   python setup.py install
                   cd ..

  6) Install PyDev plugin in eclipse
            a)help -> Install New Software.
            b)In Install dialog box, Click Add.
            c)Give name ‘pydev’ and type the path. i.e. 
            d)click ok.
            e)select pydev checkbox and follow the steps by clicking finish

   7)Adding python in eclipse can be done by
           a)window -> Preferences
           b)In Preferences dialog box expand pydev from left side tree
           c)click on Interpreter-Python
           d)click new (python interpreter) 
           e)browse and select  "File System-->usr-->bin-->python" and  also give name "python2.6"
           f) click ok then again ok

   8)Download Openerp 6.1 source tarball from,
            http://nightly.openerp.com/6.1/releases/openerp-6.1-1.tar.gz

   9)Extract the tarball downloaded and create a folder Openerp and move the tarball and extract it there, rename it to Openerp-6.1

   10)Switch the workspace folder to created Openerp folder and create a new Pydev project in eclipse named Openerp-6.1.
          New-> project --> Pydev --> Pydev project 
          project name - Openerp-6.1
          check Use default
          Press F5 after creating the project to refresh the workspace.

    11)In Eclipse package explorer, Rename openerp-server in Openerp-6.1 folder to openerp-server.py.
          Right Click on,  openerp-server.py --> Run as --> Python run.

            Openerp web can be accessed from the browser through browser http://localhost:8069.

      Hope this blog might be helpful.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo], [[foo]]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.