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