For newbies, full instructions (windows XP): Download and install ActiveState Python version 2.3...: url = http://downloads.activestate.com/ActivePython/windows/2.3/ file: ActivePython-2.3.5-236-win32-ix86.msi
Download and install Dia for windows: http://dia-installer.de/index_en.html (just click download and you'll be taken to sourceforge) During installation make sure you check the "python plugin option". Download and install PyCairo 1.0.2 link: http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.0/pycairo-1.0.2-1.win32-py2.3.exe Download and install PyGtk 2.8.6 link: http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.8/pygtk-2.8.6-1.win32-py2.3.exe Download latest version of "codegen_openerp.py" from here: link: http://bazaar.launchpad.net/%7Eopenerp-commiter/openobject-addons/trunk-extra-addons/annotate/head%3A/uml_dia/codegen_openerp.py If you aren't using bazaar just open the link with your browser and select "download file" from the menu option on the page. Now copy the saved "codegen_openerp.py" file to your dia directory (program files/dia) Open Dia and open the python console: (go to the menu item "Dialogues -> Python Console") and type the following command in the textbox: import codegen_openerp When you finish your diagram and want to export go to menu: File -> Export. You should see the export dialog. Make sure that when you choose "Determine File Type" in "Export Options" you can see the option: "PyDia Code Generation (OpenERP) (*.zip) Thats it. should be working now. -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=40716#40716 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
