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

chat.freenode.net #tryton log beginning Fri Jul 30 00:00:02 CEST 2010
2010-07-30 01:02 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-07-30 04:41 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-07-30 04:59 -!- zodman(~zodman@189.236.173.207) has joined #tryton
2010-07-30 06:29 -!- mr_amit(~amit@117.254.20.94) has joined #tryton
2010-07-30 07:49 -!- Timitos(~timitos@88.217.184.172) has joined #tryton
2010-07-30 08:00 <Timitos> cedk: 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.
2010-07-30 08:01 <Timitos> and should i already post them on the bug tracker?
2010-07-30 08:07 <cedk> Timitos: wait
2010-07-30 08:07 <cedk> Timitos: we need to make some global test before
2010-07-30 08:08 <Timitos> cedk: ok. no problem. just wanted to know about the next steps
2010-07-30 08:21 -!- mr_amit(~amit@117.254.17.166) has joined #tryton
2010-07-30 08:33 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-07-30 09:13 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-30 09:17 <sejo> ach forgot the bug about adding a logo
2010-07-30 09:17 <sejo> ACTION slaps own head
2010-07-30 09:19 <sejo> btw cedk i remembered your nick but forgot from where, now I remember... you are a gentoo dev!
2010-07-30 09:19 -!- eLBati(~elbati@94.160.10.182) has joined #tryton
2010-07-30 09:21 <sejo> Issue1638
2010-07-30 09:30 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-07-30 10:31 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-07-30 10:37 -!- tekknokrat(~lila@188.106.99.200) has joined #tryton
2010-07-30 11:06 <sejo> I made an error in an account move
2010-07-30 11:07 <sejo> how can I edit the account info?
2010-07-30 11:07 <sejo> (should be booked on another account)
2010-07-30 11:12 <bechamel> sejo: I'm have limited knowledge in accouting, but I think you have to create a new move that will balance it
2010-07-30 11:14 <sejo> ok
2010-07-30 11:14 <sejo> so I can't just fix it in the db?
2010-07-30 11:18 -!- paepke(~paepke@p4FEB1780.dip0.t-ipconnect.de) has joined #tryton
2010-07-30 11:19 <bechamel> sejo: yes of course it's always possible
2010-07-30 11:20 <bechamel> sejo: but you will bypass all consitency checks
2010-07-30 11:24 <sejo> bechamel: hehe that's what i did ;p
2010-07-30 11:26 <sejo> update pg_class set reltriggers=0 where relname = 'account_move_line';
2010-07-30 11:26 <sejo> update account_move_line set account=331 where account=371;
2010-07-30 11:26 <sejo> update pg_class set reltriggers = (select count(*) from pg_trigger where pg_class.oid=tgrelid and relname='account_move_line');
2010-07-30 11:26 <sejo> that did it :p
2010-07-30 11:29 <bechamel> sejo: btw there are no triggers in the db
2010-07-30 11:29 <sejo> there are constraints
2010-07-30 11:29 <sejo> those are underlying set to triggers
2010-07-30 11:30 <sejo> on account_move_line with the belgium chart you have 22 triggers
2010-07-30 11:30 <sejo> select reltriggers from pg_class where relname='account_move_line';
2010-07-30 11:31 <sejo> that will show you the number
2010-07-30 11:37 <bechamel> sejo: strange I have no reltriggers column (but there is a relhastriggers)
2010-07-30 12:32 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-07-30 14:33 -!- essich(~essich@p4FCF8A13.dip0.t-ipconnect.de) has joined #tryton
2010-07-30 14:48 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-07-30 14:57 -!- eLBati(~elbati@94.160.10.44) has joined #tryton
2010-07-30 15:25 -!- pheller(~pheller@c1fw236.constantcontact.com) has joined #tryton
2010-07-30 15:25 -!- eLBati(~elbati@94.163.76.21) has joined #tryton
2010-07-30 15:30 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-07-30 15:36 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-07-30 15:39 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-30 15:57 -!- juanfer(~juanfer@201.244.237.64) has joined #tryton
2010-07-30 16:02 -!- essich_(~essich@p4FCFA38C.dip0.t-ipconnect.de) has joined #tryton
2010-07-30 16:03 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-07-30 16:58 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-30 16:59 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-07-30 17:24 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-07-30 17:25 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-07-30 17:56 <pheller> wow, looks like about half of the modules have been started and/or finished conversion for the Transaction system
2010-07-30 18:15 -!- enlightx(~enlightx@dynamic-adsl-94-34-171-243.clienti.tiscali.it) has joined #tryton
2010-07-30 18:23 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-30 18:30 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-30 18:46 <cedk> pheller: hi
2010-07-30 18:47 <cedk> pheller: when you upload correction of patch to codereview don't forget to set --send_mail otherwise reviewers don't receive notification
2010-07-30 18:47 <pheller> oh, oops.
2010-07-30 18:48 <pheller> I will do it in the future
2010-07-30 18:48 <cedk> pheller: no problem, it is a common mistake
2010-07-30 18:49 <pheller> sorry I also seem to be learning pep-008 along with these fixes....
2010-07-30 18:49 <pheller> so do you pretty much want all calls to orm methods that have vals to be multi-line?
2010-07-30 18:50 <cedk> pheller: most of it
2010-07-30 18:50 <pheller> ok
2010-07-30 18:50 <cedk> pheller: at least those who was like that
2010-07-30 18:51 <cedk> pheller: it is not a PEP 8 but a Tryton convention for easily review patch later
2010-07-30 18:51 <pheller> ah, ok
2010-07-30 18:52 <pheller> also, 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?
2010-07-30 18:52 <pheller> self.write(ids, {
2010-07-30 18:52 <pheller> 'value': value,
2010-07-30 18:52 <pheller> })
2010-07-30 18:52 <pheller> or
2010-07-30 18:52 <pheller> self.write(ids, {
2010-07-30 18:52 <pheller> 'value': value,
2010-07-30 18:52 <pheller> })
2010-07-30 18:53 <pheller> err, that didn't paste write, but anyways, the }) aligned with s in self...
2010-07-30 18:55 <cedk> pheller: I don't like the indent of PEP 8
2010-07-30 18:55 <cedk> pheller: I prefer to have 8 spaces then align to the opening brace
2010-07-30 18:59 <pheller> I think I will learn more about the framework from this process than any other way.
2010-07-30 20:57 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-07-30 21:15 -!- paepke(~paepke@p4FEB1780.dip0.t-ipconnect.de) has left #tryton
2010-07-30 21:31 -!- enlightx(~enlightx@dynamic-adsl-94-34-171-243.clienti.tiscali.it) has joined #tryton
2010-07-30 22:35 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-30 23:11 -!- juanfer(~juanfer@201.244.237.64) has joined #tryton

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