chat.freenode.net #tryton log beginning Tue Jun 30 00:00:02 CEST 2009 | ||
2009-06-30 00:21 -!- ikks(n=ikks@190.102.221.188) has joined #tryton | ||
2009-06-30 00:34 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton | ||
2009-06-30 00:37 -!- bechamel(n=user@host-85-201-74-27.brutele.be) has left #tryton | ||
2009-06-30 00:46 -!- CIA-68(n=CIA@208.69.182.149) has joined #tryton | ||
2009-06-30 03:01 -!- digitalsatori(n=tony@116.233.253.54) has joined #tryton | ||
2009-06-30 04:18 -!- gremly(n=gremly@190.156.165.175) has joined #tryton | ||
2009-06-30 04:32 -!- gremly(n=gremly@190.156.165.175) has joined #tryton | ||
2009-06-30 04:52 -!- digitalsatori(n=tony@116.233.253.54) has joined #tryton | ||
2009-06-30 04:56 -!- yangoon(n=mathiasb@p549F2FE1.dip.t-dialin.net) has joined #tryton | ||
2009-06-30 05:13 -!- ikks_(n=ikks@186.97.7.37) has joined #tryton | ||
2009-06-30 05:18 -!- yangoon(n=mathiasb@p549F5721.dip.t-dialin.net) has joined #tryton | ||
2009-06-30 06:44 -!- udono(n=udono@dynamic-unidsl-85-197-25-240.westend.de) has joined #tryton | ||
2009-06-30 07:55 -!- enlightx(n=enlightx@217.202.195.255) has joined #tryton | ||
2009-06-30 07:55 -!- enlightx(n=enlightx@217.202.195.255) has left #tryton | ||
2009-06-30 07:58 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2009-06-30 08:25 -!- carlos(n=carlos@221.157.221.87.dynamic.jazztel.es) has joined #tryton | ||
2009-06-30 08:41 -!- enlightx(n=enlightx@95.74.63.38) has joined #tryton | ||
2009-06-30 09:12 -!- paepke(n=paepke@R8ef1.r.pppool.de) has joined #tryton | ||
2009-06-30 09:27 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton | ||
2009-06-30 09:28 -!- enlightx_(n=enlightx@217.202.173.226) has joined #tryton | ||
2009-06-30 09:40 <CIA-68> vengfulsquirrel roundup * #1093/Improve extendibility of stock.inventory: [new] I have a few issues with the existing stock.inventory model they mostly center around making it so that the inventory model can be extended ... | ||
2009-06-30 09:40 <CIA-68> http://bugs.tryton.org/roundup/issue1093 | ||
2009-06-30 09:52 <CIA-68> ced roundup * #1093/Improve extendibility of stock.inventory: [chatting] Could you please put the patch on Rietveld as describes in http://code.google.com/p/tryton/wiki/HowtoContribute#Code_Review | ||
2009-06-30 09:52 <CIA-68> http://bugs.tryton.org/roundup/issue1093 | ||
2009-06-30 10:09 <CIA-68> vengfulsquirrel roundup * #1093/Improve extendibility of stock.inventory: | ||
2009-06-30 10:09 <CIA-68> Oops missed the new rules, here you go: | ||
2009-06-30 10:09 <CIA-68> http://codereview.appspot.com/90057 | ||
2009-06-30 10:09 <CIA-68> http://bugs.tryton.org/roundup/issue1093 | ||
2009-06-30 10:23 <vengfulsquirrel> cedk: So as to not pollute the mailing list I'm asking you in here, if you had the time could generate this changeset for mac: adce5f2ccb3f just for tryton not trytond ? If I have the matching trytond code running somewhere else with extensions that won't matter right, like its going off the version.py files and not changesets or anything ? | ||
2009-06-30 10:25 <cedk> vengfulsquirrel: ok | ||
2009-06-30 10:45 <cedk> vengfulsquirrel: http://www.b2ck.com/~ced/tryton-adce5f2ccb3f.dmg | ||
2009-06-30 10:52 <vengfulsquirrel> cedk: Got it, thanks a lot. | ||
2009-06-30 11:49 -!- cristi_an(i=5bbf82c4@gateway/web/freenode/x-c16273980102bee4) has joined #tryton | ||
2009-06-30 12:20 <cristi_an> short poll : which on eis using mac here ,and wich one windows or linux | ||
2009-06-30 12:22 -!- cristi_an(i=5bbf82c4@gateway/web/freenode/x-c16273980102bee4) has left #tryton | ||
2009-06-30 12:24 <udono> ACTION thinks: quick poll | ||
2009-06-30 12:29 -!- enlightx(n=enlightx@217.202.167.98) has joined #tryton | ||
2009-06-30 12:40 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2009-06-30 12:46 -!- bechamel(n=user@host-85-201-74-27.brutele.be) has joined #tryton | ||
2009-06-30 13:00 -!- sharkcz_(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton | ||
2009-06-30 13:19 -!- enlightx(n=enlightx@217.202.145.130) has joined #tryton | ||
2009-06-30 14:06 -!- cedk_(n=ced@ced.homedns.org) has joined #tryton | ||
2009-06-30 14:16 -!- cedk_(n=ced@ced.homedns.org) has joined #tryton | ||
2009-06-30 14:21 -!- _TiN_(n=TiN@190.189.9.80) has joined #tryton | ||
2009-06-30 14:38 -!- carlos(n=carlos@221.157.221.87.dynamic.jazztel.es) has joined #tryton | ||
2009-06-30 14:43 -!- enlightx(n=enlightx@217.202.162.26) has joined #tryton | ||
2009-06-30 14:46 <CIA-68> Bertrand Chenal <bch@b2ck.com> default * 165:a0f95e33c274 company/doc/index.rst: Added doc | ||
2009-06-30 14:46 <CIA-68> http://hg.tryton.org/modules/company/rev/a0f95e33c274 | ||
2009-06-30 14:46 <CIA-68> Bertrand Chenal <bch@b2ck.com> default * 2:127eba4d101b project_plan/work.xml: | ||
2009-06-30 14:46 <CIA-68> Improve work view: | ||
2009-06-30 14:46 <CIA-68> - put allocations in a tab | ||
2009-06-30 14:46 <CIA-68> - move constraint dates on top of other dates | ||
2009-06-30 14:46 <CIA-68> http://hg.tryton.org/modules/project_plan/rev/127eba4d101b | ||
2009-06-30 14:59 <CIA-68> matb roundup * #1094/Content lost on log archive?: | ||
2009-06-30 14:59 <CIA-68> [new] There seems to be content lost on the IRC log: | ||
2009-06-30 14:59 <CIA-68> I wanted to refer to an earlier discussion, but http://www.tryton.org/~irclog/2009-04-21.l ... | ||
2009-06-30 14:59 <CIA-68> http://bugs.tryton.org/roundup/issue1094 | ||
2009-06-30 15:13 <CIA-68> matb roundup * #1095/Translation of language attributes: [new] As pointed out previously, we should find a clear differentiation between the display of language selection and language attributes of objec ... | ||
2009-06-30 15:13 <CIA-68> http://bugs.tryton.org/roundup/issue1095 | ||
2009-06-30 15:19 -!- woakas(n=woakas@190.144.69.234) has joined #tryton | ||
2009-06-30 15:36 <CIA-68> ced roundup * #1094/Content lost on log archive?: [invalid] It happens: connection lost, client crash, etc. | ||
2009-06-30 15:36 <CIA-68> http://bugs.tryton.org/roundup/issue1094 | ||
2009-06-30 16:11 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton | ||
2009-06-30 17:08 -!- paepke(n=paepke@R8ef1.r.pppool.de) has joined #tryton | ||
2009-06-30 17:31 -!- enlightx(n=enlightx@217.202.168.237) has joined #tryton | ||
2009-06-30 17:34 -!- Timitos(n=timitos@88.217.184.172) has left #tryton | ||
2009-06-30 17:34 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton | ||
2009-06-30 17:50 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton | ||
2009-06-30 18:18 <vengfulsquirrel> When extending a model is it possible to call the overridden method of a specific instance of that model? | ||
2009-06-30 18:21 <udono> vengfulsquirrel: how do you like to specify an instance of the model? Do you have some example? | ||
2009-06-30 18:24 <vengfulsquirrel> udono: Like say for example calling the method that existed in an official tryton module's model before I override it in my own module's model. Say stock.inventory.complete_lines for example, could I override that in a module and then call the original ? Like some kind of super() usage. | ||
2009-06-30 18:25 <udono> vengfulsquirrel: yes, this work | ||
2009-06-30 18:25 <udono> ACTION looking for an example | ||
2009-06-30 18:27 <carlos> return super(Period, self).create(cursor, user, vals, context=context) | ||
2009-06-30 18:28 <carlos> that's what is used in account.py for account_invoice module | ||
2009-06-30 18:28 <carlos> to override Period.create method defined in the account modules | ||
2009-06-30 18:31 <vengfulsquirrel> udono: Hmm okay yeah forgot about that but I guess what confuses me is how is the order of the inheritance chain determined if multiple extensions are changing the base module. So like say there is a third extension so I have BaseModel.create, FirstExtensionToBaseModel.create, SecondExtensionToBaseModel.create, is there anyway to know what order super will resolve those? | ||
2009-06-30 18:34 <carlos> vengfulsquirrel: that's a good question, and something I was wondering too :-P | ||
2009-06-30 18:34 <udono> vengfulsquirrel: I don't think there is a sequence. But afaik the goal is to run thru the whole inheritance chain, and pick/change what you need. | ||
2009-06-30 18:35 <udono> vengfulsquirrel: this means when you overwrite a method you need to return with super... | ||
2009-06-30 18:36 <vengfulsquirrel> udono:but for example what if I want to replace what the first extension did with a new method but still call to the base method ? Like skip a step in the inheritance tree. | ||
2009-06-30 18:37 <vengfulsquirrel> Or I guess I wouldn't know who was second or third anyways | ||
2009-06-30 18:38 <udono> vengfulsquirrel: I don't know how to do. This maybe cedk has a solution for this. | ||
2009-06-30 18:39 <vengfulsquirrel> I think I've avoided needing it so far just curious because I'm sure its going to come up. | ||
2009-06-30 18:42 <carlos> yeah, I wondered the same thing when overriding the invoice report | ||
2009-06-30 18:42 <udono> vengfulsquirrel: But it is in any case not easy, because you do not know about other modules which are in the super chain. You can't control what you don't know. | ||
2009-06-30 18:43 <carlos> for some reason, it works as I expect it to work, however it's not the same code, given that it's the xml code, so it doesn't mean it should work in the same way than python code inheritance | ||
2009-06-30 18:44 <carlos> udono: I was wondering whether it may use the dependency definition inside __tryton__.py file | ||
2009-06-30 18:45 <carlos> but I didn't have time (yet) to check it | ||
2009-06-30 18:48 <udono> carlos: I expect the dependency tree build-up in the super chain, but do not know, too. But anyway there will be dependencies on the same level, you can not know which is first, I guess. | ||
2009-06-30 18:49 <carlos> yeah | ||
2009-06-30 18:50 <cedk> yes, it is the dependencies from __tryton__.py and if there is some at the same level, it must be alphabetic order | ||
2009-06-30 18:51 -!- gremly(n=gremly@190.156.158.96) has joined #tryton | ||
2009-06-30 18:51 <vengfulsquirrel> super resolves across the dependencies in __tryton__.py ? | ||
2009-06-30 18:52 <carlos> still, it's not reliable, given that you don't know the custom modules someone may have, so I think is better if you don't skip any super call... | ||
2009-06-30 18:53 <cedk> vengfulsquirrel: no, it is the way Tryton instanciates models | ||
2009-06-30 18:53 <vengfulsquirrel> oh okay | ||
2009-06-30 19:52 -!- cedric_b(n=cedric@ANantes-158-1-110-142.w86-199.abo.wanadoo.fr) has joined #tryton | ||
2009-06-30 20:08 -!- essich(n=essich@f053112029.adsl.alicedsl.de) has joined #tryton | ||
2009-06-30 20:50 <cedk> vengfulsquirrel: hi, I suppose that your patch is because you create a lot of location (one per product)? | ||
2009-06-30 20:51 <vengfulsquirrel> yes but the functionality in the patch doesn't implement that specifically it just allows the core tryton module to be extended by another module that implements that | ||
2009-06-30 20:51 <vengfulsquirrel> cedk:^ | ||
2009-06-30 20:52 <vengfulsquirrel> I don't think there will be many companies that do inventory one location at a time though. | ||
2009-06-30 20:53 <cedk> vengfulsquirrel: I need to think about that. Because in Tryton location is a place on which you compute stock quantities | ||
2009-06-30 20:54 <vengfulsquirrel> cedk: Yes but I use a tree of views where the root is the main storage zone and all leaves are STORAGE but all non-leaves are VIEW, so it kind of makes more sense when you think about it that way. | ||
2009-06-30 20:55 <vengfulsquirrel> So like if you had a building with storage shelves you'd take inventory usually on the entire building not each shelf. | ||
2009-06-30 20:56 <vengfulsquirrel> but you'd still want to know that the product was at a certain shelf | ||
2009-06-30 20:56 <cedk> vengfulsquirrel: you must encode per location the quantities | ||
2009-06-30 20:56 <vengfulsquirrel> yes so the quantities are only assigned to the leaf nodes of the tree | ||
2009-06-30 20:57 <vengfulsquirrel> so like warehouse A has bin 1, the quantity is at location == A - 1 of type storage, but location A - 1 is a child of warehouse A of type view | ||
2009-06-30 20:57 <vengfulsquirrel> it seems to work for me | ||
2009-06-30 20:57 <cedk> vengfulsquirrel: I understand | ||
2009-06-30 20:58 <cedk> vengfulsquirrel: but it is difficult to have a good design for both cases | ||
2009-06-30 20:58 <vengfulsquirrel> Yes but it supports both now, and the current design cannot support both. | ||
2009-06-30 20:58 <vengfulsquirrel> but yes I think the only other solution is just create a seperate module that is compeltely different | ||
2009-06-30 20:58 <cedk> I don't know | ||
2009-06-30 21:04 <cedk> vengfulsquirrel: we had developped a module to create all inventories | ||
2009-06-30 21:05 <cedk> I find it is a simplier solution | ||
2009-06-30 21:05 <cedk> we will publish it soon | ||
2009-06-30 21:08 <vengfulsquirrel> What do you mean all inventories? | ||
2009-06-30 21:12 <essich> cedk: Hi, I'm nearly finished writing helper scripts for Windows installation download. | ||
2009-06-30 21:13 <essich> cedk: What about adding a mercurial-repos 'helper-scripts' to maintain them? | ||
2009-06-30 21:13 <essich> cedk: tryton-dev.sh could go there, too | ||
2009-06-30 21:19 <vengfulsquirrel> cedk: gotta run, I'll talk to you about it tomorrow, thanks for looking at it | ||
2009-06-30 21:23 <udono> essich: http://hg.tryton.org/hgwebdir.cgi/tryton-dev/ | ||
2009-06-30 21:32 <essich> udono: IC. | ||
2009-06-30 21:32 <essich> cedk: may I please have write-access to this repos? | ||
2009-06-30 22:19 -!- bechamel(n=user@host-85-201-74-27.brutele.be) has joined #tryton | ||
2009-06-30 23:29 -!- bechamel(n=user@host-85-201-74-27.brutele.be) has left #tryton | ||
2009-06-30 23:59 <CIA-68> h.goebel@goebel-consult.de * r672 /wiki/BuildingRPMs.wiki: Renamed page | ||
2009-06-30 23:59 <CIA-68> h.goebel@goebel-consult.de * r673 /wiki/TableOfContents.wiki: Edited wiki page through web user interface. | ||
2009-06-30 23:59 <CIA-68> h.goebel@goebel-consult.de * r674 /wiki/BuilingRPMs.wiki: Deleting wiki page BuilingRPMs. | ||
2009-06-30 23:59 <CIA-68> h.goebel@goebel-consult.de * r675 /wiki/InstallationWindows.wiki: Edited wiki page through web user interface. |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!