IRC logs of #tryton for Sunday, 2011-06-12

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

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!