IRC logs of #tryton for Tuesday, 2011-01-25

chat.freenode.net #tryton log beginning Tue Jan 25 00:00:01 CET 2011
2011-01-25 00:13 <cedk> plantian: why don't you override _get_context_price_list_line and set unit_price to the right price
2011-01-25 00:21 <plantian> cedk: Okay that might work too. I will try that. Thanks.
2011-01-25 00:45 -!- GasbaKid(~GasbaKid@41.96.29.51) has joined #tryton
2011-01-25 00:59 <plantian> cedk: Is there a reason why that method does not receive the price list ?
2011-01-25 01:05 <cedk> plantian: don't understand
2011-01-25 01:13 <plantian> cedk: http://hg.tryton.org/modules/product_price_list/file/2e2f15f0a035/price_list.py#l29 -- this method does not receive the price list as an argument
2011-01-25 01:14 <cedk> plantian: which price list?
2011-01-25 01:15 <plantian> cedk: http://hg.tryton.org/modules/product_price_list/file/2e2f15f0a035/price_list.py#l92 the price_list in price_list.lines. The instance.
2011-01-25 01:16 <plantian> I was going to pass store in via context but I think now it might make more sense for a store to be an attribute of the price list itself.
2011-01-25 01:16 <plantian> If I do that though I don't see how I could access it.
2011-01-25 01:18 <cedk> plantian: in your place, I will just change the unit_price value returned in _get_context_price_list_line by the one you want for the context store
2011-01-25 01:23 <plantian> cedk: Yes except I realized I have to find some way to set store in context and in some cases it doesn't make sense.
2011-01-25 01:24 <cedk> plantian: just test if it is there or not
2011-01-25 01:25 <cedk> plantian: you got the method _get_context_sale_price in sale_price_list to set specific context for price list
2011-01-25 01:46 -!- okko(~okko@203.106.205.138) has joined #tryton
2011-01-25 01:54 -!- haggai(~halls@brooke.credativ.ltd.uk) has joined #tryton
2011-01-25 02:35 -!- okko(~okko@203.106.205.138) has joined #tryton
2011-01-25 02:53 -!- heg(~heg@dyn.144-85-212-194.dsl.vtx.ch) has joined #tryton
2011-01-25 03:36 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-01-25 03:53 -!- elbenfreund(~elbenfreu@p54B94375.dip.t-dialin.net) has joined #tryton
2011-01-25 04:19 -!- yangoon(~mathiasb@p549F6729.dip.t-dialin.net) has joined #tryton
2011-01-25 05:17 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-01-25 05:19 -!- yangoon(~mathiasb@p549F4B6C.dip.t-dialin.net) has joined #tryton
2011-01-25 06:50 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2011-01-25 07:21 -!- okko(~okko@203.106.205.138) has joined #tryton
2011-01-25 08:23 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-01-25 08:56 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-01-25 08:57 -!- FWiesing_(~FWiesing@mail.tryton.at) has joined #tryton
2011-01-25 09:16 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-01-25 09:16 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton
2011-01-25 09:25 -!- okko(~okko@206.112.49.60.klj03-home.tm.net.my) has joined #tryton
2011-01-25 09:29 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-01-25 09:46 -!- heffer(~felix@fedora/heffer) has joined #tryton
2011-01-25 10:25 -!- FWiesing_(~FWiesing@mail.tryton.at) has left #tryton
2011-01-25 10:26 -!- FWiesing(~FWiesing@mail.tryton.at) has joined #tryton
2011-01-25 10:51 -!- paepke(~paepke@p4FEB1575.dip0.t-ipconnect.de) has joined #tryton
2011-01-25 11:03 -!- FWiesing_(~FWiesing@mail.tryton.at) has joined #tryton
2011-01-25 11:03 -!- bechamel(~user@wifi-secure1-295.sri.ucl.ac.be) has joined #tryton
2011-01-25 11:27 -!- cheche(cheche@46.25.80.67) has joined #tryton
2011-01-25 12:11 <lem0na> this is interesting: http://syntensity.com/static/python.html
2011-01-25 12:28 -!- paepke(~paepke@p4FEB1575.dip0.t-ipconnect.de) has left #tryton
2011-01-25 12:40 -!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-01-25 12:54 -!- okko(~okko@206.112.49.60.klj03-home.tm.net.my) has joined #tryton
2011-01-25 13:29 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2011-01-25 14:23 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-01-25 14:35 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-01-25 14:41 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-01-25 14:58 -!- okko(~okko@206.112.49.60.klj03-home.tm.net.my) has joined #tryton
2011-01-25 15:23 -!- lemona(~lem0na@95.87.233.210) has joined #tryton
2011-01-25 15:26 -!- trifon(~trifon@173-9-34-249-NewEngland.hfc.comcastbusiness.net) has joined #tryton
2011-01-25 15:29 -!- klando(~klando@acidenitrix.villemain.org) has joined #tryton
2011-01-25 15:55 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-01-25 16:09 -!- pheller(~pheller@c1fw229.constantcontact.com) has joined #tryton
2011-01-25 16:22 -!- FWiesing_(~FWiesing@mail.tryton.at) has left #tryton
2011-01-25 16:23 -!- FWiesing(~FWiesing@mail.tryton.at) has joined #tryton
2011-01-25 16:32 -!- paepke(~paepke@p4FEB2071.dip0.t-ipconnect.de) has joined #tryton
2011-01-25 16:40 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-01-25 16:48 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-01-25 16:49 -!- kwmiebach(~ad@xdsl-87-79-164-146.netcologne.de) has joined #tryton
2011-01-25 16:49 -!- kwmiebach(~ad@xdsl-87-79-164-146.netcologne.de) has left #tryton
2011-01-25 16:49 -!- kwmiebach(~ad@xdsl-87-79-164-146.netcologne.de) has joined #tryton
2011-01-25 17:18 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-01-25 17:26 <kwmiebach> Hi. After some evaluation of openerp I found out about tryton and have setup my first tryton 1.8 server on linux :)
2011-01-25 17:26 <kwmiebach> I am now creating a new database from the windows client. But the "create button is not clickable.
2011-01-25 17:27 <kwmiebach> Also there is no standard language selectable: http://dl.dropbox.com/u/19556817/cr.JPG Do you have some advice?
2011-01-25 17:27 <kwmiebach> I wonder if I could set a standard language somewhere this would work.
2011-01-25 17:34 <cedk> kwmiebach: did you fill all the form?
2011-01-25 17:35 <bechamel> kwmiebach: actually (reading the code), if no langage are selected, the create button stay grey
2011-01-25 17:35 <bechamel> so the initial issue is why the langages does not shows
2011-01-25 17:40 -!- pheller(~pheller@c1fw229.constantcontact.com) has joined #tryton
2011-01-25 17:41 <bechamel> kwmiebach: no error messages on server logs ?
2011-01-25 17:47 <kwmiebach> i will check on the server for logs now.
2011-01-25 17:48 <kwmiebach> The dropdown box has no entries
2011-01-25 17:50 <kwmiebach> The server log does not even mention that a client did connect: http://dl.dropbox.com/u/19556817/log1.txt
2011-01-25 17:52 <kwmiebach> cedk: I cannot fill out the language dropdown box, it is grayed out and does not react.
2011-01-25 17:54 <cedk> kwmiebach: strange is the connection to the server working?
2011-01-25 17:54 <kwmiebach> Btw I think this already the decision to prefer tryton over oe, I never received any answers in the oe channels.
2011-01-25 17:55 <kwmiebach> cedk: I can ping it, I can telnet port 8070, how else would I check?
2011-01-25 17:56 <cedk> kwmiebach: can you test from a linux box
2011-01-25 17:58 <kwmiebach> cedk, I think the connection works, I have something in the server logs from before, look, I dumped more backwards from the logfile now: http://dl.dropbox.com/u/19556817/log1.txt - you can see at 17:01:40 that I connected from the client.
2011-01-25 17:58 <kwmiebach> You mean I could install a linux tryton client for testing purposes - will try that.
2011-01-25 17:59 <bechamel> kwmiebach: the log also shows an error msg
2011-01-25 18:00 <bechamel> kwmiebach: most probably the tryton server cannot acces postgresql server
2011-01-25 18:00 <cedk> kwmiebach: you must create a postgresql user for the trytond server
2011-01-25 18:02 -!- pheller(~pheller@c1fw229.constantcontact.com) has joined #tryton
2011-01-25 18:02 <kwmiebach> cedk, bechamel, I had already done this, the first part of the log was before that, the second part is afterwards
2011-01-25 18:03 <kwmiebach> I only show you this log to demonstrate that the client server connection works
2011-01-25 18:03 <kwmiebach> I wonder if my language setting in the config are wrong: http://dl.dropbox.com/u/19556817/tryton.conf.txt
2011-01-25 18:03 <kwmiebach> The "lang =" part ?
2011-01-25 18:04 <cedk> kwmiebach: there is no lang in conf
2011-01-25 18:04 <kwmiebach> ok, I will remove this
2011-01-25 18:10 <kwmiebach> cedk: I works!. After server restart I can choose a language and also create a db. I am in module coonfig now. My fault to insert wrong config options. Thank you all!
2011-01-25 18:12 <bechamel> kwmiebach: great
2011-01-25 18:12 <cedk> kwmiebach: no problem ur welcome
2011-01-25 18:13 <kwmiebach> I am looking forward to work with tryton. I am a python and db developer and we need some additional features, like integration of soft phones. I wonder if "plugins" on the client side can be used for this?
2011-01-25 18:15 <kwmiebach> If we can write a python client module for the windows client we can access the soft phones for our CRM.
2011-01-25 18:17 <cedk> kwmiebach: there is possibility for plugins in client but there is no real API
2011-01-25 18:18 <cedk> kwmiebach: you should use some monkey-patching I guess
2011-01-25 18:18 <cedk> kwmiebach: and learn the internal stuffs of the client
2011-01-25 18:19 <kwmiebach> cedk: You mean I check out the code of the client, develop my patches?
2011-01-25 18:20 <cedk> kwmiebach: there is a directory plugins where you can put python module, it will be loaded
2011-01-25 18:22 -!- GasbaKid(~GasbaKid@41.96.65.157) has joined #tryton
2011-01-25 18:22 <cedk> kwmiebach: but it is something that was not really used for now
2011-01-25 18:23 <kwmiebach> cedk: i wonder if it would be easier for now to put it directly in the user interface, wiht the option of moving it to plugins later
2011-01-25 18:24 <cedk> kwmiebach: I don't know exactly what you need
2011-01-25 18:25 <kwmiebach> The first thing would be for outgoing calls, attach a button wiht some python/windows code to a gui field that looks like a phone number
2011-01-25 18:25 <kwmiebach> The button takes the number and gives it to the softphone, and the phone will dial the number.
2011-01-25 18:25 <kwmiebach> Second thing would be for incoming calls, pass the number from tha caller to tryton. Maybe start a new instance.
2011-01-25 18:26 <cedk> kwmiebach: it is already there :-)
2011-01-25 18:26 <kwmiebach> really?
2011-01-25 18:26 <cedk> kwmiebach: there is a widget callto and sip
2011-01-25 18:27 <kwmiebach> oh
2011-01-25 18:27 <cedk> kwmiebach: and they generate a URL with callto: and sip: as protocol
2011-01-25 18:27 <cedk> kwmiebach: so you just have to register your softphone to handle those URL protocol
2011-01-25 18:27 <kwmiebach> cool
2011-01-25 18:28 -!- elbenfreund(~elbenfreu@p54B94375.dip.t-dialin.net) has joined #tryton
2011-01-25 18:30 -!- trifon_(~trifon@173-9-34-249-NewEngland.hfc.comcastbusiness.net) has joined #tryton
2011-01-25 18:35 <kwmiebach> cedk: the softphone is somehow limitd but I could write a bridge between the tryton client and the phone client.
2011-01-25 18:35 <kwmiebach> The api of the phone is a little bit restricted.
2011-01-25 18:37 -!- FWiesing_(~FWiesing@mail.tryton.at) has joined #tryton
2011-01-25 18:56 -!- chrue(~chrue@dyndsl-091-096-052-001.ewe-ip-backbone.de) has joined #tryton
2011-01-25 18:58 -!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton
2011-01-25 19:38 -!- seyz_(~seyz@85.26.24.56) has joined #tryton
2011-01-25 19:38 <seyz_> hi o/
2011-01-25 19:55 -!- enlightx(~enlightx@dynamic-adsl-94-34-219-172.clienti.tiscali.it) has joined #tryton
2011-01-25 20:19 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-01-25 20:44 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2011-01-25 20:49 -!- nicoe(~nicoe@174.174-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-01-25 21:14 -!- nicoe_(~nicoe@174.174-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-01-25 21:18 -!- elbenfreund1(~elbenfreu@p54B94602.dip.t-dialin.net) has joined #tryton
2011-01-25 21:26 -!- paepke(~paepke@p4FEB2071.dip0.t-ipconnect.de) has left #tryton
2011-01-25 21:35 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2011-01-25 22:51 -!- paepke(~paepke@p4FEB3971.dip.t-dialin.net) has joined #tryton
2011-01-25 23:13 -!- kwmiebach1(~ad@xdsl-78-34-233-194.netcologne.de) has joined #tryton
2011-01-25 23:31 -!- FWiesing_(~FWiesing@mail.tryton.at) has left #tryton
2011-01-25 23:36 -!- GasbaKid(~GasbaKid@41.96.65.157) has joined #tryton
2011-01-25 23:38 -!- FWiesing(~FWiesing@mail.tryton.at) has joined #tryton
2011-01-25 23:46 <kwmiebach1> How would I install the party module? sudo easy_install tryton_party does not work, neither does sudo easy_install tryton_module_party
2011-01-25 23:49 <cedk> kwmiebach1: trytond_party
2011-01-25 23:50 <kwmiebach1> oh. thank you. :)

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