IRC logs of #tryton for Friday, 2011-09-09

chat.freenode.net #tryton log beginning Fri Sep 9 00:00:02 CEST 2011
2011-09-09 01:42 -!- smarro(~sebastian@190.51.100.70) has joined #tryton
2011-09-09 02:24 -!- ikks_(~ikks@190.27.9.218) has joined #tryton
2011-09-09 05:00 -!- alimon(~alimon@189.154.55.187) has joined #tryton
2011-09-09 05:01 -!- yangoon1(~mathiasb@p549F3A2B.dip.t-dialin.net) has joined #tryton
2011-09-09 05:44 -!- smarro(~sebastian@190.105.97.98) has joined #tryton
2011-09-09 07:18 -!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton
2011-09-09 07:26 -!- ndn_pit(~ndn_pit@92.47.214.159) has joined #tryton
2011-09-09 07:27 -!- ndn_pit(~ndn_pit@92.47.214.159) has left #tryton
2011-09-09 08:01 -!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton
2011-09-09 08:36 -!- elbenfreund(~elbenfreu@f055204132.adsl.alicedsl.de) has joined #tryton
2011-09-09 08:38 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-09-09 08:42 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-09-09 08:48 -!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton
2011-09-09 09:08 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-09-09 09:19 -!- okko1(~okko@62.58.29.41) has joined #tryton
2011-09-09 09:53 -!- hoRn(~jan@dslb-178-005-154-088.pools.arcor-ip.net) has joined #tryton
2011-09-09 09:57 <hoRn> Nice quick and dirty solution to contribute little apps for accessing local com-ports and tryton-server in same time: pyramid, wx-{browserengine}, jquery, zope.pagetemplate ;)
2011-09-09 10:00 <hoRn> finally i wrote the client a second time ;(
2011-09-09 10:13 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-09-09 10:37 -!- ndn_pit(~ndn_pit@92.47.214.159) has joined #tryton
2011-09-09 10:37 <ndn_pit> hello
2011-09-09 10:38 <ndn_pit> is there way to set several lines to one row in tree view?
2011-09-09 10:39 <cedk> ndn_pit: don't understand
2011-09-09 10:43 -!- nicoe(~nicoe@ced.homedns.org) has joined #tryton
2011-09-09 10:47 <ndn_pit> like this: http://www.google.kz/imgres?q=grid+component&hl=ru&biw=1366&bih=632&tbm=isch&tbnid=h3fnGWBGUrRTnM:&imgrefurl=http://documentation.devexpress.com/WindowsForms/CustomDocument3461.aspx&docid=bOkAUfqneSbuOM&w=660&h=467&ei=NtJpTrGZNY31sgbnx8TVBA&zoom=1
2011-09-09 10:50 <ndn_pit> or this: http://www.google.kz/imgres?q=grid+component&start=241&hl=ru&biw=1366&bih=632&tbm=isch&tbnid=1UCXrvnOrYkXqM:&imgrefurl=http://www.rsdn.ru/forum/delphi/1294566.1.aspx&docid=T6U3ktL1kHI7sM&w=567&h=368&ei=IdNpTsvcBoXysgbl-v3gBA&zoom=1&chk=sbg
2011-09-09 10:52 <cedk> ndn_pit: no
2011-09-09 10:52 <cedk> ndn_pit: use a form
2011-09-09 10:54 <ndn_pit> ok
2011-09-09 10:54 <ndn_pit> why Eval('field.field') does not work in domain?
2011-09-09 10:54 <cedk> ndn_pit: because you must use: Get(Eval('field', {}), 'field')
2011-09-09 10:56 <ndn_pit> sorry, but i sow: An Eval() object represents the PYSON Eval() statement for evaluations. When evaluated, it returns the value of the statement named by value, if defined in the evaluation context, otherwise the default value (empty string by default). <<<<value can use the dot notation to access objects values in the context>>>>. Returns an instance of itself.
2011-09-09 10:56 <cedk> ndn_pit: where?
2011-09-09 10:57 <ndn_pit> http://doc.tryton.org/2.0/trytond/doc/ref/pyson.html#ref-pyson
2011-09-09 10:57 <cedk> ndn_pit: no ref to a dot notation
2011-09-09 10:59 <ndn_pit> http://doc.tryton.org/2.0/trytond/doc/ref/pyson.html#trytond.pyson.Eval
2011-09-09 11:00 <ndn_pit> "value can use the dot notation to access objects values in the context"
2011-09-09 11:01 <ndn_pit> cedk: found?
2011-09-09 11:04 <cedk> ndn_pit: wrong doc
2011-09-09 11:05 <ndn_pit> ok thanks
2011-09-09 11:40 -!- elbenfreund(~elbenfreu@f055204132.adsl.alicedsl.de) has joined #tryton
2011-09-09 11:58 -!- ccomb(~ccomb@2a01:e35:2e22:d0c0:218:deff:fee1:d0f3) has joined #tryton
2011-09-09 12:07 -!- ndn_pit(~ndn_pit@92.47.214.159) has left #tryton
2011-09-09 13:28 -!- elbenfreund(~elbenfreu@p54B9407D.dip.t-dialin.net) has joined #tryton
2011-09-09 15:50 -!- alimon(alimon@189.154.55.187) has joined #tryton
2011-09-09 15:50 -!- alimon(alimon@189.154.55.187) has joined #tryton
2011-09-09 15:56 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-09-09 16:22 -!- Pander(~Pander@ip235-130-212-87.adsl2.static.versatel.nl) has joined #tryton
2011-09-09 16:23 <Pander> hi all, my module is working :)
2011-09-09 16:25 <bechamel> Pander: congratulation !
2011-09-09 16:36 <Pander> next hurdle, I added dateofbirth to a class that is derived from party and that works fine. now I have added another field called dateofstart but that results in an column does not exist error :s how to go about that?
2011-09-09 16:37 <bechamel> Pander: maybe you forgot to restart the server with -u to update the db
2011-09-09 16:39 <Pander> bechamel: trytond: error: -u option requires an argument
2011-09-09 16:39 <Pander> -u UPDATE
2011-09-09 16:41 <bechamel> Pander: -u all
2011-09-09 16:41 <bechamel> or -u my_module_name
2011-09-09 16:44 <Pander> and -d dbname, its is working now :) other question, why do certrain fields in the client have a light blue background? is that from STATES=True and what does that mean?
2011-09-09 16:45 <cedk> Pander: it is when required=True
2011-09-09 16:45 <bechamel> Pander: this means they are required
2011-09-09 16:45 <bechamel> and if you try to leave them empty and save the form they will become red
2011-09-09 16:46 <bechamel> and the client will put the focus on the first required field that was left empty
2011-09-09 16:48 <Pander> this one is not required but also results in that background color when I adde the field email = fields.Function(fields.Char('E-Mail'), 'get_mechanism')
2011-09-09 16:49 <Pander> or are these fields that retrieve theire content somewhere else because they seem unedittable
2011-09-09 16:49 <Pander> I see the background color is also lighter than the required fields
2011-09-09 16:49 <bechamel> Pander: function field are readonly by default
2011-09-09 16:49 <bechamel> so they are grey
2011-09-09 16:50 <bechamel> or at least they should be grey
2011-09-09 16:53 <Pander> sorry, they are indeed light grey in stead of the blue
2011-09-09 16:59 -!- rhubner(~rhubner@200.146.16.212.dynamic.dialup.gvt.net.br) has joined #tryton
2011-09-09 17:26 <Pander> How to deal with warnings such as WARNING:init:Unable to migrate column dateofbirth on table party_party from varchar to date?
2011-09-09 17:28 <cedk> Pander: you must yourself create your own SQL query
2011-09-09 17:30 <Pander> cedk: a simple alter table might to the trick you say
2011-09-09 17:30 <bechamel> Pander: if there are no relevant data, just drop the table, it's quicker
2011-09-09 17:36 <cedk> Pander: you can not alter the column between those 2 types
2011-09-09 17:47 <Pander> cedk: really... :S
2011-09-09 17:52 <cedk> Pander: what is the date for 'foo' ?
2011-09-09 17:52 <Pander> ?
2011-09-09 17:53 <Pander> anyway, I could drop the column in the table instead of dropping the entire table
2011-09-09 17:53 <cedk> Pander: if you have foo in your database how postgresql should convert it into date
2011-09-09 17:54 <Pander> there is no data in that column at the moment
2011-09-09 17:55 <cedk> Pander: so perhaps postgres will be able
2011-09-09 17:57 <Pander> alter table party_party drop dateofbirth; ALTER TABLE ... trytond -u ... INFO:server:Update/Init succeed! without any WARNING :)
2011-09-09 19:42 -!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton
2011-09-09 20:11 -!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton
2011-09-09 20:20 -!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-09-09 20:44 -!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton
2011-09-09 21:03 -!- alimon(alimon@189.154.55.187) has joined #tryton
2011-09-09 21:30 -!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton
2011-09-09 21:49 -!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-09-09 21:52 -!- alimon(alimon@189.154.55.187) has joined #tryton
2011-09-09 22:53 -!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-09-09 23:22 -!- woakas(~woakas@200.106.218.64) has joined #tryton

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