Viewing posts for the category Python
I added a Boolean field to SaleLine - one that is not shown to the user but only set in the code as a flag. As the readonly state of just about all my custom fields should depend on that I added:
So I have finally imported all data from our old dolibarr install to tryton (the historical project data was missing - and because I needed to implement something in tryton first it had to wait a bit)
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)..