If you were looking for something specific you probably got redirected here from an old link to my (now gone) drupal blog. I migrated all the pages & blog entries to this blog, so just use the search here to find what you were looking for.
Just a little script to find duplicate contact_mechanism entries on parties in tryton (how i run tryton stuff using ipython and proteus):
So I wanted some sort of progress printed while my import into tryton runs .. I just had dots to start with .. not easy to keep track though.
So I was busy testing tryton import scripts .. which means constantly re-setting my DB to clear it (deleting just takes 10 times longer than SQL restore)..
So after a bit of experimenting I now know how to add Notes to other objects (like Party) for example:
Just a very quick one-liner I use when testing my import scripts on tryton (on gentoo):