Sunday, September 4, 2011

Dia plug-in installation for OpenERP 6 on Windows

About a year and a half ago, I wrote a step-by-step manual to install the Dia plug-in for OpenERP 5 on Windows. This walk-through was available in the implementation methodology memento hosted in the Partners Portal.
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:
  1. 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.
  2. A module generator that allows you to create the skeleton of a module based on a UML diagram you have drawn.
Here are the steps (to be followed in this order):
You can have several versions of Python installed concurrently. So there is no problem if you have a more recent version already installed.
During the installation, make sure to:
    Select “Yes, make backups”
    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):
    Install PyGtk 2.8.6:
    http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.8/pygtk-2.8.6-1.win32-py2.3.exe
    During the installation, select the component "Python plug-in".
    At the end of the installation, start Dia and close it immediately.

    As you can see, the steps haven't changed that much. What has been adapted mostly is the plug-in code.

    14 comments:

    1. Always a good think for "Wireframing".

      ReplyDelete
    2. openerp6.0-dia-plugin-windows can't download. Not file exist.

      ReplyDelete
    3. Hi,
      The link works for me. If someone else has the same problem, I will mirror it.

      ReplyDelete
    4. hi,
      I 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.

      ReplyDelete
    5. 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 ?

      ReplyDelete
    6. I mirrored/fixed the broken links.

      ReplyDelete
    7. Thanks! great tutorial.

      I'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

      ReplyDelete
    8. This comment has been removed by the author.

      ReplyDelete
    9. Dial 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.

      sap project system

      ReplyDelete
      Replies
      1. 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.

        Delete
    10. Hi Febrick,

      Thanks 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.

      ReplyDelete
    11. Hello every one there.....

      Most 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.....

      ReplyDelete