chat.freenode.net #tryton log beginning Sun Jun 12 00:00:02 CEST 2011 | ||
-!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton | 02:27 | |
-!- nicoe(~nicoe@102.163-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton | 03:04 | |
-!- saxa(~sasa@189.26.255.43) has joined #tryton | 04:23 | |
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | 04:59 | |
-!- yangoon(~mathiasb@p549F2F08.dip.t-dialin.net) has joined #tryton | 05:18 | |
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton | 05:36 | |
-!- alimon(~alimon@187.156.103.195) has joined #tryton | 06:36 | |
-!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | 07:59 | |
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton | 09:03 | |
-!- dba(~daniel@178.63.150.30) has joined #tryton | 09:43 | |
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton | 09:43 | |
-!- yangoon(~mathiasb@p549F2F08.dip.t-dialin.net) has joined #tryton | 09:43 | |
-!- ready_(ready@sitea.cc) has joined #tryton | 09:43 | |
-!- nicoe(~nicoe@102.163-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton | 09:43 | |
-!- blast_hardcheese(~blast_har@cpe-98-154-59-208.socal.res.rr.com) has joined #tryton | 09:43 | |
-!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton | 09:43 | |
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton | 09:43 | |
-!- albertca(~albertca@181.pool85-50-194.dynamic.orange.es) has joined #tryton | 09:44 | |
-!- heffer(~felix@fedora/heffer) has joined #tryton | 09:44 | |
-!- cheche(cheche@46.25.80.67) has joined #tryton | 09:44 | |
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton | 09:44 | |
-!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton | 09:49 | |
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton | 09:49 | |
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton | 10:21 | |
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton | 11:47 | |
-!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton | 11:56 | |
-!- saxa(~sasa@189.26.255.43) has joined #tryton | 12:29 | |
-!- ready_(ready@sitea.cc) has joined #tryton | 15:03 | |
-!- nicoe_(~nicoe@102.163-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton | 15:05 | |
-!- meanmicio(bec3320f@gateway/web/freenode/ip.190.195.50.15) has joined #tryton | 16:53 | |
-!- elbenfreund(~elbenfreu@p54B92CBB.dip.t-dialin.net) has joined #tryton | 16:59 | |
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton | 17:10 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 17:16 | |
-!- alimon(~alimon@187.156.103.195) has joined #tryton | 17:30 | |
-!- yangoon(~mathiasb@p54B4E00D.dip.t-dialin.net) has joined #tryton | 18:21 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 18:41 | |
meanmicio | cedk: ping | 18:42 |
---|---|---|
meanmicio | Is there any issue with field names "name" in Tryton ? I'm facing a weird scenario, only in a specific view, where it won't show the field called "name" (either in the form or the tree). When I change the name, it will. | 18:47 |
cedk | meanmicio: normally not | 18:51 |
meanmicio | the field is created at pg level and no error message shows. | 18:52 |
meanmicio | it's weird, since I use name in other models and it works ok. It's just in one in particular | 18:53 |
meanmicio | I think I got it.. it has nothing to do with the name.... | 18:56 |
-!- gremly(~gremly@200.106.202.91) has joined #tryton | 18:56 | |
meanmicio | when I refer it from a One2Many | 18:56 |
meanmicio | the field won't be shown in this form... it's weird though. | 18:57 |
cedk | meanmicio: is the field the relationnal one? | 18:58 |
meanmicio | cedk : yes. evaluation_ids = fields.One2Many('medical.patient.evaluation', 'name', 'Evaluation') | 19:00 |
meanmicio | cedk : in patient.evaluation model . name = fields.Many2One('medical.patient','Patient') | 19:01 |
cedk | meanmicio: it is not show because you can not change it in a one2many | 19:01 |
meanmicio | cedk : I use it only as a readonly field, to show the current patient | 19:02 |
cedk | meanmicio: by the way, you should not named it "name" but "patient" | 19:02 |
cedk | meanmicio: but you are on it | 19:03 |
meanmicio | cedk: yes, but is good to see it. It's a quite large form. | 19:04 |
cedk | meanmicio: but we don't know the rec_name of the parent record if it is not yet saved | 19:09 |
meanmicio | cedk: Yes. I agree.... In OE I came up with a kludge. def onchange_evaluation_date (self, cr, uid, ids, name, patient): if not name: return {'value': {'name': patient}} | 19:16 |
meanmicio | cedk: So it would get the current patient from the appointment date... I think we're better off without the field. | 19:17 |
cedk | meanmicio: you can bypass the constraint by creating a function field that will have a default value depending of the parent | 19:18 |
meanmicio | cedk : thanks. I might also create a shortcut and have an action to current patient evaluation. | 19:21 |
cedk | meanmicio: yes if you get a large amount of evaluations | 19:23 |
cedk | meanmicio: it is better | 19:23 |
cedk | meanmicio: I think it is important to keep GUI simple | 19:23 |
cedk | which means less fields | 19:23 |
cedk | less tabs | 19:24 |
meanmicio | cedk: agree. Also from the security point of view. | 19:24 |
cedk | meanmicio: if you go with a relate, you will get the domain invertion so the "name" field will be filled automaticly and readonly | 19:25 |
meanmicio | cedk : yes. That is nice. I saw it with the appointment relate. Very cool :-) | 19:26 |
-!- sharkcz(~sharkcz@72.155.broadband6.iol.cz) has joined #tryton | 19:43 | |
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton | 21:22 | |
-!- gremly(~gremly@200.106.202.91) has joined #tryton | 21:44 | |
alimon | hi guys, i'm searching in http://hg2.tryton.org and i didn't find the modules repository, anyone know where this? | 21:46 |
alimon | thanks | 21:47 |
-!- ikks(~ikks@186.83.199.77) has joined #tryton | 22:28 | |
-!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | 22:38 | |
cedk | alimon: http://hg.tryton.org/modules | 22:54 |
alimon | cedk: thanks | 22:55 |
cedk | alimon: https://groups.google.com/d/msg/tryton/SEM1jt8fTUI/VQ1y1R2pRzAJ | 22:55 |
alimon | ok | 22:56 |
-!- cedk_(~ced@ced.homedns.org) has joined #tryton | 23:19 | |
-!- cedk_(~ced@ced.homedns.org) has joined #tryton | 23:24 | |
-!- cedk_(~ced@ced.homedns.org) has joined #tryton | 23:32 | |
-!- gremly(~gremly@200.106.202.91) has joined #tryton | 23:45 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!