Hi! I defined a selection field, and wanted to print the labels in a report sxw file. I realized, that referring on the field i get back the key and not the value. I wrote a function, which gives me back the value. My problem, that i cannot reach, that the label will be in my language. Everything else is translated, but this label is not. I tried to import from tools.translate import _, and mark the labels: PAYMENT_MODES = (('cash', _('Cash')), ('bank', _('Bank transfer')), ('cheque', _('Cheque'))) In the openERP interface i get the translation, but in the sxw file not. Could you help me? Thanks
-------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=59788#59788 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users