IRC logs of #tryton for Friday, 2010-07-30

chat.freenode.net #tryton log beginning Fri Jul 30 00:00:02 CEST 2010
-!- gremly(~gremly@201.244.193.238) has joined #tryton01:02
-!- gremly(~gremly@201.244.193.238) has joined #tryton04:41
-!- zodman(~zodman@189.236.173.207) has joined #tryton04:59
-!- mr_amit(~amit@117.254.20.94) has joined #tryton06:29
-!- Timitos(~timitos@88.217.184.172) has joined #tryton07:49
Timitoscedk: hi. should i use a special commit message for the Transaction patches? i think it would be good to use the same message for all those patches.08:00
Timitosand should i already post them on the bug tracker?08:01
cedkTimitos: wait08:07
cedkTimitos: we need to make some global test before08:07
Timitoscedk: ok. no problem. just wanted to know about the next steps08:08
-!- mr_amit(~amit@117.254.17.166) has joined #tryton08:21
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:33
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:13
sejoach forgot the bug about adding a logo09:17
sejoACTION slaps own head09:17
sejobtw cedk i remembered your nick but forgot from where, now I remember... you are a gentoo dev!09:19
-!- eLBati(~elbati@94.160.10.182) has joined #tryton09:19
sejoIssue163809:21
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton09:30
-!- Red15(~red15@unaffiliated/red15) has joined #tryton10:31
-!- tekknokrat(~lila@188.106.99.200) has joined #tryton10:37
sejoI made an error in an account move11:06
sejohow can I edit the account info?11:07
sejo(should be booked on another account)11:07
bechamelsejo: I'm have limited knowledge in accouting, but I think you have to create a new move that will balance it11:12
sejook11:14
sejoso I can't just fix it in the db?11:14
-!- paepke(~paepke@p4FEB1780.dip0.t-ipconnect.de) has joined #tryton11:18
bechamelsejo: yes of course it's always possible11:19
bechamelsejo: but you will bypass all consitency checks11:20
sejobechamel: hehe that's what i did ;p11:24
sejo update pg_class set reltriggers=0 where relname = 'account_move_line';11:26
sejoupdate account_move_line set account=331 where account=371;11:26
sejoupdate pg_class set reltriggers = (select count(*) from pg_trigger where pg_class.oid=tgrelid and relname='account_move_line');11:26
sejothat did it :p11:26
bechamelsejo: btw there are no triggers in the db11:29
sejothere are constraints11:29
sejothose are underlying set to triggers11:29
sejoon account_move_line with the belgium chart you have 22 triggers11:30
sejoselect reltriggers from pg_class where relname='account_move_line';11:30
sejothat will show you the number11:31
bechamelsejo: strange I have no reltriggers column (but there is a relhastriggers)11:37
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton12:32
-!- essich(~essich@p4FCF8A13.dip0.t-ipconnect.de) has joined #tryton14:33
-!- gremly(~gremly@201.244.193.238) has joined #tryton14:48
-!- eLBati(~elbati@94.160.10.44) has joined #tryton14:57
-!- pheller(~pheller@c1fw236.constantcontact.com) has joined #tryton15:25
-!- eLBati(~elbati@94.163.76.21) has joined #tryton15:25
-!- pepeu(~manuel@201.155.193.192) has joined #tryton15:30
-!- gremly(~gremly@201.244.193.238) has joined #tryton15:36
-!- zodman(~Miranda@67.223.236.231) has joined #tryton15:39
-!- juanfer(~juanfer@201.244.237.64) has joined #tryton15:57
-!- essich_(~essich@p4FCFA38C.dip0.t-ipconnect.de) has joined #tryton16:02
-!- gremly(~gremly@201.244.193.238) has joined #tryton16:03
-!- zodman(~Miranda@67.223.236.231) has joined #tryton16:58
-!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton16:59
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton17:24
-!- pepeu(~manuel@201.155.193.192) has joined #tryton17:25
phellerwow, looks like about half of the modules have been started and/or finished conversion for the Transaction system17:56
-!- enlightx(~enlightx@dynamic-adsl-94-34-171-243.clienti.tiscali.it) has joined #tryton18:15
-!- zodman(~Miranda@67.223.236.231) has joined #tryton18:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:30
cedkpheller: hi18:46
cedkpheller: when you upload correction of patch to codereview don't forget to set --send_mail otherwise reviewers don't receive notification18:47
phelleroh, oops.18:47
phellerI will do it in the future18:48
cedkpheller: no problem, it is a common mistake18:48
phellersorry I also seem to be learning pep-008 along with these fixes....18:49
phellerso do you pretty much want all calls to orm methods that have vals to be multi-line?18:49
cedkpheller: most of it18:50
phellerok18:50
cedkpheller: at least those who was like that18:50
cedkpheller: it is not a PEP 8 but a Tryton convention for easily review patch later18:51
phellerah, ok18:51
phelleralso, for future reference, do you like close braces to end at the same tab level as a line continuation indent, or at the same level as the original statement?18:52
pheller        self.write(ids, {18:52
pheller            'value': value,18:52
pheller            })18:52
phelleror18:52
pheller        self.write(ids, {18:52
pheller            'value': value,18:52
pheller            })18:52
phellererr, that didn't paste write, but anyways, the }) aligned with s in self...18:53
cedkpheller: I don't like the indent of PEP 818:55
cedkpheller: I prefer to have 8 spaces then align to the opening brace18:55
phellerI think I will learn more about the framework from this process than any other way.18:59
-!- pepeu(~manuel@201.155.193.192) has joined #tryton20:57
-!- paepke(~paepke@p4FEB1780.dip0.t-ipconnect.de) has left #tryton21:15
-!- enlightx(~enlightx@dynamic-adsl-94-34-171-243.clienti.tiscali.it) has joined #tryton21:31
-!- zodman(~Miranda@67.223.236.231) has joined #tryton22:35
-!- juanfer(~juanfer@201.244.237.64) has joined #tryton23:11

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