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

chat.freenode.net #tryton log beginning Fri Sep 9 00:00:02 CEST 2011
-!- smarro(~sebastian@190.51.100.70) has joined #tryton01:42
-!- ikks_(~ikks@190.27.9.218) has joined #tryton02:24
-!- alimon(~alimon@189.154.55.187) has joined #tryton05:00
-!- yangoon1(~mathiasb@p549F3A2B.dip.t-dialin.net) has joined #tryton05:01
-!- smarro(~sebastian@190.105.97.98) has joined #tryton05:44
-!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton07:18
-!- ndn_pit(~ndn_pit@92.47.214.159) has joined #tryton07:26
-!- ndn_pit(~ndn_pit@92.47.214.159) has left #tryton07:27
-!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton08:01
-!- elbenfreund(~elbenfreu@f055204132.adsl.alicedsl.de) has joined #tryton08:36
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton08:38
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton08:42
-!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton08:48
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:08
-!- okko1(~okko@62.58.29.41) has joined #tryton09:19
-!- hoRn(~jan@dslb-178-005-154-088.pools.arcor-ip.net) has joined #tryton09:53
hoRnNice 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 ;)09:57
hoRnfinally i wrote the client a second time ;(10:00
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton10:13
-!- ndn_pit(~ndn_pit@92.47.214.159) has joined #tryton10:37
ndn_pithello10:37
ndn_pitis there way to set several lines to one row in tree view?10:38
cedkndn_pit: don't understand10:39
-!- nicoe(~nicoe@ced.homedns.org) has joined #tryton10:43
ndn_pitlike 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=110:47
ndn_pitor 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=sbg10:50
cedkndn_pit: no10:52
cedkndn_pit: use a form10:52
ndn_pitok10:54
ndn_pitwhy Eval('field.field') does not work in domain?10:54
cedkndn_pit: because you must use: Get(Eval('field', {}), 'field')10:54
ndn_pitsorry, 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.10:56
cedkndn_pit: where?10:56
ndn_pithttp://doc.tryton.org/2.0/trytond/doc/ref/pyson.html#ref-pyson10:57
cedkndn_pit: no ref to a dot notation10:57
ndn_pithttp://doc.tryton.org/2.0/trytond/doc/ref/pyson.html#trytond.pyson.Eval10:59
ndn_pit"value can use the dot notation to access objects values in the context"11:00
ndn_pitcedk: found?11:01
cedkndn_pit: wrong doc11:04
ndn_pitok thanks11:05
-!- elbenfreund(~elbenfreu@f055204132.adsl.alicedsl.de) has joined #tryton11:40
-!- ccomb(~ccomb@2a01:e35:2e22:d0c0:218:deff:fee1:d0f3) has joined #tryton11:58
-!- ndn_pit(~ndn_pit@92.47.214.159) has left #tryton12:07
-!- elbenfreund(~elbenfreu@p54B9407D.dip.t-dialin.net) has joined #tryton13:28
-!- alimon(alimon@189.154.55.187) has joined #tryton15:50
-!- alimon(alimon@189.154.55.187) has joined #tryton15:50
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton15:56
-!- Pander(~Pander@ip235-130-212-87.adsl2.static.versatel.nl) has joined #tryton16:22
Panderhi all, my module is working :)16:23
bechamelPander: congratulation !16:25
Pandernext 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?16:36
bechamelPander: maybe you forgot to restart the server with -u to update the db16:37
Panderbechamel: trytond: error: -u option requires an argument16:39
Pander-u UPDATE16:39
bechamelPander: -u all16:41
bechamelor -u my_module_name16:41
Panderand -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?16:44
cedkPander: it is when required=True16:45
bechamelPander: this means they are required16:45
bechameland if you try to leave them empty and save the form they will become red16:45
bechameland the client will put the focus on the first required field that was left empty16:46
Panderthis 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')16:48
Panderor are these fields that retrieve theire content somewhere else because they seem unedittable16:49
PanderI see the background color is also lighter than the required fields16:49
bechamelPander: function field are readonly by default16:49
bechamelso they are grey16:49
bechamelor at least they should be grey16:50
Pandersorry, they are indeed light grey in stead of the blue16:53
-!- rhubner(~rhubner@200.146.16.212.dynamic.dialup.gvt.net.br) has joined #tryton16:59
PanderHow to deal with warnings such as  WARNING:init:Unable to migrate column dateofbirth on table party_party from varchar to date?17:26
cedkPander: you must yourself create your own SQL query17:28
Pandercedk: a simple alter table might to the trick you say17:30
bechamelPander: if there are no relevant data, just drop the table, it's quicker17:30
cedkPander: you can not alter the column between those 2 types17:36
Pandercedk: really... :S17:47
cedkPander: what is the date for 'foo' ?17:52
Pander?17:52
Panderanyway, I could drop the column in the table instead of dropping the entire table17:53
cedkPander: if you have foo in your database how postgresql should convert it into date17:53
Panderthere is no data in that column at the moment17:54
cedkPander: so perhaps postgres will be able17:55
Panderalter table party_party drop dateofbirth; ALTER TABLE ... trytond -u ... INFO:server:Update/Init succeed! without any WARNING :)17:57
-!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton19:42
-!- uranus(~uranus@ool-ad02ed60.dyn.optonline.net) has joined #tryton20:11
-!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton20:20
-!- vladimirek(~vladimire@adsl-dyn-195.95-102-146.t-com.sk) has joined #tryton20:44
-!- alimon(alimon@189.154.55.187) has joined #tryton21:03
-!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton21:30
-!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton21:49
-!- alimon(alimon@189.154.55.187) has joined #tryton21:52
-!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton22:53
-!- woakas(~woakas@200.106.218.64) has joined #tryton23:22

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