IRC logs of #tryton for Wednesday, 2011-12-28

chat.freenode.net #tryton log beginning Wed Dec 28 00:00:01 CET 2011
2011-12-28 00:32 <saxa> hi, is it demo2.3.trytond.org working ?
2011-12-28 00:33 <cedk> saxa: there is no such server
2011-12-28 00:33 <saxa> oh ok
2011-12-28 00:33 <saxa> clear now
2011-12-28 00:33 <saxa> so what sould i use as a demo for latest master hg checkout +
2011-12-28 00:33 <saxa> ?
2011-12-28 00:33 <saxa> demo2.2 ?
2011-12-28 00:33 <cedk> saxa: latest release
2011-12-28 00:34 <saxa> ok i get incompatible version of the server
2011-12-28 00:34 <saxa> :)
2011-12-28 00:34 <saxa> good, so its probably better to create a local database here
2011-12-28 00:35 <saxa> I have cloned out both trytond and tryton hg sources
2011-12-28 00:36 <cedk> saxa: I guess you are using the trunk instead of 2.2
2011-12-28 00:36 <saxa> yes
2011-12-28 00:37 <saxa> your guess is correct
2011-12-28 00:37 <saxa> i said latest master :)
2011-12-28 00:37 <saxa> sorry for my expressions are more C then pythonistic :D
2011-12-28 00:38 <saxa> you have listed simplejson 2 times in the http://doc.tryton.org/2.2/trytond/doc/topics/install.html page
2011-12-28 00:38 <saxa> it is required but also optional
2011-12-28 00:38 <saxa> is it the 2.3.0 version already functional ?
2011-12-28 00:39 <saxa> I don't need it to be production wise stable
2011-12-28 00:39 <saxa> just functional, so I can play with it
2011-12-28 00:39 <saxa> or is it better to clone 2.2 ?
2011-12-28 00:40 <saxa> i cloned trunk because I don't know how to clone out 2.2 , I'm not much familiar with hg
2011-12-28 00:40 <cedk> saxa: simplejson is only optional but hardly recommended
2011-12-28 00:41 <saxa> ok will install also this dep then
2011-12-28 00:41 <cedk> saxa: we try to have trunk always stable and working
2011-12-28 00:43 <saxa> ok, I undrstand, thx
2011-12-28 01:23 <saxa> ok, seems that "python setup.py install --root=/tmp/pack-trytond" command doesnt copy trytond.conf file into etc dir of the --root path
2011-12-28 01:27 <cedk> saxa: no it is something not supported by distutils
2011-12-28 01:31 <saxa> hmm, shouldn't this be done by adding one simple line to setup.py ?
2011-12-28 02:12 <saxa> in distutils i see this
2011-12-28 02:12 <saxa> The data_files option can be used to specify additional files needed by the module distribution: configuration files, message catalogs, data files, anything which doesn't fit in the previous categories.
2011-12-28 02:13 <saxa> so /etc/trytond.conf should go in here
2011-12-28 10:44 <sampac> Hi all. I would like to limit visibility of some models to the user's own objects (create_uid = logged in user). Is there an easy way with access rights ? or should I recreate all menus with a domain ?
2011-12-28 10:45 <cedk> sampac: you can use ir.rule
2011-12-28 10:49 <sampac> Nice! let me check
2011-12-28 11:16 <sampac> cedk: I don't manage to make the rule work. I put field:create_uid, operator: = and operand: USER
2011-12-28 11:35 <sampac> cedk: ok I found. In fact anything defined in groups is stronger than what is defined in users. I'm not sure it's correct design?
2011-12-28 11:37 <cedk> sampac: I don't understand
2011-12-28 11:38 <cedk> sampac: all the rules are applied the same way
2011-12-28 11:48 <sampac> cedk: It is not clear to me without doc what priority is applied for True versus False, for model access versus rule, etc. The only thing I'm sure is that the limitation w
2011-12-28 11:48 <sampac> cedk : I was trying to add only worked when attached to the group, not to the uer
2011-12-28 13:51 <sisalp> nicoe: what is the aim of gis project ?
2011-12-28 13:57 <cedk> sisalp: you should ask to bioecoforests
2011-12-28 14:04 <pilou> sisalp: we want handle geographic data with tryton.
2011-12-28 14:54 <jcm> hi all! How can I search a Party from a phone number? (useful to answer to phone calls)
2011-12-28 15:04 <bechamel> jcm: it's not doable
2011-12-28 15:38 <jcm> bechamel: could be done, isn't it? seems this sql would do it: select name from party_party left join party_contact_mechanism pcm on pcm.party=party_party.id where pcm.value like 'search str%';
2011-12-28 15:39 <jcm> but maybe the text search engine presented on 11/11 would be better for this
2011-12-28 15:42 <bechamel> jcm: the easiest solution is to improve search_rec_name on party to do this join automaticaly
2011-12-28 15:46 <bechamel> jcm: I don't know how this use case will be handled by a fts btw
2011-12-28 16:18 -!- sampac(~sampaccou@def92-7-82-231-203-127.fbx.proxad.net) has left #tryton
2011-12-28 16:36 <albertca> @nicoe: are you there?
2011-12-28 16:40 <nicoe> yes
2011-12-28 16:40 <cedk> albertca: without @ it works better ;-)
2011-12-28 16:40 <albertca> cedk: I'm mixing communication channels :D
2011-12-28 16:41 <albertca> nicoe: saw your patch for tryton client regarding binary fields
2011-12-28 16:41 <nicoe> albertca: I closed it finally
2011-12-28 16:42 <albertca> nicoe: does it now fill the field name and size when editing in tree view?
2011-12-28 16:42 <albertca> nicoe: I was about to open an issue about that but I'm not sure if it was because my patch was wrong
2011-12-28 16:43 <nicoe> no you're patch is fine
2011-12-28 16:43 <nicoe> I think the bug is there since the beginning
2011-12-28 16:44 <albertca> nicoe: Ok. Can you take a look at that? I don't know the client enough yet
2011-12-28 16:44 <albertca> nicoe: Do you want me to fill in a bug report
2011-12-28 16:44 <albertca> ?
2011-12-28 16:47 <nicoe> albertca: please do so. Thanks
2011-12-28 16:50 <albertca> nicoe: Ok. Done: issue2369
2011-12-28 22:01 -!- scrapper(~scrapper@88.117.159.6) has left #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!