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

chat.freenode.net #tryton log beginning Thu Jan 20 00:00:01 CET 2011
2011-01-20 00:42 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-01-20 03:12 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-01-20 05:10 -!- gremly(~gremly@201.244.170.100) has joined #tryton
2011-01-20 05:18 -!- yangoon(~mathiasb@p549F6DFC.dip.t-dialin.net) has joined #tryton
2011-01-20 07:04 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2011-01-20 07:30 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-01-20 07:45 -!- gavinf(~gavinf@196-215-79-176.dynamic.isadsl.co.za) has left #tryton
2011-01-20 07:46 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-01-20 07:58 -!- predatell(~skuraev@85.198.132.141) has joined #tryton
2011-01-20 08:18 -!- Vladimirek(~vladimir@adsl-dyn115.78-98-18.t-com.sk) has joined #tryton
2011-01-20 08:31 -!- cies(~cies@122.170.2.185) has joined #tryton
2011-01-20 08:35 -!- GasbaKid(~GasbaKid@41.96.79.95) has joined #tryton
2011-01-20 08:49 -!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton
2011-01-20 08:49 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-01-20 08:56 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-01-20 09:58 -!- paepke(~paepke@p4FEB109E.dip0.t-ipconnect.de) has joined #tryton
2011-01-20 10:01 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2011-01-20 10:02 -!- nicoe(~nicoe@193.200.42.57) has joined #tryton
2011-01-20 10:02 -!- nicoe(~nicoe@193.200.42.57) has left #tryton
2011-01-20 10:11 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton
2011-01-20 10:12 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2011-01-20 10:14 -!- nicoe_(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton
2011-01-20 10:23 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has left #tryton
2011-01-20 10:24 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton
2011-01-20 11:49 -!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton
2011-01-20 12:49 -!- ikks(~ikks@190.158.120.51) has joined #tryton
2011-01-20 12:57 -!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton
2011-01-20 13:01 -!- Vladimirek(~vladimir@adsl-dyn115.78-98-18.t-com.sk) has joined #tryton
2011-01-20 13:30 <Lo-lan-do> Can Tryton be configured so that values are shown without a decimal when they have no fractional parts?
2011-01-20 13:31 <udono> Lo-lan-do: you mean integers?
2011-01-20 13:32 <Lo-lan-do> Yes. I'd like my invoices (and sales order and so on) to display "2 days" rather than "2.0 days", while keeping the possibility of having fractional numbers from time to time.
2011-01-20 13:33 <Lo-lan-do> Not sure I'm making sense…
2011-01-20 13:33 <bechamel> Lo-lan-do: you talk about the report ?
2011-01-20 13:34 <Lo-lan-do> Yes
2011-01-20 13:35 <bechamel> Lo-lan-do: you can try something like : int(x) == x and int(x) or x
2011-01-20 13:35 <bechamel> in the report code
2011-01-20 13:43 -!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton
2011-01-20 13:45 -!- elbenfreund(~elbenfreu@p54B9681D.dip.t-dialin.net) has joined #tryton
2011-01-20 13:47 -!- vincentvdl(~Gebruiker@62.58.29.41) has joined #tryton
2011-01-20 13:54 <vincentvdl> Hello! How to get current date with Pyson? I need it to find out if a date field is overdue
2011-01-20 14:07 -!- GasbaKid(~GasbaKid@41.96.88.181) has joined #tryton
2011-01-20 14:08 -!- hoRn(~chatzilla@dslb-094-223-191-011.pools.arcor-ip.net) has joined #tryton
2011-01-20 14:10 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2011-01-20 14:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-01-20 14:18 -!- nicoe(~nicoe@88.197.255.122) has joined #tryton
2011-01-20 14:26 <bechamel> vincentvdl: "d = pyson.Date().pyson(); pyson.Date.eval(d, {})" returns current date (see eval method on date), so "Date()" shoud do the trick
2011-01-20 14:27 -!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton
2011-01-20 14:40 <vincentvdl> bechamel: Thanks, I´ll try it
2011-01-20 14:40 -!- vincentvdl(~Gebruiker@62.58.29.41) has left #tryton
2011-01-20 14:50 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton
2011-01-20 14:50 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-01-20 15:29 <hoRn> Hi. Im totally confused about analytic_account and analytic_invoice. check_root in account.py (analytic_account) alway get a reference to a entry, which is rollbacked after. this happens, when i try to write a credit for an invoice.
2011-01-20 15:31 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-01-20 15:33 <cedk> hoRn: not sure to understand
2011-01-20 15:36 -!- nicoe(~nicoe@79.174.218.168) has joined #tryton
2011-01-20 15:37 <hoRn> cedk: i have a invoice an wanna refund it. I always get back the constraint check_root from analytic_account.account.selection. i printed some lines in check_root: selection.accounts is always empty.... hard to detect, which modules are involved in this process
2011-01-20 15:42 <hoRn> cedk: account.invoice.line all are having a relation to a analytic_account.account. some days ago i had a error_message which says something 'analytic_account_1 not %' %noidea
2011-01-20 15:43 <cedk> hoRn: I think analytic_invoice module forget to pass the analytic_accounts when crediting
2011-01-20 15:44 <cedk> hoRn: it misses an override of the method _credit to update the values
2011-01-20 15:44 <hoRn> cedk: i will take a look
2011-01-20 15:44 <cedk> hoRn: after that, we need to think what will be filled by default for analytic account
2011-01-20 15:45 <hoRn> cedk: back in minutes - I'll check out this
2011-01-20 15:46 <cedk> hoRn: by the way, it will be great to get a scenario for this :-)
2011-01-20 15:46 <hoRn> cedk: how i produced the error?
2011-01-20 15:47 <cedk> hoRn: I mean just a scenario with proteus
2011-01-20 15:48 <cedk> hoRn: like that it will be part of the unittest
2011-01-20 15:49 <hoRn> cedk: seems to advanced for me ;)
2011-01-20 15:50 <hoRn> cedk: I'm a constant beginner in everything I do
2011-01-20 15:51 <cedk> hoRn: it is not very difficult :-)
2011-01-20 15:53 <hoRn> cedk: if you know how it's works - it's simple
2011-01-20 16:01 <cedk> hoRn: There is example in account_stock* modules
2011-01-20 16:01 <cedk> hoRn: but feel free to do it or not
2011-01-20 16:04 <hoRn> cedk: Now I'm part of tryton - my first contribution will come soon
2011-01-20 16:12 -!- trifon(~trifon@ool-18bf596d.dyn.optonline.net) has joined #tryton
2011-01-20 16:40 -!- gremly(~gremly@200.119.62.70) has joined #tryton
2011-01-20 16:52 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-01-20 16:58 -!- nicoe(~nicoe@88.197.255.122) has joined #tryton
2011-01-20 16:59 -!- dim(~Dimitri@89-158-241-48.rev.dartybox.com) has joined #tryton
2011-01-20 17:04 <hoRn> cedk: http://pastie.org/1481165
2011-01-20 17:04 <hoRn> cedk: no idea where to contribute this short thing - cannot make a div because my file is broken
2011-01-20 17:04 <cedk> hoRn: better to use codereview
2011-01-20 17:04 <hoRn> diff
2011-01-20 17:05 <cedk> hoRn: and create an issue on roundup
2011-01-20 17:05 <cedk> hoRn: you must duplicate the analytic_accounts
2011-01-20 17:05 <hoRn> cedk: ok - i will try
2011-01-20 17:05 <hoRn> cedk: all for 6 line of code ;)
2011-01-20 17:05 <cedk> hoRn: http://code.google.com/p/tryton/wiki/HowtoContribute
2011-01-20 17:07 <hoRn> cedk: puh
2011-01-20 17:28 -!- GasbaKid(~GasbaKid@41.96.88.181) has joined #tryton
2011-01-20 17:32 <hoRn> my patch file is not recogniced by google ;(
2011-01-20 17:33 <cedk> hoRn: ?
2011-01-20 17:35 <hoRn> cedk: we are working in subversion - never using diff-. i generated a diff from comandline, but it's not good enough
2011-01-20 17:35 <hoRn> cedk: will take a look
2011-01-20 17:39 <hoRn> cedk: my first issue is done - horrible
2011-01-20 17:41 <hoRn> 0,05 h for writing <> 1.30 for contributing it
2011-01-20 17:44 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-01-20 17:44 <cedk> hoRn: best way is to use upload.py from codereview
2011-01-20 17:44 <hoRn> cedk: ok
2011-01-20 17:45 <cedk> hoRn: but from a mercurial clone
2011-01-20 17:46 -!- cedk_(~ced@ced.homedns.org) has joined #tryton
2011-01-20 17:50 -!- FWiesing_(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2011-01-20 17:54 -!- paepke(~paepke@p4FEB109E.dip0.t-ipconnect.de) has left #tryton
2011-01-20 17:55 <hoRn> cedk: no reviewer added - so the contribution is only for me ;)
2011-01-20 18:08 <Lo-lan-do> What's the recommended way to input "account moves", such as a move from "cheques pending" to "bank account"?
2011-01-20 18:09 <Lo-lan-do> I managed to do it by Financial Management > Entries > Account Moves > New Account Move, then inputting the two lines by hand, but I guess there must be a simpler way, right?
2011-01-20 18:10 <Lo-lan-do> Since the move from "pending invoices" to "cheques" was created automatically when I marked the invoice as paid.
2011-01-20 18:11 -!- FWiesing_(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has left #tryton
2011-01-20 18:12 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2011-01-20 18:18 -!- nicoe(~nicoe@210.162-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-01-20 18:31 <heffer> Tryton will become a Feature of Fedora 15: https://fedoraproject.org/wiki/Features/Tryton
2011-01-20 18:31 -!- nicoe(~nicoe@100.173-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-01-20 18:54 -!- heg(~heg@dyn.144-85-145-213.dsl.vtx.ch) has joined #tryton
2011-01-20 19:07 <udono> heffer: Great news!
2011-01-20 19:07 <heffer> that should provide a nice out of the box experience for Fedora users
2011-01-20 19:07 <heffer> and at some point eventually RHEL/CentOS users
2011-01-20 19:23 -!- GasbaKid(~GasbaKid@41.96.88.181) has joined #tryton
2011-01-20 19:42 -!- elbenfreund(~elbenfreu@p54B9681D.dip.t-dialin.net) has joined #tryton
2011-01-20 19:50 -!- chrue(~chrue@host-091-097-082-033.ewe-ip-backbone.de) has joined #tryton
2011-01-20 19:53 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-01-20 20:17 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-01-20 20:24 -!- nicoe_(~nicoe@100.173-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-01-20 20:40 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-01-20 21:31 -!- elbenfreund(~elbenfreu@p54B962CC.dip.t-dialin.net) has joined #tryton
2011-01-20 21:45 <sharkcz> cedk: hi, is there a reason why trytond_account_de_skr03-1.8.0/account_de.xml and trytond_sale_opportunity-1.8.0/opportunity.xml don't contain the standard tryton copyright header? I did an analysis and it's missing in only those 2 files (*.py and *.xml were checked in all 1.8 modules)
2011-01-20 21:47 <sharkcz> in the released 1.8.0 tar.gz archives to be precise
2011-01-20 21:55 <cedk> sharkcz: I guess it is a mistake
2011-01-20 21:56 -!- FWiesing_(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2011-01-20 21:56 <cedk> sharkcz: but it is two repositories started by "non-b2ck" guys, that explains perhaps the forget
2011-01-20 21:58 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2011-01-20 22:01 <sharkcz> cedk: ok, I did the analysis during the submission of all the modules to Fedora (as part of https://fedoraproject.org/wiki/Features/Tryton), there are subtle differences in the 2 lines header in few other files like one space vs. two space, but overall the modules (and all tryton) belong to application where licensing is completely clear
2011-01-20 22:03 <cedk> sharkcz: ok, could you submit issue on roundup for all diffs
2011-01-20 22:03 <cedk> sharkcz: the right format is with 2 spaces after .
2011-01-20 22:04 <sharkcz> cedk: yes, probably during the next week, patches will be included
2011-01-20 22:05 <cedk> sharkcz: great
2011-01-20 22:06 <cedk> sharkcz: follow the wiki to construct the patches
2011-01-20 22:32 -!- paepke(~paepke@p4FEB7D67.dip.t-dialin.net) has joined #tryton

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