IRC logs of #tryton for Friday, 2013-08-23

chat.freenode.net #tryton log beginning Fri Aug 23 00:00:01 CEST 2013
2013-08-23 00:35 <motaro> I installed triton through pip but can't find any configuration files?
2013-08-23 00:45 <plantian> motaro: the trytond.conf file should be in the trytond/etc directory, you can copy it out and then specify its new location with an option to trytond on the command line, if you can't find the file you could just download the default config from the repository
2013-08-23 00:46 <motaro> ok thanks
2013-08-23 00:52 -!- motaro(~ricardo@190.166.195.154) has left #tryton
2013-08-23 01:00 <plantian> Is proteus thread safe? If I were to use it, with set_xmlrpc in a web app on every request? I'm not sure if I see a way to force it to clean up the server proxy.
2013-08-23 01:52 -!- sisalp2(~sisalpuse@37.59.34.70) has left #tryton
2013-08-23 08:37 -!- priyankarani(~priyanka@122.177.34.52) has left #tryton
2013-08-23 09:31 -!- katr(~m@62-46-190-200.adsl.highway.telekom.at) has left #tryton
2013-08-23 10:49 -!- b0r7(~b0r7@89.204.139.250) has left #tryton
2013-08-23 12:53 <prakash_> cedk: I am facing a issue with tryon export data. Predefined export is not showing fields which are relational upto two level depth.
2013-08-23 13:01 <jvblasco> may i ask does one debug here in tryton? How do u print stack traces / variables ? Print statements don't seem to work
2013-08-23 13:30 <b0r7> on a related (debug) note.. how do you guys would recommend to develop.. im kinda new to python an oop and tryton.. im guessing the answer to my question is 'yes' when i formulate: is it worth to go the 'extra mile' to learn and use test driven development.. (now im developing and testing manually.. like 1. write code 2. check in client or make 'trytond -u' and then again etc..
2013-08-23 13:36 <b0r7> okay.. i guess its a big question and kinda off-topic.. well i'll give it a go anyway, i think.. less hassle in the long run..
2013-08-23 13:54 <nicoe> jvblasco: you can use the traceback of python to print stacktraces
2013-08-23 13:55 <nicoe> jvblasco: print outputs go to your console
2013-08-23 13:55 <nicoe> b0r7: In fact when we're debugging we're usually relying upon print statements
2013-08-23 13:56 <nicoe> b0r7: And test scenarios
2013-08-23 13:56 <nicoe> b0r7: TDD is always worth learning but you can sort you a lot of issues without it
2013-08-23 14:03 <b0r7> nicoe: i see. thanks.
2013-08-23 14:18 <jvblasco> nicoe: Thnx so much, i achieved to read print statements from the server. Much easier to develop knowing what is happening there ;)
2013-08-23 16:32 <jvblasco> Can fields be overloaded when extending a model? For example changing product cost price for a functional fields that calculates the cost based on a specific criteria
2013-08-23 16:32 <jvblasco> ?
2013-08-23 16:35 <Pilou> jvblasco: an example: ldap_authentication overrides res.user: http://hg.tryton.org/modules/ldap_authentication/file/5f4f52615df2/res.py
2013-08-23 16:39 <jvblasco> Pilou: But it doesn't override any res.user fields, just the methods
2013-08-23 16:42 <pokoli> jvblasco: why not creating a new field and using you new field?
2013-08-23 16:43 <jvblasco> i'm evaluating options i have in the framework to check the most convenient one
2013-08-23 16:44 <jvblasco> pilou: i want to try to reuse as much code as posible. If i add the new field, maybe modules such as sales or purchuase or even account, may not compute the cost price as intended
2013-08-23 17:05 <jvblasco> mmmm, i realized that cost_price is a functional method itself. Maybe i can just overload the methods that compute the price
2013-08-23 19:34 <jvblasco> Can u filter a m2o selector content in the view based on some method invocation returned ids?
2013-08-23 20:38 -!- b0r7(~b0r7@g226018195.adsl.alicedsl.de) has left #tryton
2013-08-23 22:28 <kotek> Hi ppl... How's going with POS support for Tryton?

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