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

chat.freenode.net #tryton log beginning Fri Apr 26 00:00:06 CEST 2013
2013-04-26 11:25 <iamnoob> hi, 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 strings
2013-04-26 11:31 <cedk> iamnoob: I don't understand. What message error? Exception are raise to the client.
2013-04-26 11:36 <iamnoob> cedk: 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..
2013-04-26 16:12 <coeps> Hi, 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?
2013-04-26 16:25 <cedk> coeps: I guess it is because many2one is not a list
2013-04-26 16:34 <coeps> cdek: 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?
2013-04-26 16:47 <cedk> coeps: create a new instance
2013-04-26 17:23 <Pilou> yangoon: hi, maybe you'll be interested in review818003 (make LoginAttempt optional), if so, feel free to leave a comment.

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