IRC logs of #tryton for Tuesday, 2011-12-20

chat.freenode.net #tryton log beginning Tue Dec 20 00:00:01 CET 2011
sisalphello, a question about locales10:38
sisalpwhen I set LANG=fr_FR.UTF-8 system wide, postgresql creates databases with fr_FR.UTF-810:39
sisalpis is ok for tryton ?10:40
sisalpor should I prefer en_US.UTF-8 ?10:40
sisalpboth are defined anyway10:41
cedksisalp: where do you see there is a language link to the database?10:49
sisalppsql -l10:49
cedksisalp: I don't see language10:50
sisalppostgres  | postgres | UTF8     | fr_FR.UTF-8 | fr_FR.UTF-8 |10:51
sisalpin templates also10:51
sisalpafter a update-locale LANG=10:51
sisalpbefore postgresql installation10:52
cedksisalp: not a very big deal, it is about sorting10:57
sisalpgood thank you10:57
jcm_hi, when a product categories has accounting defined, the children categories don't inherit this settings. Is it a feature?18:55
-!- scrapper(~scrapper@188-23-3-22.adsl.highway.telekom.at) has left #tryton19:36
udonojcm: yes, they do not inherit from parent.19:57
scrapperhello friends, how can I add a Report to "Open Report" --- in detail right now on an invoice on "Open Report" there is Invoice now I want to add another one lets call it Invoice_2.21:25
scrapperInvoice refers to invoice.odt21:26
scrapperInvoice_2 should refer to invoice2.odt21:26
scrapperthis is just an example.21:26
scrapperi tried to modify invoice.xml but i did not get me a second report to open.21:27
scrappercan't find the proper code in invoice.py either any hints?21:27
scrapperin fact I would like to add one report for invoice in English and one in German. translation is not enough... this is why I need two reports21:36
scrapperinvoice_en.odt21:36
scrapperinvoice_de.odt21:36
scrapperboth will get generated in the same way... only the used *.odt files should differ.21:36
scrapperthe question is: is it enough to change the XML-Description by adding a new Report or do I have to change the invoice.py too to activate the added report.21:56
scrapperand right now I have the feeling that if you want to add a new report that you have the setup(install) the hole database again. even if no data has changed. because I think the xml files get evaluated only on install procedure. But I am a beginner, so I have no idea. ;-)22:05
scrapperok this seems to be a lot of work, if I add another report to XML-Description i have to add another account.invoice which has to be unique so i have to make two different account.invoice_en and account.invoice.de so i have to update a lot of Pool().get functions in the code. This is a lot of work for such an easy task.22:19
scrappermaybe there is a better solution i don't know yet.22:20

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!