hi,

[EMAIL PROTECTED] wrote:
> can you tell me in what file you edit this and what i have to add exactly ?
>   
not really, but I can explain a little more.

I made a small module for my own customizations, and this part is from a
.py file defining a report. if you want to use this with stock reports,
you have to find where they are defined, and add the locale module to
their localcontext. Documentation in the wiki is helpful.

This will only work for sxw/rml-reports, and it's (probably) not aware
of tinyerp's notion of language, so YMMV.

IIRC I also had to set the locale in the python process explicitly, e.g.
(assuming LC_ALL is set to proper locale), add something like this to
tinyerp-server.py:

import locale
import os

locale.setlocale(locale.LC_ALL, os.environ["LC_ALL"])

mfg
-- 
Robert Schöftner        
LBT Schöftner Technik GmbH

Fax: +43-7221-72659-44
Voice: +43-7221-72659
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>    Humerstraße 41
4063 Hörsching
Austria

www.lbt-schoeftner.at <http://www.lbt-schoeftner.at>


begin:vcard
fn;quoted-printable:Robert Sch=C3=B6ftner
n;quoted-printable:Sch=C3=B6ftner;Robert
org;quoted-printable:LBT Sch=C3=B6ftner Technik GmbH
adr;quoted-printable;quoted-printable:;;Humerstra=C3=9Fe 41;H=C3=B6rsching;;4063;Austria
email;internet:[EMAIL PROTECTED]
tel;work:+43-7221-72659
tel;fax:+43-7221-72659-44
url:http://www.lbt-schoeftner.at
version:2.1
end:vcard

_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to