chat.freenode.net #tryton log beginning Fri Apr 22 00:00:02 CEST 2016 | ||
2016-04-22 00:52 -!- shrox(shrox@nat/iiit/x-sejkittrjlaunpgw) has joined #tryton | ||
2016-04-22 07:27 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2016-04-22 07:40 -!- frispete_(~frispete@p54A90E3F.dip0.t-ipconnect.de) has joined #tryton | ||
2016-04-22 07:49 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton | ||
2016-04-22 08:19 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | ||
2016-04-22 08:45 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton | ||
2016-04-22 08:45 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | ||
2016-04-22 08:59 -!- aneolf(~aneolf@106.140.21.95.dynamic.jazztel.es) has joined #tryton | ||
2016-04-22 10:18 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton | ||
2016-04-22 10:35 -!- shrox(shrox@nat/iiit/x-itwxmcczneumiclw) has joined #tryton | ||
2016-04-22 11:27 -!- mariomop(~quassel@181.93.11.147) has joined #tryton | ||
2016-04-22 11:38 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | ||
2016-04-22 11:56 -!- csotelo(~csotelo@190.235.209.170) has joined #tryton | ||
2016-04-22 11:59 -!- meanmicio(~lfm@fsf/member/meanmicio) has joined #tryton | ||
2016-04-22 12:56 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton | ||
2016-04-22 13:12 <csotelo> hello dear coders. I have gotten an issue extending a extended view, for example, when I try to append a field on an extended view, it works well, however, when I try to append a field on a extension of an extended view, it doesnt work. do I need to do something else? my code: http://pastebin.com/kr6JScG7 | ||
2016-04-22 13:13 <pokoli> csotelo: do you have dependency with the extending module in tryton.cfg? | ||
2016-04-22 13:14 <cedk> csotelo: you must always extend the base view | ||
2016-04-22 13:14 <csotelo> pokoli, yes I have it | ||
2016-04-22 13:15 <csotelo> cedk, I have tryed to extends the base view, but fields on the extends view wich I would like to replace appears as no found! | ||
2016-04-22 13:16 <csotelo> then, What must I do in order to replace some fields on an extended view? | ||
2016-04-22 13:18 <cedk> csotelo: it should appear, it is done like in many base modules | ||
2016-04-22 13:19 <cedk> csotelo: but the dependencies should be correct, the xpath based on the resulted view | ||
2016-04-22 13:21 <csotelo> ok... I will look for the error then, however. I have an advance on know what I must no done about extending views..( I must just extend the base view ) | ||
2016-04-22 13:21 <csotelo> thanks a lot | ||
2016-04-22 13:27 <pokoli> csotelo: you can add a print tree.tostring() before http://hg.tryton.org/trytond/file/tip/trytond/model/modelview.py#l73 to see the parent view | ||
2016-04-22 13:27 <csotelo> thanks pokoli | ||
2016-04-22 13:29 <csotelo> pokoli, I could access and edit parent fields without problems, my issue is on trying to replace fields from a third extends view | ||
2016-04-22 13:30 <csotelo> I have gotten something like AttributeError: Couldn't find tag (xpath: /form/notebook/page[@id="party_gnuhealth"]/group[@id="person_details"]) in parent view! | ||
2016-04-22 13:31 <csotelo> I am trying to extend a gnuhealth view from party | ||
2016-04-22 13:31 <csotelo> but I need to replace a field and add other one | ||
2016-04-22 13:31 <csotelo> I am asking here sonce is a generic code topic | ||
2016-04-22 13:32 <cedk> csotelo: I'm pretty sure your module doesn't depend on the module that adds the field | ||
2016-04-22 13:36 <csotelo> cedk, I ma sure this is a dumb question, but... I am doing this http://pastebin.com/n4iJFG0T and my question is, What am I doing wrong? please | ||
2016-04-22 13:38 <cedk> csotelo: I don't know but I think you are not depending on the module that adds the group your xpath is based on | ||
2016-04-22 13:39 <csotelo> I hope been clear on my question in order on no bothers you.. I just doung something like "class Party (ModelSQL, ModelView): -> 'Party' -> __name__ = 'health.party'" | ||
2016-04-22 13:40 <csotelo> and the module code that I am extending is class PartyPatient (ModelSQL, ModelView): -> 'Party'-> __name__ = 'party.party' | ||
2016-04-22 13:41 <csotelo> both of that models ( base and extended have the same name ) | ||
2016-04-22 13:41 <csotelo> party.party | ||
2016-04-22 13:42 <csotelo> how then I must extend the extened model from the module health | ||
2016-04-22 13:43 <csotelo> trying to be clear party module has party.party, then health have a party.party, I need to extend party.party from health | ||
2016-04-22 13:44 <csotelo> how to day that? | ||
2016-04-22 13:46 <pokoli> csotelo: there is no need for inheriting from ModelSQL and ModelView if you use the PoolMeta metaclass | ||
2016-04-22 13:47 <pokoli> csotelo: just extend party.party and add the dependency with gnuhealth in your tryton.cfg file | ||
2016-04-22 13:50 <csotelo> pokoli, I will check again | ||
2016-04-22 13:50 <csotelo> thanks | ||
2016-04-22 13:53 <csotelo> time to go job | ||
2016-04-22 13:53 -!- ElGallego_(~ElGallego@88-109-9-207.dynamic.dsl.as9105.com) has joined #tryton | ||
2016-04-22 14:05 -!- ElGallego_(~ElGallego@88-109-9-207.dynamic.dsl.as9105.com) has joined #tryton | ||
2016-04-22 14:37 -!- smarro(~sebastian@190.108.228.120) has joined #tryton | ||
2016-04-22 14:45 -!- ElGallego_(~ElGallego@88-109-9-207.dynamic.dsl.as9105.com) has joined #tryton | ||
2016-04-22 15:21 -!- ElGallego_(~ElGallego@88-109-9-207.dynamic.dsl.as9105.com) has joined #tryton | ||
2016-04-22 15:39 -!- kstenger(~karla@r167-56-236-217.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-04-22 15:54 -!- bvillasanti(~bvillasan@181.16.50.249) has joined #tryton | ||
2016-04-22 15:59 -!- ElGallego_(~ElGallego@88-109-9-207.dynamic.dsl.as9105.com) has joined #tryton | ||
2016-04-22 16:21 -!- mariomop(~quassel@host137.190-137-32.telecom.net.ar) has joined #tryton | ||
2016-04-22 16:38 -!- ElGallego_(~ElGallego@88-109-9-207.dynamic.dsl.as9105.com) has joined #tryton | ||
2016-04-22 17:43 -!- ElGallego_(~ElGallego@88-109-9-207.dynamic.dsl.as9105.com) has joined #tryton | ||
2016-04-22 17:50 -!- smarro(~sebastian@190.108.228.120) has joined #tryton | ||
2016-04-22 18:36 -!- meanmicio(~lfm@fsf/member/meanmicio) has left #tryton | ||
2016-04-22 19:14 -!- kstenger1(~karla@r167-56-253-152.dialup.adsl.anteldata.net.uy) has joined #tryton | ||
2016-04-22 19:22 -!- udono(~udono@ip-178-202-239-138.hsi09.unitymediagroup.de) has joined #tryton | ||
2016-04-22 21:24 -!- prayashm(~prayashm@27.49.131.215) has joined #tryton | ||
2016-04-22 21:24 -!- prayashm(~prayashm@unaffiliated/prayashm) has joined #tryton | ||
2016-04-22 21:33 <prayashm> shrox: Congratulations! | ||
2016-04-22 21:45 <shrox> prayashm: you too :) | ||
2016-04-22 21:45 <prayashm> shrox: ;D Thanks | ||
2016-04-22 21:45 <shrox> And thank you so much for the opportunity cedk, kstenger and all the other wonderful mentors :) | ||
2016-04-22 21:45 <kstenger> shrox and prayashm Congratulations to you both :-) | ||
2016-04-22 21:46 <prayashm> cedk, kstenger, pokoli: Thanks a lot for your help. Looking forward to work more with you :) | ||
2016-04-22 21:46 <prayashm> kstenger: thanks! | ||
2016-04-22 21:48 <kstenger> welcome! | ||
2016-04-22 21:49 <kstenger> and thanks for your contributions too! | ||
2016-04-22 21:49 <pokoli> shrox and prayashm congratulations :) | ||
2016-04-22 21:50 <prayashm> pokoli: thanks! | ||
2016-04-22 21:50 <kstenger> And I'd like to extend this thanks to all contributors of Tryton. I think it's good to remind this to each one of us once in a while. | ||
2016-04-22 21:50 <shrox> pokoli: Thanks! You were the first reviewer of my buggy patch, haha. | ||
2016-04-22 21:53 <pokoli> kstenger: its curious that you are thanking yourself :-) hahahha | ||
2016-04-22 21:53 <pokoli> shrox: you're welcome. The important think is that it's fixed now | ||
2016-04-22 21:54 <kstenger> pokoli: why not, you should do it too ;-) | ||
2016-04-22 21:55 <kstenger> pokoli: Lately I've seen too many harsh arguments. And I think people is just forgetting to say thanks. | ||
2016-04-22 22:54 <shrox> cedk: kstenger: Hey just to let you know. My exams are currently ongoing and will end on the 28th. I will be very active after that :) And I love to blog so the blog that I've set up will be very active as well. | ||
2016-04-22 22:57 <kstenger> great shrox! hope your exams go well :-) | ||
2016-04-22 22:57 <shrox> kstenger: Thanks! I hope so too, haha | ||
2016-04-22 23:03 -!- aroncero(~aroncero@86.63.19.153) has joined #tryton | ||
2016-04-22 23:27 -!- smarro(~sebastian@190.108.228.120) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!