IRC logs of #tryton for Thursday, 2013-01-10

chat.freenode.net #tryton log beginning Thu Jan 10 00:00:01 CET 2013
2013-01-10 09:39 -!- calbasi(~joan@14.66.14.37.dynamic.jazztel.es) has left #tryton
2013-01-10 22:00 <plantian> hi guys, what is the purpose of calling reverse here? http://hg.tryton.org/modules/stock/file/15b5612343f9/shipment.py#l2051
2013-01-10 22:02 -!- alfplayer(~alfplayer@190.193.145.66) has left #tryton
2013-01-10 22:03 <udono> plantian: hi, I guess it is for showing the form view at first when there is only one record. Usually the tree view is shown first.
2013-01-10 22:06 <plantian> udono: thanks
2013-01-10 22:15 <plantian> Another question, in one of the migration it mentions factoring out repeated calls to Pool() within a method. That is just an optimization right?
2013-01-10 22:15 <plantian> *of the migration documents
2013-01-10 22:58 <udono> plantian: yes, optimization.
2013-01-10 23:27 <plantian> Is it possible to override the admin password on an existing database? I have it set in the configuration file but it doesn't seem to work. ie ... bad login or password 'admin' from 127.0.0.1:55174 using JSON-RPC on database 'learn-tryton-2.6'
2013-01-10 23:29 <cedk> plantian: the password in config file is different stuff as the admin password of a database
2013-01-10 23:29 <cedk> plantian: if you want reset it, you must update the password and salt row of the table res_user
2013-01-10 23:30 <cedk> plantian: or just modify the check_login method to always succeed
2013-01-10 23:34 <plantian> cedk: Thanks, the password seemed to be empty but I override the get_login method.
2013-01-10 23:59 <plantian> Hi guys, carrier product is the service such as "UPS Ground" or "UPS 3rd Day Air". Is that correct?

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