Wednesday, November 18, 2009

RAD with OpenERP

Rapid Application Development with Open ERP
  • Complete Application can be designed without single line of code using dia module of open erp.
  • You need to download the uml_dia module from the extra_addons modules of OpenERP.
  • Here are the steps for the windows to setup openerp with dia using python.
  1. For windows download the following packages
  2. Install Python 2.3.5 - Download
  3. Install PyCairo 1.0.2 - Download
  4. Install PyGtk 2.8.6 - Download
  5. Install Dia 0.97 - Download with python Plugin support see the screenshot below
  6. You must start the installation of dia after installing first 3 dependencies of python, pycairo,pygtk
  7. The module is located in the extra_addons branch: https://code.launchpad.net/openobject-addons
  8. To use the module you need to make codegen_openerp.py accesible from dia, usually in your C:\Program Files\Dia
  9. For Linux usually it may be: /usr/share/dia/python directory
  10. Open Dia, open a Python Console from the Dialog Menu, and type there “import codegen_openerp”
  11. Open Dia Design your Application using UML and you will have the export function in Dia.
  12. If everything goes alright you will have a new option in your “Export...” dialog named “PyDia Code Generation (OpenERP)” that will create a zip module from your UML diagram.
References:
http://dia-installer.de/index_en.html
http://doc.openerp.com/developer/7_23_RAD_tools/index.html
http://fptiny.blogspot.com/2008/03/rad-with-tiny-erp.html
http://www.gnome.org/projects/dia

7 comments:

Fabrice said...

Update: You might also need to install the package lxml 1.2 for Python 2.3 at step 4bis. This package is located here: http://pypi.python.org/packages/2.3/l/lxml/lxml-1.2.win32-py2.3.exe

Anonymous said...

Hi,

Nice tool, but it will be helpful to write a small manual or guide to explain how to use it to develop modules for OpenERP...

Franck

Fábio Cerqueira said...
This comment has been removed by the author.
Aldus Logan said...

Nice post and the tool shown in the post it extremely good is there any other function of this toll please let me know.....? online business software

sap pp tables said...

As you mentioned that Complete Application can be designed without single line of code using dia module of open erp.If that is true than this might be saving a lot of time and effort.

Unknown said...

This application of computer is useful because its saves time and cost.
AX Hosting

Unknown said...

Great post. Keep it up. Thanks for advice. It is wonderful information for me. Please visit app development in Thailand