chat.freenode.net #tryton log beginning Thu Nov 7 00:00:03 CET 2013 | ||
2013-11-07 11:57 <rmu> another curious thing that bugs me in version 3.0 but that i cant really pin down: the "context" of a session sometimes acquires the field "active_test" with value "False", causing all sorts of strange behaviour. | ||
2013-11-07 13:26 <rmu> nevermind, issue3442 | ||
2013-11-07 15:00 -!- grasbauer(~jan@dslb-178-005-040-183.pools.arcor-ip.net) has left #tryton | ||
2013-11-07 15:31 -!- udono_(513d894a@gateway/web/freenode/ip.81.61.137.74) has left #tryton | ||
2013-11-07 17:34 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton | ||
2013-11-07 17:40 <motaro> ¡Hello people! | ||
2013-11-07 17:43 <motaro> Question: I'm having an issue with a reference fields. Let me illustrate http://paste.stacka.to/lufusoyuyo | ||
2013-11-07 17:45 <motaro> The problem that I'm having is that I want two relations of the same objects but with different semantical porpuses, The framework once you select one of the fields it understand that both fields are referencing the same thing. And I want them two reference different instances of the external object. | ||
2013-11-07 18:57 <udono> motaro: so you need two many2one fields... | ||
2013-11-07 18:59 <pokoli> udono: you're in barcelona? | ||
2013-11-07 19:00 <motaro> udono: the other way around. | ||
2013-11-07 19:08 <udono> pokoli: yes | ||
2013-11-07 19:08 <motaro> udono: you're going to meeting this month? | ||
2013-11-07 19:09 <udono> motaro: one2many is just an reverse lookup of the according many2one, which is an foreign key in the database. | ||
2013-11-07 19:09 <udono> motaro: so again, you need two many2one fields... | ||
2013-11-07 19:10 <udono> motaro: TUB2013 | ||
2013-11-07 19:16 <zodman> no body here :) | ||
2013-11-07 19:16 <motaro> udono: did you get to see the examble? | ||
2013-11-07 19:17 <udono> motaro: yes | ||
2013-11-07 19:19 <motaro> udono: if you put two id fields inside the external class, what ends up happening is that the record will show a Many2One field on the UI, where it will always have a 'ForeingKey' exception. I tried that already. | ||
2013-11-07 19:22 <udono> motaro: I do not understand the aim of the module. But a one2many always shows the data stored in the according many2one. So your example functions 'correct' :-) | ||
2013-11-07 19:23 <motaro> I want it to be two One2Many fields that reference the same type of class. Although they are different list of objects. I can't do that. | ||
2013-11-07 19:36 <udono> motaro: so maybe you need two many2many | ||
2013-11-07 19:38 <motaro> udono: It's a difficult situation. I tried that already and the problem is the same. I have tried to make different external classes and the problem persists it makes no sense to me. | ||
2013-11-07 19:40 <udono> motaro: I think it is better to explain what exactly you want to do. | ||
2013-11-07 19:41 <motaro> udono: The only way to solve it for the moment, I think! is to put another field in the external class that get's selected automatically in the backend and make the view some how choose which to present depending on that field. | ||
2013-11-07 19:41 <udono> Is anyone else in Barcelona tonight? | ||
2013-11-07 19:42 <udono> motaro: I don't know. | ||
2013-11-07 19:43 <motaro> I'ts exactly what I said before I need TWO (2) One2Many fields on the same object that reference the same type of class. Although they are different list of objects. | ||
2013-11-07 19:50 <udono> motaro: maybe try two many2many fields with widget="one2many" | ||
2013-11-07 19:50 <udono> afk | ||
2013-11-07 19:51 <motaro> udono: Espera parece que hacer clases externas diferentes funciono, al parecer habia hecho el update mal y no se habia manifestado el cambio. | ||
2013-11-07 19:52 <motaro> Sorry but I think you get the idea. | ||
2013-11-07 19:53 <motaro> I hope that the videos from the meeting will be uploaded to see the state of things. | ||
2013-11-07 19:54 <udono> motaro: Unfortunately I do not understand Spanish, I am German. | ||
2013-11-07 19:54 <motaro> I heard that are some members that want to move the license proprietary... | ||
2013-11-07 19:55 <udono> motaro: So what do you heard from whom? | ||
2013-11-07 19:56 <motaro> I heard from one of the main contribuitors, he's thoughts of having a more commercial license on the platform, do not wish to point names as this was an unofficial comment. | ||
2013-11-07 19:57 <udono> motaro: You are talking about Tryton? | ||
2013-11-07 19:57 <motaro> yes Tryton. | ||
2013-11-07 20:00 <smarro> motaro: that is impossible | ||
2013-11-07 20:00 <udono> motaro: Tryton is GPL Version 3, I do not see another way to change the license as asking every contributor... good luck. | ||
2013-11-07 20:01 <motaro> Correct every contribuitor will have to agree or at least the majority depending on the foundation rules. | ||
2013-11-07 20:03 <Pilou> motaro: troll & fud | ||
2013-11-07 20:03 <smarro> Pilou: +1 | ||
2013-11-07 20:04 <udono> motaro: No, the foundation can not change the license, but IANAL | ||
2013-11-07 20:04 <udono> smarro: correct | ||
2013-11-07 20:05 <motaro> I do not wish the license to change that's definitively reason I'm saying it. | ||
2013-11-07 20:06 <motaro> Although if you watch one of the video were Cedric explains about the platform he actually confirms that if everybody agrees the license can change. |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!