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

chat.freenode.net #tryton log beginning Tue Jan 25 00:00:01 CET 2011
cedkplantian: why don't you override _get_context_price_list_line and set unit_price to the right price00:13
plantiancedk: Okay that might work too.  I will try that.  Thanks.00:21
-!- GasbaKid(~GasbaKid@41.96.29.51) has joined #tryton00:45
plantiancedk: Is there a reason why that method does not receive the price list ?00:59
cedkplantian: don't understand01:05
plantiancedk: http://hg.tryton.org/modules/product_price_list/file/2e2f15f0a035/price_list.py#l29  -- this method does not receive the price list as an argument01:13
cedkplantian: which price list?01:14
plantiancedk: http://hg.tryton.org/modules/product_price_list/file/2e2f15f0a035/price_list.py#l92 the price_list in price_list.lines.  The instance.01:15
plantianI 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.01:16
plantianIf I do that though I don't see how I could access it.01:16
cedkplantian: 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 store01:18
plantiancedk: Yes except I realized I have to find some way to set store in context and in some cases it doesn't make sense.01:23
cedkplantian: just test if it is there or not01:24
cedkplantian: you got the method _get_context_sale_price in sale_price_list to set specific context for price list01:25
-!- okko(~okko@203.106.205.138) has joined #tryton01:46
-!- haggai(~halls@brooke.credativ.ltd.uk) has joined #tryton01:54
-!- okko(~okko@203.106.205.138) has joined #tryton02:35
-!- heg(~heg@dyn.144-85-212-194.dsl.vtx.ch) has joined #tryton02:53
-!- pepeu(~manuel@201.155.193.192) has joined #tryton03:36
-!- elbenfreund(~elbenfreu@p54B94375.dip.t-dialin.net) has joined #tryton03:53
-!- yangoon(~mathiasb@p549F6729.dip.t-dialin.net) has joined #tryton04:19
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton05:17
-!- yangoon(~mathiasb@p549F4B6C.dip.t-dialin.net) has joined #tryton05:19
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton06:50
-!- okko(~okko@203.106.205.138) has joined #tryton07:21
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:56
-!- FWiesing_(~FWiesing@mail.tryton.at) has joined #tryton08:57
-!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton09:16
-!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton09:16
-!- okko(~okko@206.112.49.60.klj03-home.tm.net.my) has joined #tryton09:25
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton09:29
-!- heffer(~felix@fedora/heffer) has joined #tryton09:46
-!- FWiesing_(~FWiesing@mail.tryton.at) has left #tryton10:25
-!- FWiesing(~FWiesing@mail.tryton.at) has joined #tryton10:26
-!- paepke(~paepke@p4FEB1575.dip0.t-ipconnect.de) has joined #tryton10:51
-!- FWiesing_(~FWiesing@mail.tryton.at) has joined #tryton11:03
-!- bechamel(~user@wifi-secure1-295.sri.ucl.ac.be) has joined #tryton11:03
-!- cheche(cheche@46.25.80.67) has joined #tryton11:27
lem0nathis is interesting: http://syntensity.com/static/python.html12:11
-!- paepke(~paepke@p4FEB1575.dip0.t-ipconnect.de) has left #tryton12:28
-!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton12:40
-!- okko(~okko@206.112.49.60.klj03-home.tm.net.my) has joined #tryton12:54
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton13:29
-!- gremly(~gremly@200.106.202.91) has joined #tryton14:23
-!- gremly(~gremly@200.106.202.91) has joined #tryton14:35
-!- pepeu(~manuel@201.155.193.192) has joined #tryton14:41
-!- okko(~okko@206.112.49.60.klj03-home.tm.net.my) has joined #tryton14:58
-!- lemona(~lem0na@95.87.233.210) has joined #tryton15:23
-!- trifon(~trifon@173-9-34-249-NewEngland.hfc.comcastbusiness.net) has joined #tryton15:26
-!- klando(~klando@acidenitrix.villemain.org) has joined #tryton15:29
-!- pepeu(~manuel@201.155.193.192) has joined #tryton15:55
-!- pheller(~pheller@c1fw229.constantcontact.com) has joined #tryton16:09
-!- FWiesing_(~FWiesing@mail.tryton.at) has left #tryton16:22
-!- FWiesing(~FWiesing@mail.tryton.at) has joined #tryton16:23
-!- paepke(~paepke@p4FEB2071.dip0.t-ipconnect.de) has joined #tryton16:32
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton16:40
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton16:48
-!- kwmiebach(~ad@xdsl-87-79-164-146.netcologne.de) has joined #tryton16:49
-!- kwmiebach(~ad@xdsl-87-79-164-146.netcologne.de) has left #tryton16:49
-!- kwmiebach(~ad@xdsl-87-79-164-146.netcologne.de) has joined #tryton16:49
-!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton17:18
kwmiebachHi. After some evaluation of openerp I found out about tryton and have setup my first tryton 1.8 server on linux :)17:26
kwmiebachI am now creating a new database from the windows client. But the "create button is not clickable.17:26
kwmiebachAlso there is no standard language selectable: http://dl.dropbox.com/u/19556817/cr.JPG Do you have some advice?17:27
kwmiebachI wonder if I could set a standard language somewhere this would work.17:27
cedkkwmiebach: did you fill all the form?17:34
bechamelkwmiebach: actually (reading the code), if no langage are selected, the create button stay grey17:35
bechamelso the initial issue is why the langages does not shows17:35
-!- pheller(~pheller@c1fw229.constantcontact.com) has joined #tryton17:40
bechamelkwmiebach: no error messages on server logs ?17:41
kwmiebachi will check on the server for logs now.17:47
kwmiebachThe dropdown box has no entries17:48
kwmiebachThe server log does not even mention that a client did connect: http://dl.dropbox.com/u/19556817/log1.txt17:50
kwmiebachcedk: I cannot fill out the language dropdown box, it is grayed out and does not react.17:52
cedkkwmiebach: strange is the connection to the server working?17:54
kwmiebachBtw I think this already the decision to prefer tryton over oe, I never received any answers in the oe channels.17:54
kwmiebachcedk: I can ping it, I can telnet port 8070, how else would I check?17:55
cedkkwmiebach: can you test from a linux box17:56
kwmiebachcedk, 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.17:58
kwmiebachYou mean I could install a linux tryton client for testing purposes - will try that.17:58
bechamelkwmiebach: the log also shows an error msg17:59
bechamelkwmiebach: most probably the tryton server cannot acces postgresql server18:00
cedkkwmiebach: you must create a postgresql user for the trytond server18:00
-!- pheller(~pheller@c1fw229.constantcontact.com) has joined #tryton18:02
kwmiebachcedk, bechamel, I had already done this, the first part of the log was before that, the second part is afterwards18:02
kwmiebachI only show you this log to demonstrate that the client server connection works18:03
kwmiebachI wonder if my language setting in the config are wrong: http://dl.dropbox.com/u/19556817/tryton.conf.txt18:03
kwmiebachThe "lang =" part ?18:03
cedkkwmiebach: there is no lang in conf18:04
kwmiebachok, I will remove this18:04
kwmiebachcedk: 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!18:10
bechamelkwmiebach: great18:12
cedkkwmiebach: no problem ur welcome18:12
kwmiebachI 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?18:13
kwmiebachIf we can write a python client module for the windows client we can access the soft phones for our CRM.18:15
cedkkwmiebach: there is possibility for plugins in client but there is no real API18:17
cedkkwmiebach: you should use some monkey-patching I guess18:18
cedkkwmiebach: and learn the internal stuffs of the client18:18
kwmiebachcedk: You mean I check out the code of the client, develop my patches?18:19
cedkkwmiebach: there is a directory plugins where you can put python module, it will be loaded18:20
-!- GasbaKid(~GasbaKid@41.96.65.157) has joined #tryton18:22
cedkkwmiebach: but it is something that was not really used for now18:22
kwmiebachcedk: 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 later18:23
cedkkwmiebach: I don't know exactly what you need18:24
kwmiebachThe first thing would be for outgoing calls, attach a button wiht some python/windows code to a gui field that looks like a phone number18:25
kwmiebachThe button takes the number and gives it to the softphone, and the phone will dial the number.18:25
kwmiebachSecond thing would be for incoming calls, pass the number from tha caller to tryton. Maybe start a new instance.18:25
cedkkwmiebach: it is already there :-)18:26
kwmiebachreally?18:26
cedkkwmiebach: there is a widget callto and sip18:26
kwmiebachoh18:27
cedkkwmiebach: and they generate a URL with callto: and sip: as protocol18:27
cedkkwmiebach: so you just have to register your softphone to handle those URL protocol18:27
kwmiebachcool18:27
-!- elbenfreund(~elbenfreu@p54B94375.dip.t-dialin.net) has joined #tryton18:28
-!- trifon_(~trifon@173-9-34-249-NewEngland.hfc.comcastbusiness.net) has joined #tryton18:30
kwmiebachcedk: the softphone is somehow limitd but I could write a bridge between the tryton client and the phone client.18:35
kwmiebachThe api of the phone is a little bit restricted.18:35
-!- FWiesing_(~FWiesing@mail.tryton.at) has joined #tryton18:37
-!- chrue(~chrue@dyndsl-091-096-052-001.ewe-ip-backbone.de) has joined #tryton18:56
-!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton18:58
-!- seyz_(~seyz@85.26.24.56) has joined #tryton19:38
seyz_hi o/19:38
-!- enlightx(~enlightx@dynamic-adsl-94-34-219-172.clienti.tiscali.it) has joined #tryton19:55
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:19
-!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton20:44
-!- nicoe(~nicoe@174.174-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton20:49
-!- nicoe_(~nicoe@174.174-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton21:14
-!- elbenfreund1(~elbenfreu@p54B94602.dip.t-dialin.net) has joined #tryton21:18
-!- paepke(~paepke@p4FEB2071.dip0.t-ipconnect.de) has left #tryton21:26
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton21:35
-!- paepke(~paepke@p4FEB3971.dip.t-dialin.net) has joined #tryton22:51
-!- kwmiebach1(~ad@xdsl-78-34-233-194.netcologne.de) has joined #tryton23:13
-!- FWiesing_(~FWiesing@mail.tryton.at) has left #tryton23:31
-!- GasbaKid(~GasbaKid@41.96.65.157) has joined #tryton23:36
-!- FWiesing(~FWiesing@mail.tryton.at) has joined #tryton23:38
kwmiebach1How would I install the party module? sudo easy_install tryton_party does not work, neither does sudo easy_install tryton_module_party23:46
cedkkwmiebach1: trytond_party23:49
kwmiebach1oh. thank you. :)23:50

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