chat.freenode.net #tryton log beginning Tue Dec 20 00:00:01 CET 2011 | ||
sisalp | hello, a question about locales | 10:38 |
---|---|---|
sisalp | when I set LANG=fr_FR.UTF-8 system wide, postgresql creates databases with fr_FR.UTF-8 | 10:39 |
sisalp | is is ok for tryton ? | 10:40 |
sisalp | or should I prefer en_US.UTF-8 ? | 10:40 |
sisalp | both are defined anyway | 10:41 |
cedk | sisalp: where do you see there is a language link to the database? | 10:49 |
sisalp | psql -l | 10:49 |
cedk | sisalp: I don't see language | 10:50 |
sisalp | postgres | postgres | UTF8 | fr_FR.UTF-8 | fr_FR.UTF-8 | | 10:51 |
sisalp | in templates also | 10:51 |
sisalp | after a update-locale LANG= | 10:51 |
sisalp | before postgresql installation | 10:52 |
cedk | sisalp: not a very big deal, it is about sorting | 10:57 |
sisalp | good thank you | 10: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 #tryton | 19:36 | |
udono | jcm: yes, they do not inherit from parent. | 19:57 |
scrapper | hello 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 |
scrapper | Invoice refers to invoice.odt | 21:26 |
scrapper | Invoice_2 should refer to invoice2.odt | 21:26 |
scrapper | this is just an example. | 21:26 |
scrapper | i tried to modify invoice.xml but i did not get me a second report to open. | 21:27 |
scrapper | can't find the proper code in invoice.py either any hints? | 21:27 |
scrapper | in 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 reports | 21:36 |
scrapper | invoice_en.odt | 21:36 |
scrapper | invoice_de.odt | 21:36 |
scrapper | both will get generated in the same way... only the used *.odt files should differ. | 21:36 |
scrapper | the 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 |
scrapper | and 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 |
scrapper | ok 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 |
scrapper | maybe 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!