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

chat.freenode.net #tryton log beginning Thu Jan 20 00:00:01 CET 2011
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton00:42
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton03:12
-!- gremly(~gremly@201.244.170.100) has joined #tryton05:10
-!- yangoon(~mathiasb@p549F6DFC.dip.t-dialin.net) has joined #tryton05:18
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton07:04
-!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton07:30
-!- gavinf(~gavinf@196-215-79-176.dynamic.isadsl.co.za) has left #tryton07:45
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton07:46
-!- predatell(~skuraev@85.198.132.141) has joined #tryton07:58
-!- Vladimirek(~vladimir@adsl-dyn115.78-98-18.t-com.sk) has joined #tryton08:18
-!- cies(~cies@122.170.2.185) has joined #tryton08:31
-!- GasbaKid(~GasbaKid@41.96.79.95) has joined #tryton08:35
-!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton08:49
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton08:49
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton08:56
-!- paepke(~paepke@p4FEB109E.dip0.t-ipconnect.de) has joined #tryton09:58
-!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton10:01
-!- nicoe(~nicoe@193.200.42.57) has joined #tryton10:02
-!- nicoe(~nicoe@193.200.42.57) has left #tryton10:02
-!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton10:11
-!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton10:12
-!- nicoe_(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton10:14
-!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has left #tryton10:23
-!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton10:24
-!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton11:49
-!- ikks(~ikks@190.158.120.51) has joined #tryton12:49
-!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton12:57
-!- Vladimirek(~vladimir@adsl-dyn115.78-98-18.t-com.sk) has joined #tryton13:01
Lo-lan-doCan Tryton be configured so that values are shown without a decimal when they have no fractional parts?13:30
udonoLo-lan-do: you mean integers?13:31
Lo-lan-doYes.  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.13:32
Lo-lan-doNot sure I'm making sense…13:33
bechamelLo-lan-do: you talk about the report ?13:33
Lo-lan-doYes13:34
bechamelLo-lan-do: you can try something like : int(x) == x and int(x) or x13:35
bechamelin the report code13:35
-!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton13:43
-!- elbenfreund(~elbenfreu@p54B9681D.dip.t-dialin.net) has joined #tryton13:45
-!- vincentvdl(~Gebruiker@62.58.29.41) has joined #tryton13:47
vincentvdlHello! How to get current date with Pyson? I need it to find out if a date field is overdue13:54
-!- GasbaKid(~GasbaKid@41.96.88.181) has joined #tryton14:07
-!- hoRn(~chatzilla@dslb-094-223-191-011.pools.arcor-ip.net) has joined #tryton14:08
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton14:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:17
-!- nicoe(~nicoe@88.197.255.122) has joined #tryton14:18
bechamelvincentvdl: "d = pyson.Date().pyson(); pyson.Date.eval(d, {})" returns current date (see eval method on date), so "Date()" shoud do the trick14:26
-!- sharkcz(~sharkcz@2001:15c0:6747:160:250:43ff:fe3c:3b5d) has joined #tryton14:27
vincentvdlbechamel: Thanks, I´ll try it14:40
-!- vincentvdl(~Gebruiker@62.58.29.41) has left #tryton14:40
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton14:50
-!- pepeu(~manuel@201.155.193.192) has joined #tryton14:50
hoRnHi. 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.15:29
-!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton15:31
cedkhoRn: not sure to understand15:33
-!- nicoe(~nicoe@79.174.218.168) has joined #tryton15:36
hoRncedk: 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 process15:37
hoRncedk: 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 %' %noidea15:42
cedkhoRn: I think analytic_invoice module forget to pass the analytic_accounts when crediting15:43
cedkhoRn: it misses an override of the method _credit to update the values15:44
hoRncedk: i will take a look15:44
cedkhoRn: after that, we need to think what will be filled by default for analytic account15:44
hoRncedk: back in minutes - I'll check out this15:45
cedkhoRn: by the way, it will be great to get a scenario for this :-)15:46
hoRncedk: how i produced the error?15:46
cedkhoRn: I mean just a scenario with proteus15:47
cedkhoRn: like that it will be part of the unittest15:48
hoRncedk: seems to advanced for me ;)15:49
hoRncedk: I'm a constant beginner in everything I do15:50
cedkhoRn: it is not very difficult :-)15:51
hoRncedk: if you know how it's works - it's simple15:53
cedkhoRn: There is example in account_stock* modules16:01
cedkhoRn: but feel free to do it or not16:01
hoRncedk:  Now I'm part of tryton - my first contribution will come soon16:04
-!- trifon(~trifon@ool-18bf596d.dyn.optonline.net) has joined #tryton16:12
-!- gremly(~gremly@200.119.62.70) has joined #tryton16:40
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton16:52
-!- nicoe(~nicoe@88.197.255.122) has joined #tryton16:58
-!- dim(~Dimitri@89-158-241-48.rev.dartybox.com) has joined #tryton16:59
hoRncedk: http://pastie.org/148116517:04
hoRncedk: no idea where to contribute this short thing - cannot make a div because my file is broken17:04
cedkhoRn: better to use codereview17:04
hoRndiff17:04
cedkhoRn: and create an issue on roundup17:05
cedkhoRn: you must duplicate the analytic_accounts17:05
hoRncedk: ok - i will try17:05
hoRncedk: all for 6 line of code ;)17:05
cedkhoRn: http://code.google.com/p/tryton/wiki/HowtoContribute17:05
hoRncedk: puh17:07
-!- GasbaKid(~GasbaKid@41.96.88.181) has joined #tryton17:28
hoRnmy patch file is not recogniced by google ;(17:32
cedkhoRn: ?17:33
hoRncedk: we are working in subversion - never using diff-. i generated a diff from comandline, but it's not good enough17:35
hoRncedk: will take a look17:35
hoRncedk: my first issue is done - horrible17:39
hoRn0,05 h for writing  <> 1.30 for contributing it17:41
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton17:44
cedkhoRn: best way is to use upload.py from codereview17:44
hoRncedk: ok17:44
cedkhoRn: but from a mercurial clone17:45
-!- cedk_(~ced@ced.homedns.org) has joined #tryton17:46
-!- FWiesing_(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton17:50
-!- paepke(~paepke@p4FEB109E.dip0.t-ipconnect.de) has left #tryton17:54
hoRncedk: no reviewer added - so the contribution is only for me ;)17:55
Lo-lan-doWhat's the recommended way to input "account moves", such as a move from "cheques pending" to "bank account"?18:08
Lo-lan-doI 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?18:09
Lo-lan-doSince the move from "pending invoices" to "cheques" was created automatically when I marked the invoice as paid.18:10
-!- FWiesing_(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has left #tryton18:11
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton18:12
-!- nicoe(~nicoe@210.162-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton18:18
hefferTryton will become a Feature of Fedora 15: https://fedoraproject.org/wiki/Features/Tryton18:31
-!- nicoe(~nicoe@100.173-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton18:31
-!- heg(~heg@dyn.144-85-145-213.dsl.vtx.ch) has joined #tryton18:54
udonoheffer: Great news!19:07
hefferthat should provide a nice out of the box experience for Fedora users19:07
hefferand at some point eventually RHEL/CentOS users19:07
-!- GasbaKid(~GasbaKid@41.96.88.181) has joined #tryton19:23
-!- elbenfreund(~elbenfreu@p54B9681D.dip.t-dialin.net) has joined #tryton19:42
-!- chrue(~chrue@host-091-097-082-033.ewe-ip-backbone.de) has joined #tryton19:50
-!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton19:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:17
-!- nicoe_(~nicoe@100.173-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton20:24
-!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton20:40
-!- elbenfreund(~elbenfreu@p54B962CC.dip.t-dialin.net) has joined #tryton21:31
sharkczcedk: 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)21:45
sharkczin the released 1.8.0 tar.gz archives to be precise21:47
cedksharkcz: I guess it is a mistake21:55
-!- FWiesing_(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton21:56
cedksharkcz: but it is two repositories started by "non-b2ck" guys, that explains perhaps the forget21:56
-!- lem0na(~lem0na@95.87.233.210) has joined #tryton21:58
sharkczcedk: 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 clear22:01
cedksharkcz: ok, could you submit issue on roundup for all diffs22:03
cedksharkcz: the right format is with 2 spaces after .22:03
sharkczcedk: yes, probably during the next week, patches will be included22:04
cedksharkcz: great22:05
cedksharkcz: follow the wiki to construct the patches22:06
-!- paepke(~paepke@p4FEB7D67.dip.t-dialin.net) has joined #tryton22:32

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