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

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

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!