IRC logs of #tryton for Friday, 2013-04-26

chat.freenode.net #tryton log beginning Fri Apr 26 00:00:06 CEST 2013
iamnoobhi, is there a way i can create a message box in tryton? well actually i just need to have something that can make me see the error msg, i tried using PRINT but it doesnt show in the terminal.? any advice please or alternative way? i use as of now pynotify, but it cant print long strings11:25
cedkiamnoob: I don't understand. What message error? Exception are raise to the client.11:31
iamnoobcedk:  i got it now,  im trying to print there error on --> except psycopg2.DatabaseError, e:   , i used 'print e' and it showed up it showed up in the terminal(in ubuntu) where i run the server, when i was watching the terminal(in ubuntu) where i ran the client the whole time..11:36
coepsHi, I keep getting the error: TypeError: getattr(): attribute must be a string. Any hints to avoid it, a 0 is passed to __getitem__ in model.py. I had this error before and got rid of it by defining rec_name. Hoever, rec_name and get_recname are defined in the class but I still get this error when looping through a list of many2one objects.  Any hints?16:12
cedkcoeps: I guess it is because many2one is not a list16:25
coepscdek: as always you are right. Thanks, one more question (i still use version 2.6): I do a copy operation of a record and modifiy all items in a many2onel list of that record. Everything works, but unfortunately the functionfields in records are not updated according to on_change_may2one as they are when I do it in the client. is there a way to force an update of functionfiels after writing records in the background?16:34
cedkcoeps: create a new instance16:47
Pilouyangoon: hi, maybe you'll be interested in review818003 (make LoginAttempt optional), if so, feel free to leave a comment.17:23

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