yep - I know the issue with the extensions - a field which will be automaticly filled with the name of the uploaded file is one solution. If people is uploading from linux without extension, someone has to write or find a huge mime-type2extension map ;)
i will take a look on how to contribute - this snippet was only a short idea ... Jan tryton - chapter saxony On 6 Nov., 17:04, Cédric Krier <[email protected]> wrote: > On 06/11/10 08:48 -0700, grasbauer wrote: > > > Hi, > > > today i hacked a little bit in tryton/gui/window/view_form/view/ > > form_gtk/image.py > > > i added a button for viewing the file in the standard viewer of the > > OS > > (later i will try to add this button to the binary-field) > > > i think this is a little improvement to the usability of the client: > > This is interesting. But I think we should try to get a more powerful feature > to improve the usability on this topic. By that I mean we should give a > meaningful name to the file (I think windows recognize file based on the > extension) like we did for the reports. So we could add an attribute to the > binary field that could take a string or a field name which will contain the > file name. > > By the way, it is better to create an issue when you want to contribute to > Tryton because it is easier to track his > state.http://code.google.com/p/tryton/wiki/HowtoContribute > > -- > Cédric Krier > > B2CK SPRL > Rue de Rotterdam, 4 > 4000 Liège > Belgium > Tel: +32 472 54 46 59 > Email/Jabber: [email protected] > Website:http://www.b2ck.com/ > > application_pgp-signature_part > < 1 KBAnzeigenHerunterladen -- [email protected] mailing list
