IRC logs of #tryton for Tuesday, 2010-06-15

chat.freenode.net #tryton log beginning Tue Jun 15 00:00:03 CEST 2010
-!- tekoholic(~quassel@184-96-4-5.hlrn.qwest.net) has joined #tryton00:18
-!- zodman(43dfece7@gateway/web/freenode/ip.67.223.236.231) has joined #tryton00:39
-!- zodman(43dfece7@gateway/web/freenode/ip.67.223.236.231) has joined #tryton01:45
-!- gremly(~gremly@190.24.121.218) has joined #tryton03:20
-!- ebanders(~ebanders@c-66-41-121-0.hsd1.mn.comcast.net) has joined #tryton04:08
-!- gremly(~gremly@190.24.121.218) has joined #tryton05:17
-!- yangoon(~mathiasb@p549F6EF2.dip.t-dialin.net) has joined #tryton05:18
-!- gremly(~gremly@190.24.127.20) has joined #tryton06:05
-!- mr_amit(~amit@117.254.182.171) has joined #tryton06:58
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton07:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:37
-!- eLBati(~elbati@94.162.84.84) has joined #tryton08:34
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:09
-!- essich(~essich@p4FCF8C07.dip0.t-ipconnect.de) has joined #tryton09:47
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton09:59
-!- Timitos(~timitos@88.217.184.172) has joined #tryton10:07
-!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton10:28
-!- Shalabh_OL(~shalabh@122.176.50.143) has joined #tryton10:54
-!- wedo(~wedo@77.31.188.232) has joined #tryton11:09
Shalabh_OLHi, i need to apply a domain on a field 'f1' (which is many2one from ir.model.field) of a model 'xyz'.11:09
Shalabh_OLThis model 'xyz' also contains a many2one field 'f2' to another model 'abc'.11:09
Shalabh_OLThis model 'abc' has a many2one field 'f3' to ir.model.11:09
Shalabh_OLSo, the domain on field 'f1' should be such that it has only the fields of the model selected in field 'f3'.11:09
Shalabh_OLPlease help how to go about this??11:09
Shalabh_OLor in simple words how can a domain be applied based on the value of a field in the parent form?11:10
udonoShalabh_OL: Hi, did you try (1.4 Syntax): globals().get('_parent_f3')11:13
udonoShalabh_OL: globals().get('_parent_abc.f3')11:15
Shalabh_OLudono: the abc in _parent_abc is model name or class name?11:18
udonoShalabh_OL: with PYSON something like this: ('f1', '=', Get(Eval('_parent_abc', {}), 'f3'))11:19
udonoShalabh_OL: abc, seems neither model nor class name. It is the name of the field in parent model, I guess. But Iam unsure. Try to grep -R _parent *11:20
Shalabh_OLudono: does the empty dictionary above has to left as it is or it must contain something?11:25
udonoShalabh_OL: http://doc.tryton.org/1.6/trytond/doc/ref/pyson.html#trytond.pyson.Eval11:27
udonoShalabh_OL: Iam unsure if I understand your example.11:30
Shalabh_OLudono: what dis parent implies?? Is it the name of class or model??11:34
udonoShalabh_OL: I do not exactly know. It is not documented. I can just guess and try and use grep. I don't like to tell you wrong things. Maybe better waiting for cedk?11:37
Shalabh_OLudono: ok no probs, can you tell me how to use the grep statement?11:38
udonoShalabh_OL: Have you Linux?11:38
Shalabh_OLudono: ya11:38
udonoShalabh_OL: then change into the trytond/trytond/modules folder11:39
udonoShalabh_OL: there you do:11:39
Shalabh_OLudono: ok then11:39
udonoShalabh_OL: grep -R "_parent" *11:39
udonothen you can examine the modules where _parent is used.11:40
Shalabh_OLudono: what is this _parent, is it some model or class's name or it has to be left like this11:41
Shalabh_OLudono: ok, i got it , thnx11:42
-!- Timitos(~timitos@88.217.184.172) has joined #tryton11:44
Shalabh_OLudono: again thanks, i got the domain working. :)11:46
udonoShalabh_OL: it is a prefix for a field in a domain, which will be evaluated, AFAIK11:46
-!- Timitos(~timitos@88.217.184.172) has joined #tryton12:54
-!- pigster(~pavel@firma.tkc-as.cz) has joined #tryton13:24
pigsterhi, small question, is it possible to get documents (sales/invoices/packing lists ...) through WebDAV grouped by analytical account they belongs to?13:26
pigstersomething like /Accounts/Account 1/Sales/sale-1/sale.odt13:27
-!- Timitos(~timitos@88.217.184.172) has joined #tryton13:27
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton14:04
-!- paepke(~paepke@p4FEB0158.dip0.t-ipconnect.de) has joined #tryton14:36
-!- ebanders(~ebanders@c-66-41-121-0.hsd1.mn.comcast.net) has joined #tryton14:41
-!- eLBati(~elbati@93.37.67.50) has joined #tryton14:45
-!- iiping(~iiping@119.94.202.201) has left #tryton14:57
-!- Timitos(~timitos@88.217.184.172) has joined #tryton15:32
-!- Shalabh_OL(~shalabh@122.176.50.143) has left #tryton15:39
-!- pepeu(~manuel@201.155.193.192) has joined #tryton15:46
cedkpigster: not yet15:54
-!- paepke(~paepke@p4FEB0158.dip0.t-ipconnect.de) has joined #tryton16:32
-!- Red15(~red15@unaffiliated/red15) has joined #tryton16:36
-!- paepke(~paepke@p4FEB0158.dip0.t-ipconnect.de) has left #tryton16:38
yangooncedk: hi16:40
yangooncedk: I am just looking at chnagesets for "searcher on Function fields take only one domain clause as argument "16:41
yangooncedk: I don't see a chnage in purchase for search_supplier16:41
yangoondid you just miss it or does it have a special cause?16:42
cedkyangoon: it takes only one clause16:43
yangooncedk: so you just didn't want to rename the argument?16:44
cedkyangoon: it is named clause16:45
yangooncedk: ah yes, I see, I was on previous revision, thx16:46
-!- tekoholic(~quassel@184-96-4-5.hlrn.qwest.net) has joined #tryton18:04
-!- paepke(~paepke@p5B32CCC2.dip.t-dialin.net) has joined #tryton19:08
-!- zodman(43dfece7@gateway/web/freenode/ip.67.223.236.231) has joined #tryton19:18
-!- zodman(~Miranda@67.223.236.231) has joined #tryton19:25
-!- eLBati(~elbati@94.163.94.111) has joined #tryton19:34
-!- zodman(~Miranda@foresight/developer/zodman) has joined #tryton19:38
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:51
-!- Timitos(~timitos@88.217.184.172) has joined #tryton20:24
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton20:58
-!- enlightx(~enlightx@dynamic-adsl-84-220-84-199.clienti.tiscali.it) has joined #tryton21:06
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton22:06
-!- gremly(~gremly@190.24.127.20) has joined #tryton22:33

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