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:
Select “Python interpreter and libraries”
Unselect “Tcl/Tk”
Unselect “Python HTMLHelp file”
Unselect “Python utility scripts”
Unselect “Python test suite”
In Advanced Options, select “Admin install”
- 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
Install PyCairo 1.0.2:
http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.0/pycairo-1.0.2-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
Install lxml 1.2:
http://pypi.python.org/packages/2.3/l/lxml/lxml-1.2.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.
Follow further developments here: http://bazaar.launchpad.net/~openerp-commiter/openobject-addons/trunk-extra-addons/files/head:/openerp_dia/
Always a good think for "Wireframing".
ReplyDeleteopenerp6.0-dia-plugin-windows can't download. Not file exist.
ReplyDeleteHi,
ReplyDeleteThe link works for me. If someone else has the same problem, I will mirror it.
hi,
ReplyDeleteI successfully install the dia in my windows 7.
but when i load the openerp view it show me one dialog box from that i selected one form but after tat nothing is happening.
i have installed it but i have 1 problem that is after i close the dia and reopen it , the Debug menu will keep disappearing and i have to everytime reinstall the dia and redo all the process , i am using using win 7 prof. and are following all the instructions exactly. is there anything i have missed ?
ReplyDeleteI mirrored/fixed the broken links.
ReplyDeleteThanks! great tutorial.
ReplyDeleteI've imported a view, made some changes, but how do I export the view back to xml for openerp? I tried the export to "PyDia code generation" but it just creates an empty view. Am I missing something?
Thanks
thanks
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteDial plugin tutorial for OpenERP is really helpful. ERP can even help an organisation maintain compliance with government regulations, and tax returns.It can streamline order-fulfillment processes and harness relationships with partners and suppliers.
ReplyDeletesap project system
hi Tani, have you developed a custom module that suits to government compliance like SSS and Tax Returns, if yes, could i commission you to develop one for us. You could reach me via mobile +639159200919 or via email andybaldecanas@gmail.com. Please reply.
DeleteHi Febrick,
ReplyDeleteThanks for sharing your valuable info about Dia plug-in installation for OpenERP 6 on Windows. Swash Convergence Technologies Limited provides world most powerful dynamic ERP Software Solution all over the world.
Hello every one there.....
ReplyDeleteMost of your detail it very nice....
But now a day I use Openerp v8..... so, I just want to create a module through DIA.... But i cannot export to "PyDia Code Generation (Openerp) (*.zip)"
So, how can I do that....?? or any plugin I have to install....?? Please dedicate me for that......
The Best.....
Thanks you.....
you save my day bdy
ReplyDelete