IRC logs of #tryton for Wednesday, 2010-04-07

chat.freenode.net #tryton log beginning Wed Apr 7 00:00:02 CEST 2010
2010-04-07 00:20 <carlos> cheche, I'm leaving to sleep, however, you can see an example about how to change the invoice document with the module: http://mercurial.intuxication.org/hg/account_invoice_discount/
2010-04-07 00:21 <carlos> that's my prefered way to do it
2010-04-07 00:21 <cheche> thanks carlos
2010-04-07 00:21 <carlos> there is another way, which is doing it directly on the database
2010-04-07 00:21 <carlos> but I don't remember the details now
2010-04-07 00:22 <cheche> well, it is mostly putting a logo and some colour... plus the observations.
2010-04-07 00:23 <carlos> cheche, for the logo
2010-04-07 00:23 <carlos> you should override header_A4.odt
2010-04-07 00:23 <carlos> so it's reused in several documents
2010-04-07 00:24 <cheche> carlos: ok
2010-04-07 00:24 <carlos> as an example, I have a custom module named 'company_pemas' with the customisations for my company
2010-04-07 00:24 <carlos> which basically is the header and the invoice override to match our image style
2010-04-07 00:25 <cheche> ok, I see but that is on the company module
2010-04-07 00:25 <cheche> do you open with oowriter?
2010-04-07 00:25 <carlos> yeah, I edit in in OpenOffice
2010-04-07 00:26 <carlos> those are templates editables in openoffice
2010-04-07 00:26 <carlos> with relatorio 'code' that extracts the data from the database
2010-04-07 00:27 <cheche> how do edit those without know that you screw up
2010-04-07 00:27 <carlos> well... being careful and check it first on a staging/development server
2010-04-07 00:27 <carlos> ;-)
2010-04-07 00:28 <cheche> ok. you know that odt is xml so I thought that you were editing some how
2010-04-07 00:29 <carlos> cheche, just as an example, this is the invoice.xml file I use in my company_pemas module to override the header and the invoice templates:
2010-04-07 00:29 <carlos> http://pastebin.com/NMCjGUG1
2010-04-07 00:29 <carlos> cheche, I'm not so crazy ;-)
2010-04-07 00:29 <cheche> ok... learning.
2010-04-07 00:30 <carlos> time to sleep....
2010-04-07 00:31 <carlos> see you tomorrow!
2010-04-07 00:31 <cheche> okk bye!
2010-04-07 00:31 <carlos> cheche, btw, welcome, I was feeling alone working/using Tryton in Spain :-P
2010-04-07 00:31 <carlos> night
2010-04-07 00:41 -!- dubski(~dubski@131.181.43.181) has joined #tryton
2010-04-07 01:06 <dubski> Hello, I'm having trouble running trytond. Getting address already in use error. Have searched for a while and can't find a solution. IPV6 is listening on the port but disabling that only causes IPV4 to take over. This is on Ubuntu 10.04 Any ideas?
2010-04-07 01:27 <udono> dubski: maybe tryton or open-erp is already running?
2010-04-07 01:28 <dubski> /etc/init.d/tryton-server status says trytond is not running.
2010-04-07 01:31 <dubski> not running open-erp
2010-04-07 01:31 <cheche> dubski: test using netstat -an | grep LISTEN
2010-04-07 01:32 <dubski> tcp6 0 0 :::8070 :::* LISTEN
2010-04-07 01:33 <dubski> that's the only thing on that port.
2010-04-07 01:34 <cheche> then something is there...
2010-04-07 01:34 <cheche> netstat -anp | grep LISTEN | grep 8070
2010-04-07 01:34 <cheche> it will tell you the process id
2010-04-07 01:34 <dubski> 4762/python
2010-04-07 01:35 <cheche> dubski: ok, so that process is running...
2010-04-07 01:35 <dubski> ah ha
2010-04-07 01:35 <cheche> so the status command lies
2010-04-07 01:35 <cheche> you can kill that process
2010-04-07 01:36 <cheche> you can kill that process if you llike
2010-04-07 01:36 <dubski> done. thanks. that has fixed it for me.
2010-04-07 01:39 <dubski> well, fixed that part at least. Server is running but client won't connect.
2010-04-07 01:41 <cheche> dubski: what is the error?
2010-04-07 02:23 <dubski> "Database: Could not connect to server!"
2010-04-07 02:24 <dubski> do I need to manually create DB? or is there a setup script?
2010-04-07 02:26 <udono> dubski: you can create the database with the tryton client. But first you need to connect.
2010-04-07 02:27 <udono> dubski: is there a firewall between server and client?
2010-04-07 02:28 <dubski> ah ha. OK. it's trying to connect to localhost:8070 so that seems correct. server says it's running. login window is giving the connection error.
2010-04-07 02:28 <dubski> no firewall. unless Ubuntu 10.04 comes standard with one. I'll check.
2010-04-07 02:29 <cheche> dubski: are you able to check this file: /usr/share/doc/tryton-server/README.Debian
2010-04-07 02:29 <cheche> # su - postgres -c "createuser --createdb --no-createrole \
2010-04-07 02:29 <cheche> --no-superuser --pwprompt tryton"
2010-04-07 02:29 <cheche> Adjust /etc/trytond.conf to reflect the setup of your system
2010-04-07 02:30 <dubski> cheers. I'll take a look.
2010-04-07 02:36 <dubski> uncommented "netport = 8070" , restarted server. same problem. I was unable to auth when I tried the su command above. postgresql is installed.
2010-04-07 02:42 <dubski> also netstat is telling me that python is listening on that port again. no mention of Tryton.
2010-04-07 03:52 <udono> dubski: can you paste your server log on paste.pocoo.org
2010-04-07 03:52 <udono> dubski: what gives #ps aux|grep trytond
2010-04-07 03:53 -!- gremly(~gremly@201.244.240.240) has joined #tryton
2010-04-07 03:53 <udono> dubski: or #ps aux|grep python
2010-04-07 03:54 <dubski> http://paste.pocoo.org/show/198617/
2010-04-07 03:56 <dubski> http://paste.pocoo.org/show/198619/
2010-04-07 03:57 <dubski> http://paste.pocoo.org/show/198620/
2010-04-07 04:09 -!- pepeu(~manuel@187.137.156.59) has joined #tryton
2010-04-07 04:10 -!- pepeu_(~manuel@187.137.156.59) has joined #tryton
2010-04-07 05:18 -!- ikks_(~ikks@200.118.243.193) has joined #tryton
2010-04-07 05:19 -!- yangoon(~mathiasb@p549F71EB.dip.t-dialin.net) has joined #tryton
2010-04-07 07:21 -!- Timitos(~timitos@88.217.184.172) has joined #tryton
2010-04-07 07:50 <dubski> GTG. Thanks for your help guys.
2010-04-07 07:55 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-04-07 08:06 -!- sharkcz(~dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2010-04-07 08:54 -!- paepke(~paepke@p4FEB03C8.dip0.t-ipconnect.de) has joined #tryton
2010-04-07 08:58 -!- mr_amit(~amit@117.254.18.141) has joined #tryton
2010-04-07 09:06 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-04-07 09:49 -!- cedric_b(~cedric@ANantes-258-1-130-175.w90-54.abo.wanadoo.fr) has joined #tryton
2010-04-07 09:52 -!- bechamel(~user@host-85-201-159-186.brutele.be) has joined #tryton
2010-04-07 10:43 -!- tekknokrat(~gthielebe@dslb-088-075-176-002.pools.arcor-ip.net) has joined #tryton
2010-04-07 12:08 -!- paepke_(~paepke@p4FEB2564.dip0.t-ipconnect.de) has joined #tryton
2010-04-07 14:19 <cheche> how do yu0o import invoice /customer data from other erp?
2010-04-07 14:28 <udono> cheche: http://code.google.com/p/tryton/wiki/ImportData
2010-04-07 14:36 <cheche> udono: I saw that page, but I guess that I need to dig a bit more..
2010-04-07 14:39 <udono> cheche: BTW I promise importing invoice data will be very hard. Since all accounting software I know use different models for accounting and invoice, and all are still complex.
2010-04-07 14:40 <cheche> ok, but customer data is easy right?
2010-04-07 14:41 <udono> cheche: yes, they could be much easier
2010-04-07 15:51 -!- juanfe(~juanfe@78.220.60.190.host.ifxnetworks.com) has joined #tryton
2010-04-07 16:21 -!- woakas(~woakas@190.26.105.211) has joined #tryton
2010-04-07 17:05 -!- woakas(~woakas@190.26.105.211) has joined #tryton
2010-04-07 17:09 -!- Timitos(~timitos@88.217.184.172) has joined #tryton
2010-04-07 17:24 -!- paepke(~paepke@p4FEB2564.dip0.t-ipconnect.de) has left #tryton
2010-04-07 18:36 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-04-07 19:13 -!- enlightx(~enlightx@dynamic-adsl-78-13-115-173.clienti.tiscali.it) has joined #tryton
2010-04-07 21:32 -!- elver(~elver@213-35-213-182-dsl.trt.estpak.ee) has joined #tryton

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