Hi everyone, I have always hated writing views by hand so I wrote a small script that uses proteus to generate a basic view for new models. I thought some of you might be interested so here it is: http://new.lasolution.be/build_view.tar.gz
I place the script at the root of my trytond install where I also have the proteus directory (basically it can be placed anywhere as long as trytond and proteus are in your pythonpath). The syntax is ./ build_view.py <module> <model> ><view_file> ie: ./build_view.py party party.party > ./tmp_view.xml The script is provided "as is", it is not intended to be bullet-proof or anything, it's just a small tool that can be used to make thinks easier. Although if some of you want to improve it, I can always put it on a mercurial serveur somewhere. Hope this is usefull. Have a good day everyone -- [email protected] mailing list
