IRC logs of #tryton for Thursday, 2010-07-29

chat.freenode.net #tryton log beginning Thu Jul 29 00:00:02 CEST 2010
2010-07-29 00:36 -!- pheller(~pheller@140.247.144.11) has joined #tryton
2010-07-29 00:42 -!- ebanders(~ebanders@c-66-41-121-0.hsd1.mn.comcast.net) has joined #tryton
2010-07-29 01:39 -!- pheller(~pheller@140.247.144.11) has joined #tryton
2010-07-29 03:00 -!- Hydrant_(~aj@unaffiliated/hydrant) has left #tryton
2010-07-29 03:15 -!- tekoholix(~quassel@174-29-132-225.hlrn.qwest.net) has joined #tryton
2010-07-29 05:27 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-07-29 05:52 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-07-29 06:40 -!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton
2010-07-29 07:37 -!- Timitos(~timitos@88.217.184.172) has joined #tryton
2010-07-29 08:01 -!- mr_amit(~amit@117.254.178.62) has joined #tryton
2010-07-29 08:20 <sejo> ok can you add a footer to the invoice?
2010-07-29 08:33 <cedk> sejo: this should help you http://doc.tryton.org/1.6/trytond/doc/topics/reports/index.html
2010-07-29 08:38 <sejo> thanks! it did :p
2010-07-29 08:39 <cedk> sejo: it misses the simple way
2010-07-29 08:39 <sejo> cedk: yeah still some stuff that needs to be tweaked, but i like it very much
2010-07-29 08:39 <sejo> also going to use it in a second company ;p
2010-07-29 08:39 <cedk> sejo: you can go in "Administration>UI>Actions>Reports" and edit the data field which contains the odt template
2010-07-29 08:40 <cedk> sejo: don't hesitate to report issue/improvement in roundup
2010-07-29 08:40 <sejo> Going to report the logo issue
2010-07-29 08:40 <sejo> that is kinda annoying
2010-07-29 08:42 <cedk> ACTION bbl
2010-07-29 08:46 <sejo> now i know where I remebered your nick from!/74
2010-07-29 09:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-29 09:16 -!- eLBati(~elbati@94.162.114.24) has joined #tryton
2010-07-29 09:24 -!- paepke(~paepke@p5B32AF11.dip.t-dialin.net) has joined #tryton
2010-07-29 09:29 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-07-29 10:06 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-07-29 12:33 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-29 13:07 -!- essich(~essich@p4FCF9095.dip0.t-ipconnect.de) has joined #tryton
2010-07-29 13:11 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-07-29 14:35 -!- eLBati(~elbati@93.37.66.239) has joined #tryton
2010-07-29 15:21 -!- pheller(~pheller@c1fw236.constantcontact.com) has joined #tryton
2010-07-29 15:45 -!- essich_(~essich@p4FCFA7AD.dip0.t-ipconnect.de) has joined #tryton
2010-07-29 15:47 -!- essich_(~essich@p4FCFA7AD.dip0.t-ipconnect.de) has joined #tryton
2010-07-29 16:24 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-07-29 16:27 <pepeu> cedk, you say making, PDV in pyGTK?
2010-07-29 16:29 <cedk> pepeu: what is PDV?
2010-07-29 16:34 <pepeu> cedk, client for POS
2010-07-29 16:39 <pepeu> cedk, I think it would be nice to have a POS with a more friendly interface for users
2010-07-29 16:39 <pepeu> The idea was to use PyQt but your telling me that best PyGTK
2010-07-29 16:41 -!- tekoholic(~quassel@174-29-132-225.hlrn.qwest.net) has joined #tryton
2010-07-29 16:44 <cedk> pepeu: I don't like mixin stuffs
2010-07-29 16:44 <cedk> pepeu: because you will need to learn 2 GUI lib
2010-07-29 16:44 <cedk> pepeu: and you can do a POS in pyGTK as good as in QT
2010-07-29 16:45 <cedk> pepeu: and by the way, I think a POS must be asynchronous
2010-07-29 16:54 <pheller> cedk: have you published the Transaction code somewhere that we can pull it down? might be useful for testing module rewrites
2010-07-29 17:08 <cedk> pheller: http://codereview.appspot.com/1864045/show
2010-07-29 17:08 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-07-29 17:11 <cedk> pheller: and you need this to run the client http://codereview.appspot.com/1746052/show
2010-07-29 17:20 -!- tekoholic(~quassel@174-29-132-225.hlrn.qwest.net) has joined #tryton
2010-07-29 17:25 <pheller> ok, cedk, thanks. are these patches against 1.6 or trunk?
2010-07-29 17:28 <cedk> pheller: trunk always
2010-07-29 17:28 <pheller> ok
2010-07-29 17:51 <pheller> so this is my first time building trunk. Seems to use the "with" statement, so I'll need at least python 2.5. Is there anything else in there that requires anything newer than 2.6 ?
2010-07-29 17:52 <cedk> pheller: no next release will drop support Python 2.4
2010-07-29 17:59 -!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-07-29 18:00 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-07-29 18:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-29 19:46 -!- tekoholic(~quassel@174-29-140-20.hlrn.qwest.net) has joined #tryton
2010-07-29 19:54 -!- tekoholix(~quassel@184-96-95-224.hlrn.qwest.net) has joined #tryton
2010-07-29 20:03 -!- tekoholic(~quassel@184-96-68-9.hlrn.qwest.net) has joined #tryton
2010-07-29 20:22 -!- tekoholix(~quassel@184-96-74-113.hlrn.qwest.net) has joined #tryton
2010-07-29 20:37 -!- tekoholic(~quassel@184-96-72-212.hlrn.qwest.net) has joined #tryton
2010-07-29 20:38 -!- Timitos(~timitos@88.217.184.172) has joined #tryton
2010-07-29 20:52 <paepke> cedk, i assume the modified module should work with current trunk?
2010-07-29 20:52 <paepke> ... of trytond
2010-07-29 21:00 -!- tekoholix(~quassel@174-29-186-95.hlrn.qwest.net) has joined #tryton
2010-07-29 21:12 -!- juanfer(~juanfer@201.244.237.64) has joined #tryton
2010-07-29 21:20 -!- tekoholic(~quassel@184-96-4-92.hlrn.qwest.net) has joined #tryton
2010-07-29 21:25 <paepke> cedk, sorry, dumb question. got the appspot links.
2010-07-29 21:25 -!- enlightx(~enlightx@dynamic-adsl-94-34-166-47.clienti.tiscali.it) has joined #tryton
2010-07-29 21:26 -!- tekoholic(~quassel@184-96-85-143.hlrn.qwest.net) has joined #tryton
2010-07-29 21:37 <pheller> cedk: do you have an example of how to write a unittest now?
2010-07-29 21:50 <cedk> pheller: http://code.google.com/p/tryton/wiki/WritingUnittest
2010-07-29 21:51 <pheller> yes, but now all the ORM methods expect a Transaction object to exist.... So the transaction must now be instantiated within the unittest, yes?
2010-07-29 22:07 <cedk> pheller: yes
2010-07-29 22:07 <cedk> pheller: see trytond/tests from the patch
2010-07-29 22:07 <pheller> ah, ok
2010-07-29 22:45 -!- zodman(~zodman@189.236.168.125) has joined #tryton
2010-07-29 22:45 -!- fbdystang(~fbdystang@c-174-52-179-220.hsd1.ut.comcast.net) has joined #tryton
2010-07-29 22:46 <pheller> cedk: would you agree this comment would now be redundant?
2010-07-29 22:46 <pheller> # Restart the cache on the domain_get method
2010-07-29 22:46 <pheller> self.pool.get('ir.rule').domain_get.reset()
2010-07-29 22:48 <fbdystang> Hi all! I read a lot about tryton and just downloaded it. Could someone help me input inventory/BOM entries or point me in the right direction? Thanks in advance
2010-07-29 23:07 <Timitos> fbdystang: Inventory Management -> Inventories. As there are no production modules yet BOM Entries are not possible for the moment
2010-07-29 23:11 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-07-29 23:12 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-07-29 23:16 <paepke> cedk, can't test the ldap module cause of that traceback on issue1864045
2010-07-29 23:16 <paepke> cedk, but have to go now. n8
2010-07-29 23:16 <fbdystang> Timitos: I can't seem to find Inventory Management. I am using Ubuntu's version of Neso. I can't seem to install modules into it though. Also, where is the root directory for tryton/neso in ubuntu? Thanks
2010-07-29 23:18 <Timitos> fbdystang: you need to check in Administration -> Modules -> Modules if the stock module is installed
2010-07-29 23:20 <cedk> pheller: I have leave it
2010-07-29 23:20 <pheller> cedk: ok, no problem.
2010-07-29 23:22 <pheller> last question, then it's time for me to leave my office....
2010-07-29 23:22 <pheller> you suggested using the with statement for the context adjustment.... I haven't really used it before.... from my understanding, this looks right:
2010-07-29 23:22 <pheller> with Transaction().set_context['user'] = user:
2010-07-29 23:22 <pheller> return super(LetterReport, self).parse(report, objects, datas)
2010-07-29 23:23 <pheller> yes?
2010-07-29 23:24 <cedk> pheller: no:
2010-07-29 23:24 <cedk> with Transaction().set_user(user):
2010-07-29 23:25 <fbdystang> Timitos: looks like it wasn't installed. I am installing it now. Is Neso using a completely seperate Tryton package, or is it pulling from the original? Thanks Timitos.
2010-07-29 23:26 <pheller> cedk: ok for that one, but the other report adjusts context['company'] = user.company, so in that case, I would use Transaction().set_context['company'] ?
2010-07-29 23:27 <Timitos> fbdystang: neso is using trytond and tryton from the original. it only combines it to a standalone solution
2010-07-29 23:28 <cedk> pheller: with Transaction().set_context(company=user.company.id):
2010-07-29 23:28 <pheller> cedk: ok
2010-07-29 23:29 <fbdystang> Timitos: Thanks, kudos to you guys for designing a great product. cedk: I have read a lot of your posts and they have been very helpful, thanks.
2010-07-29 23:29 <pheller> ok cedk -- I made the changes on all 3 modules; still need to fix the unit tests. will do that tomorrow.
2010-07-29 23:29 <pheller> good night all
2010-07-29 23:31 <Timitos> cu tomorrow

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