IRC logs of #tryton for Wednesday, 2016-03-23

chat.freenode.net #tryton log beginning Wed Mar 23 00:00:02 CET 2016
2016-03-23 00:44 -!- awasum(~awasum@41.205.28.251) has joined #tryton
2016-03-23 01:31 -!- ovnicraft(~ovnicraft@201.217.85.182) has joined #tryton
2016-03-23 02:53 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-23 03:41 -!- smarro(~sebastian@190.14.157.18) has joined #tryton
2016-03-23 04:25 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2016-03-23 04:40 -!- djff(~djff@41.202.219.78) has joined #tryton
2016-03-23 04:51 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-23 05:38 -!- prayashm(~prayashm@27.49.129.217) has joined #tryton
2016-03-23 05:45 -!- shrox(shrox@nat/iiit/x-jjuqojmuuynzowtt) has joined #tryton
2016-03-23 07:25 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-03-23 07:27 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-03-23 07:40 -!- frispete_(~frispete@p54A902F3.dip0.t-ipconnect.de) has joined #tryton
2016-03-23 08:01 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-03-23 08:03 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-03-23 08:14 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-23 08:22 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-03-23 08:35 <prayashm> cedk, could you help me, trying to figure out the cause of an error when using a mixin like http://pastebin.com/vB0rBeRx ?
2016-03-23 08:36 <prayashm> cedk, I see an error "Uncaught TypeError: Cannot read property 'states' of undefined"
2016-03-23 08:38 <cedk> prayashm: you should give the line number
2016-03-23 08:42 <prayashm> cedk, Sorry. http://pastebin.com/UhXWkRC0 Line number 632.
2016-03-23 08:44 <prayashm> cedk, this is the stack trace: http://pastebin.com/sHRgqA4n
2016-03-23 08:46 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-03-23 08:47 <cedk> prayashm: it is strange, it looks like init was not called
2016-03-23 08:49 <prayashm> cedk, Shouldn't line number 711 call the init?
2016-03-23 09:00 <cedk> prayashm: normally
2016-03-23 09:00 <cedk> ACTION bbl in few hours
2016-03-23 09:05 <pokoli> prayashm: you can continue asking your any question, I will try to answer them ;)
2016-03-23 09:31 <prayashm> pokoli, Hello!
2016-03-23 09:32 <prayashm> pokoli, This is in regarding to review24001002 to fix issue5243 for the SAO client.
2016-03-23 09:33 <pokoli> prayashm: i know ;)
2016-03-23 09:33 <prayashm> pokoli, cedk asked to share code b/w Label and Separator. While making a mixin I am encountering an error
2016-03-23 09:34 <prayashm> pokoli, I was making a LabelMixin to be inherited by Separator and Label later.
2016-03-23 09:37 <prayashm> pokoli, I made changes Line no. 654 to 691, and 708 to 721 in the form.js file at http://pastebin.com/UhXWkRC0
2016-03-23 09:38 <prayashm> pokoli, What I tried just now is console.log(text) after line 656
2016-03-23 09:38 <prayashm> pokoli, and ran it. I referring to the party_contact_mechanisms now
2016-03-23 09:39 <prayashm> pokoli, It showed the text for the 8 labels for which it is supposed to show.
2016-03-23 09:41 <prayashm> pokoli, how should I proceed to track this error?
2016-03-23 09:45 <pokoli> prayashm: AFAIU you should inherit from LabelMixin on separator too? shouldn't you?
2016-03-23 09:46 <prayashm> pokoli, Yes. I would have done that next after Label was working.
2016-03-23 09:51 <prayashm> help
2016-03-23 09:52 <prayashm> ^ please ignore this. Was exploring help options of irc. :/
2016-03-23 09:57 <pokoli> prayashm: BTW, the error seems that you are missing some init call
2016-03-23 10:08 <prayashm> pokoli, Can you suggest a way to identify the missing init?
2016-03-23 10:09 <prayashm> pokoli, I simply console logged from the init of Label. There was output for all the labels.
2016-03-23 10:09 <pokoli> prayashm: reading the code, I see that Statewidget init has only the attributes param, but the LabelMixin has the text and the attributes
2016-03-23 10:10 <pokoli> prayashm: so maybe you're mixin text and attributes
2016-03-23 10:11 <pokoli> prayashm: i will use some console.log statements (or debbuger ones) to see what gets assgined to attributes
2016-03-23 10:11 <prayashm> pokoli, You are right!
2016-03-23 10:11 <prayashm> pokoli, I feel so stupid now -_-. Thanks a lot!
2016-03-23 11:07 <pokoli> prayashm: BTW, you plan to work on the gtk client also?
2016-03-23 11:22 -!- shrox(shrox@nat/iiit/x-hhedigjbbuhlsszo) has joined #tryton
2016-03-23 11:31 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-23 11:45 -!- nicoe(~nicoe@87.215.31.146) has joined #tryton
2016-03-23 11:48 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-23 11:50 -!- mariomop(~quassel@181.90.84.220) has joined #tryton
2016-03-23 12:40 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-23 12:53 -!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton
2016-03-23 13:02 <cedk> prayashm: did you find the problem?
2016-03-23 13:06 <prayashm> pokoli, Yes, I plan to.
2016-03-23 13:06 <prayashm> cedk, Yup.
2016-03-23 13:10 -!- toshad(uid150688@gateway/web/irccloud.com/x-wrxjyeaseofrzhsr) has joined #tryton
2016-03-23 13:30 <prayashm> cedk, Is there a 80 character wrapping rule to the js files?
2016-03-23 13:31 <cedk> prayashm: yes of course
2016-03-23 13:32 <prayashm> cedk, great!
2016-03-23 13:38 <prayashm> cedk, Is it okay if I submit the patch in a new review issue?
2016-03-23 13:39 <prayashm> cedk, unable to post to the same review, as I had re-cloned sao.
2016-03-23 13:39 <cedk> prayashm: no, you must update the existing review
2016-03-23 13:40 <cedk> prayashm: you just have to pass the review id with '-i'
2016-03-23 13:40 <prayashm> cedk, Oh thanks :)
2016-03-23 13:45 <prayashm> cedk, Done. Can you review the code?
2016-03-23 13:54 <cedk> prayashm: done, what was to problem?
2016-03-23 13:55 <prayashm> cedk, I was not sending the right arguments to constructor of LabelMixin from inherited Label
2016-03-23 13:55 <prayashm> cedk, pokoli pointed it out.
2016-03-23 13:56 <prayashm> cedk, LabelMixin's init required text and attributes, and Label was calling only with this, attributes.
2016-03-23 13:57 <cedk> prayashm: OK
2016-03-23 14:11 <prayashm> cedk, did the necessary changes
2016-03-23 14:15 <prayashm> cedk, Sorry again. I missed the last comment.
2016-03-23 14:20 <prayashm> cedk, done.
2016-03-23 14:24 -!- ovnicraft(~ovnicraft@mail.cec-iaen.edu.ec) has joined #tryton
2016-03-23 14:42 -!- bvillasanti(~bvillasan@138.117.20.246) has joined #tryton
2016-03-23 14:50 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2016-03-23 14:53 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has left #tryton
2016-03-23 15:18 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-23 15:20 -!- shrox(shrox@nat/iiit/x-bewjibnfhcpizsli) has joined #tryton
2016-03-23 15:36 -!- ovnicraft(~ovnicraft@mail.cec-iaen.edu.ec) has joined #tryton
2016-03-23 16:01 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2016-03-23 16:05 -!- ovnicraft(~ovnicraft@mail.cec-iaen.edu.ec) has joined #tryton
2016-03-23 16:27 <shrox> cedk: I have updated my proposal. I am still to add the details of the reverse converter from ODT to FODT in the detailed description and timeline.
2016-03-23 16:27 <shrox> cedk: I will do that a little later. Can you check if everything else seems okay?
2016-03-23 16:29 <shrox> cedk: I have also emailed you the link in case you cannot view it via the official channel. (had disabled the link while editing)
2016-03-23 16:33 <cedk> shrox: you have create two proposal in gsoc application
2016-03-23 16:33 <cedk> shrox: I think you must delete one
2016-03-23 16:34 <shrox> cedk: Ugh. Okay. Shall check.
2016-03-23 16:34 <cedk> shrox: I will read it tonight
2016-03-23 16:34 <cedk> shrox: in the meantime, I think it will be good that you work on the GTK version of your patch
2016-03-23 16:36 <shrox> cedk: I am still to resolve the problems with the XML that were there. I didn't find between yesterday and today.
2016-03-23 16:37 <shrox> cedk: I will do so in the next few hours. We have an holidays until Monday beginning tomorrow, so I will have a lot of time for this as well as the proposal.
2016-03-23 16:40 <shrox> cedk: I am unsure what you mean by GTK version of the patch, though. Isn't the account modules only related with the server and not the client? (maybe I am completely mixing up terminology)
2016-03-23 16:51 <cedk> shrox: oops forget it. sorry, I mixup patches
2016-03-23 16:51 <shrox> cedk: ha, I was really confused for a moment.
2016-03-23 16:55 -!- ovnicraft(~ovnicraft@mail.cec-iaen.edu.ec) has joined #tryton
2016-03-23 17:49 <prayashm> What is a VBox in the gtk client?
2016-03-23 17:51 <cedk> prayashm: it is a vertical box where you can stack widgets
2016-03-23 17:51 <cedk> prayashm: http://pygtk.org/docs/pygtk/class-gtkvbox.html
2016-03-23 17:52 <prayashm> cedk: thank you
2016-03-23 18:36 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-03-23 19:11 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2016-03-23 19:14 <lukio> hi! i'm working with a client that create a lot of sales every day. This sales create the out shipment with the state == draft. The idea is that he can click assign all the out shipments that has the state == draft at once,. is there a way to do that?
2016-03-23 19:26 -!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has joined #tryton
2016-03-23 19:26 -!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has left #tryton
2016-03-23 19:30 -!- xrg_(~panos@46.246.215.8.dsl.dyn.forthnet.gr) has joined #tryton
2016-03-23 19:37 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-03-23 19:56 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2016-03-23 20:09 -!- woakas(~woakas@static.15.240.46.78.clients.your-server.de) has joined #tryton
2016-03-23 20:35 -!- ovnicraft(~ovnicraft@mail.cec-iaen.edu.ec) has joined #tryton
2016-03-23 20:56 -!- prayashm(~prayashm@27.49.129.217) has joined #tryton
2016-03-23 20:56 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton
2016-03-23 21:00 <prayashm> pokoli: Can you help me solve issue5243 for gtk client?
2016-03-23 21:47 <prayashm> pokoli: Found what I was searching :)
2016-03-23 21:52 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-23 21:54 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton
2016-03-23 22:07 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton
2016-03-23 22:16 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton
2016-03-23 22:46 <prayashm> cedk: are there any tests that I should run on the tryton client?
2016-03-23 23:35 -!- prayashm(~prayash@27.49.129.217) has joined #tryton

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