Today's post is an update of this tutorial for OpenERP 6 (tested on the OpenERP 6.0 series with Windows 7).
As a reminder, there are in fact 2 applications to the Dia plug-in:
- A view importer that allows you to start your screen designs from existing views directly imported in real-time from a specified OpenERP instance. This is very useful to avoid wasting time drawing everything from scratch during the analysis phase of your project.
- A module generator that allows you to create the skeleton of a module based on a UML diagram you have drawn.
- Install Python 2.3.5: http://python.org/ftp/python/2.3.5/Python-2.3.5.exe
During the installation, make sure to:
- Install the exact following versions of the following dependencies (not included in Python 2.3.5):
http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.8/pygtk-2.8.6-1.win32-py2.3.exe
http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.0/pycairo-1.0.2-1.win32-py2.3.exe
http://pypi.python.org/packages/2.3/l/lxml/lxml-1.2.win32-py2.3.exe
- Install the latest build of Dia 0.97.1 for Windows: http://sourceforge.net/projects/dia-installer/files/dia-win32-installer/0.97.1/dia-setup-0.97.1-2.exe/download
At the end of the installation, start Dia and close it immediately.
- Extract openerp6.0-dia-plugin-windows.zip in the installation folder of Dia (typically C:\Program Files\Dia). The file is available at: http://www.fileden.com/files/2011/5/11/3131898/openerp6.0-dia-plugin-windows.zip
Mirror: http://www.mediafire.com/?7zuk1r5jsrvdzxo
Mirror: http://www.4shared.com/file/9PefUI-E/openerp60-dia-plugin-windows.html - Start Dia.
- The file type "PyDia Code Generation (OpenERP) (*.zip)" should be available in the File>Export menu.
- The sheets "Open ERP interface" and "Open ERP icon pack" should be available in the "Other sheets" menu of the side bar.
- And the entry "Load Open ERP View" should be available in the Tools menu.