IRC logs of #tryton for Thursday, 2011-01-06

chat.freenode.net #tryton log beginning Thu Jan 6 00:00:02 CET 2011
cedkplantian: yes00:18
plantiancedk: okay, thanks00:19
-!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton00:49
-!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton01:18
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton02:39
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has left #tryton02:40
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton02:45
-!- elbenfreund(~elbenfreu@p54B96E2F.dip.t-dialin.net) has joined #tryton03:56
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton05:08
-!- yangoon(~mathiasb@p549F4D4A.dip.t-dialin.net) has joined #tryton05:18
-!- Vladimirek(~vladimir@213.151.246.136) has joined #tryton05:44
Hydrantanyone still awake ?05:46
-!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton06:49
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton06:59
-!- rlankfo(rlankford@hahainyourface.com) has joined #tryton07:23
-!- Vladimirek(~vladimir@adsl-dyn115.78-98-18.t-com.sk) has joined #tryton07:24
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton08:55
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:15
-!- trifon(~trifon@79-100-36-253.btc-net.bg) has joined #tryton09:30
-!- jcm(~jcm@symetrie.net) has joined #tryton09:45
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton10:08
-!- bechamel`(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton10:13
-!- hoRn(~chatzilla@p54857F0C.dip.t-dialin.net) has joined #tryton10:42
-!- enlightx(~enlightx@dynamic-adsl-94-34-169-161.clienti.tiscali.it) has joined #tryton10:56
-!- hoRn(~chatzilla@p548564B2.dip.t-dialin.net) has joined #tryton11:17
-!- hoRn(~chatzilla@p548564B2.dip.t-dialin.net) has joined #tryton11:44
-!- hoRn(~chatzilla@p548564B2.dip.t-dialin.net) has joined #tryton11:57
-!- vvjcarter(~carter@p50898AD7.dip0.t-ipconnect.de) has joined #tryton12:03
sisalphello12:08
sisalpany custom module available to manage delivery costs according to weight of goods / carrier and vat ?12:12
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton12:45
sisalpIs there a place where custom modules on tryton are documented ?12:55
bechamelsisalp: no, the only documentation is for official ones (http://doc.tryton.org/1.8/modules/index.html)13:08
-!- hoRn(~chatzilla@dslb-094-223-214-108.pools.arcor-ip.net) has joined #tryton13:31
-!- paepke(~paepke@p4FEB66BE.dip.t-dialin.net) has joined #tryton13:55
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton14:39
-!- sisalp(~dominique@annecy.sisalp.net) has left #tryton15:09
-!- gremly(~gremly@200.106.202.91) has joined #tryton15:16
-!- pepeu(~manuel@201.155.193.192) has joined #tryton16:08
-!- yangoon(~mathiasb@p549F4D4A.dip.t-dialin.net) has joined #tryton16:38
-!- elbenfreund(~elbenfreu@p54B96B73.dip.t-dialin.net) has joined #tryton16:45
-!- gremly(~gremly@200.106.202.91) has joined #tryton17:59
-!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton18:11
-!- ikks(~ikks@190.158.100.15) has joined #tryton18:18
-!- chrue(~chrue@host-091-097-189-043.ewe-ip-backbone.de) has joined #tryton19:03
-!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton19:54
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton19:56
-!- Vladimirek(~vladimir@213.151.246.136) has joined #tryton20:04
plantianHi I'm having trouble understanding querying with parent/child_of.  How can I get search to not include the parent id?  I have pasted the issue here -- http://paste.pocoo.org/show/315985/20:36
hoRnhi again20:54
hoRnis there a short way to create more than one relation at a one2Many field while creating the parent? ('create', {<field name>: value, ...}) seems limited to the creation of one target record20:55
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton20:59
hoRnplantian: not in or  !=                 ?20:59
hoRnmy last question was stupid ;[21:01
plantianhoRn: Actually I think I must have been doing something wrong because now my example works without needing 'not in'.   I don't really understand, I must have been using the products_by_location() method incorrectly.21:08
plantianI didn't really understand your question.21:08
plantianYou mean as an example using the inventory model you wanted to create the inventory lines and the inventory itself all at once?21:08
hoRnyes21:09
hoRnbut i can do [('create', {<field name>: value, ...}),('create', {<field name>: value, ...})]21:10
hoRnits a list21:10
udonoplantian: I guess you miss the fourth parameter on child_of s.a. http://doc.tryton.org/1.8/trytond/doc/topics/domain.html#child-of21:21
plantianhoRn: I don't think the 4 parameter form applies because it is for location which is linked to itself.21:23
plantianI really don't understand the 4 parameter usage though.21:24
plantianActually its not that its linked to itself I think its many2one, many locations have the one location as their parent.21:25
-!- jcm(~jcm@93.6.199.159) has joined #tryton21:26
-!- JamesPharaoh(~james@203.50.219.87.dynamic.jazztel.es) has joined #tryton22:27
JamesPharaohhi, can anyone tell me why the latest tryton modules are all a version behind tryton itself and if they are supposed to work with it? for example trytond-1.6.2 and trytond_*-1.6.1, or trytond-1.8.1 and trytond_*-1.8.022:30
udonoJamesPharaoh: All versions in the 1.6 line are working together, but not with other lines like 1.8 or 1.4.22:39
udonoJamesPharaoh: on each release of Tryton we branch the development and maintain the different branches for a while.22:40
JamesPharaohuduno: thanks... i think my confusion is because the installer overwrote the version of trytond from 1.8.1 to 1.8.0 when i installed a package versioned 1.8.0, i guess this is a bug?23:12
JamesPharaohuduno: when i installed a /module/ versioned 1.8.0 i should say23:13
-!- Vladimirek(~vladimir@213.151.246.136) has joined #tryton23:13
udonoJamesPharaoh: which installer?23:14
JamesPharaohudono: script/setup23:15
JamesPharaohudono: no, forget that, that's something else23:15
JamesPharaohudono: the setup.py install23:15
JamesPharaohudono: in the module23:16
udonoJamesPharaoh: i don't know if it is a bug23:17
JamesPharaohudono: well is there any way for me to manage the packages myself, i would rather install stuff without it going and changing other packages on my system really23:17
udonoJamesPharaoh: there exist a buildout for tryton on github23:18
JamesPharaohudono: ok i'll take a look at that...23:19
JamesPharaohudono: to be honest it's not the biggest of my problems, i'm trying to upgrade from 1.6 to 1.8 and having trouble getting it to work at all23:19
JamesPharaohudono: i can't really work out how tryton works with respect to databases, for example why does it have a command line option for the database name and also take a database name when you connect?23:20
udonoJamesPharaoh: sorr, I need to sleep. iam back in 8 hours.23:20
plantianJamesPharaoh: I don't know what other tryton users do but I use virtualenv.23:23
JamesPharaohplatian: ok thanks i'll look into that...23:23
plantianJamesPharaoh: It is not a tryton thing, it just is an easy way to not install python packages into the system's site-packages.23:26
JamesPharaohplantian: yeah that's what i guessed23:26
JamesPharaohplantian: i'll look into it anyway. really i don't like using package managers and want to install stuff myself, so as to reduce external dependencies23:27
plantianYeah package managers don't work very well for python.  Its a hard problem to solve.23:28
JamesPharaohok so does anyone know how i upgrade my database from 1.6 to 1.8?23:49
JamesPharaohi've finally managed to get it to connect but i get a load of errors and i'm guessing it's because of the database version23:50
cedkJamesPharaoh: http://code.google.com/p/tryton/wiki/Update23:51
JamesPharaohcedk: thanks, but now i have an error :( http://pastebin.com/xj8AYiQf23:52
-!- heg(~heg@dyn.144-85-145-213.dsl.vtx.ch) has joined #tryton23:53
cedkJamesPharaoh: you seem to have mixed series23:53
JamesPharaohcedk: i have no idea what that means23:53
JamesPharaohcedk: do you mean modules from different versions?23:54
JamesPharaohcedk: or something like that?23:54
cedkJamesPharaoh: yes you must have only tryton modules with the same 2 first numbers23:55
JamesPharaohcedk: ok, i've deleted everythong in my dist-packages and am reinstalling...23:55

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