IRC logs of #tryton for Wednesday, 2011-06-08

chat.freenode.net #tryton log beginning Wed Jun 8 00:00:02 CEST 2011
2011-06-08 00:00 <sharoon> cedk: is that right ?
2011-06-08 00:00 <ciupicri> New Purchase -> Purchase Line -> Product Why can't I see the product (type) that I have defined for the inventory?
2011-06-08 00:01 <cedk> sharoon: yes
2011-06-08 00:01 <cedk> ciupicri: did you set the product salable
2011-06-08 00:02 <ciupicri> cedk, I don't know, let me check
2011-06-08 00:02 <ciupicri> nope, thanks
2011-06-08 00:03 <cedk> sharoon: and also define an API to feed this new widget with the field definitions
2011-06-08 00:04 <ciupicri> to what accounts should I add the VAT tax? invoice account=main tax and credit note account=main tax?
2011-06-08 00:07 <cedk> ciupicri: why not
2011-06-08 00:07 <sharoon> cedk: thinking about this what should eb the widget type? should it be a single widget or a wrapper which uses multiple widgets ?
2011-06-08 00:08 <ciupicri> cedk, I don't know. I have not zero, but negative knowledge about accounting.
2011-06-08 00:08 <ciupicri> I was also thinking that there might be some best practices for VAT
2011-06-08 00:09 <cedk> sharoon: it will be a set of widgets inside one
2011-06-08 00:09 <sharoon> cedk: ok
2011-06-08 00:09 <cedk> ciupicri: this really depends on your country
2011-06-08 00:10 <ciupicri> indeed, but given the common name, I thought there some things are common.
2011-06-08 00:12 <cedk> ciupicri: you can use any account but it seems logical to use one for taxes
2011-06-08 00:12 <ciupicri> how modular/flexible is the security of tryton? Can I let a salesman only create new sales?
2011-06-08 00:12 <ciupicri> btw does anyone used tryton to do taxes as well?
2011-06-08 00:14 <ciupicri> I mean if I know some basic accounting rules I can use tryton to compute the various fiscal reports required by the authorities?
2011-06-08 00:17 <ciupicri> does this vat related python traceback sound familiar to you http://fpaste.org/OdNr/ ?
2011-06-08 00:18 <ciupicri> never mind I don't have suds installed
2011-06-08 00:23 -!- rhubner(~rhubner@200.134.81.83) has joined #tryton
2011-06-08 00:34 <ciupicri> how can I make a purchase to arrive?
2011-06-08 00:36 <cedk> ciupicri: create an incoming shipment and fill it with the waiting lines
2011-06-08 00:37 <ciupicri> New Supplier Shipment?
2011-06-08 00:42 <cedk> ciupicri: yes
2011-06-08 00:42 <ciupicri> it worked, thank you?
2011-06-08 00:42 <ciupicri> it worked, thank you!
2011-06-08 01:04 <sharoon> cedk: ping
2011-06-08 01:05 <sharoon> i see that tryton executes an expensive query but i dont understand what its trying to do. the query is `SELECT count(1) FROM "ir_translation" WHERE type = E'model' AND res_id != 0 GROUP BY name, res_id, lang, type, src HAVING count(1) > 1` and its really expensive
2011-06-08 01:06 <ciupicri> is there a way to store the password in the client? it asks me for the password after some idle time
2011-06-08 01:07 <sharoon> ciupicri: increase the session timeout http://hg2.tryton.org/trytond/file/48f2144dd20e/etc/trytond.conf#l82
2011-06-08 01:08 <ciupicri> thanks
2011-06-08 01:08 <ciupicri> what are the purposes of Post Move Sequence and Supplier Invoice Sequence?
2011-06-08 01:08 <sharoon> ciupicri: sequences provide a gapless numbering system for records
2011-06-08 01:09 <sharoon> ciupicri: and Post Move sequence is the sequence for your account moves (each entry pair(s)) in your account book
2011-06-08 01:09 <sharoon> ciupicri: and Suplier Invoice sequence is for the supplier purchase invoice numbers
2011-06-08 01:09 <ciupicri> so they're like the keys from a database
2011-06-08 01:10 <sharoon> ciupicri: unlike keys there will be no gap (and also has timestamp based seqeunces)
2011-06-08 01:10 <sharoon> ciupicri: they also allow a prefix and suffix
2011-06-08 01:11 <ciupicri> sharoon, and the supplier invoice sequence is given by the supplier?
2011-06-08 01:11 <ciupicri> or it's something for internal use
2011-06-08 01:11 <sharoon> ciupicri: its the internal reference for hte supplier's invoice
2011-06-08 01:14 <ciupicri> and the post move is for internal use as well, right?
2011-06-08 01:14 <ciupicri> Accounting is hard, let's go shopping! :-)
2011-06-08 01:38 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-06-08 01:45 -!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton
2011-06-08 01:47 -!- effenber1(~chlu@pD9E9D4E8.dip.t-dialin.net) has joined #tryton
2011-06-08 01:57 -!- rhubner(~rhubner@200.134.81.83) has left #tryton
2011-06-08 01:59 -!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton
2011-06-08 02:55 -!- meanmicio(bec3320f@gateway/web/freenode/ip.190.195.50.15) has joined #tryton
2011-06-08 04:49 -!- Guest9215(~mohammad@203.106.205.138) has joined #tryton
2011-06-08 04:50 <Guest9215> Hi
2011-06-08 04:51 <Guest9215> Just checked hg.tryton.org Is it working properly ?
2011-06-08 05:03 <Guest9215> I think access to the HG server is not possible or it is still under construction.
2011-06-08 05:06 -!- Guest9215(~mohammad@203.106.205.138) has left #tryton
2011-06-08 05:18 -!- yangoon(~mathiasb@p549F29A3.dip.t-dialin.net) has joined #tryton
2011-06-08 05:30 -!- alimon(~alimon@187.156.103.195) has joined #tryton
2011-06-08 05:55 -!- Guest9215(~mohammad@203.106.205.138) has joined #tryton
2011-06-08 06:07 -!- Guest9215(~mohammad@203.106.205.138) has left #tryton
2011-06-08 06:48 -!- elbenfreund(~elbenfreu@g226243137.adsl.alicedsl.de) has joined #tryton
2011-06-08 07:00 -!- helmor(~helmor@46.115.21.133) has joined #tryton
2011-06-08 07:45 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-06-08 08:11 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-06-08 08:25 -!- vladimirek(~vladimire@bband-dyn79.178-41-183.t-com.sk) has joined #tryton
2011-06-08 08:54 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-06-08 09:47 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-06-08 09:49 -!- nicoe(~nicoe@62.58.29.41) has joined #tryton
2011-06-08 11:05 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-06-08 11:19 -!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton
2011-06-08 11:25 <ciupicri> sharkcz, would it be possible to add the varnumber python library to Fedora repositories along with tryton? I tested tryton last night and vatnumber was required at some point.
2011-06-08 11:25 <ciupicri> sharkcz, I'm a packager, so I can review the spec if you wish to
2011-06-08 11:26 <sharkcz> ciupicri: then it's no problem, I'll submit a package ASAP
2011-06-08 11:30 <ciupicri> sharkcz, and python-suds should probably be added to the dependencies of either tryton or vatnumber in order to avoid this error http://fpaste.org/an7M/
2011-06-08 11:31 <ciupicri> it happened to my brother when he pressed "Check Vies"
2011-06-08 11:31 <sharkcz> vatnumber imports suds IIRC, so it will be Required there
2011-06-08 11:32 <ciupicri> the funny thing is that according to http://code.google.com/p/vatnumber/issues/detail?id=8 and http://code.google.com/p/vatnumber/source/browse/INSTALL#8 it should optional
2011-06-08 11:54 <sharkcz> ciupicri: https://bugzilla.redhat.com/show_bug.cgi?id=711734
2011-06-08 11:55 <ciupicri> thank you
2011-06-08 11:55 <sharkcz> and I'll also submit the 2 new modules from 2.0
2011-06-08 11:55 <ciupicri> sharkcz, is 2.0 available for Fedora 15?
2011-06-08 11:56 <sharkcz> no, in rawhide, but I plan to update my addon repo with 2.0 for F<=15 and EL
2011-06-08 11:56 <ciupicri> I see
2011-06-08 11:57 <sharkcz> my policy is no version upgrades in Fedora and have the latest version in my repo
2011-06-08 11:58 <ciupicri> sharkcz, which I assume that comes with no strings attached
2011-06-08 11:58 <ciupicri> :-)
2011-06-08 12:27 -!- hoRn(~jan@dslb-094-223-216-094.pools.arcor-ip.net) has joined #tryton
2011-06-08 12:43 <ciupicri> sharkcz, in case you haven't checked your email, I've approved the package
2011-06-08 12:44 <sharkcz> ciupicri: thanks, my incoming mails are somewhat delayed today, perhaps the ipv6 test day ...
2011-06-08 12:44 <ciupicri> yeah :-)
2011-06-08 12:45 <ciupicri> funny thing is that I encountered an IPv6 related bug a couple of days ago https://bugzilla.redhat.com/show_bug.cgi?id=711154
2011-06-08 12:46 <ciupicri> it looks like someone really wants us to use IPv6
2011-06-08 13:46 <udono> ciupicri: hi, do you have vatnumber installed?
2011-06-08 13:47 <udono> ciupicri: because suds is required by vatnumber, not trytond
2011-06-08 13:50 <ciupicri> udono, https://bugzilla.redhat.com/show_bug.cgi?id=711734
2011-06-08 13:51 <ciupicri> udono, but on the other hand vatnumber's INSTALL file says it's optional http://code.google.com/p/vatnumber/issues/detail?id=8
2011-06-08 13:55 <udono> ciupicri: hmm, so the check for vatnumber in party module seems not enough: http://hg2.tryton.org/modules/party/file/b33aceed610c/party.py#l11
2011-06-08 13:56 <udono> ciupicri: It seems, that it is missing here in the VIES check: http://hg2.tryton.org/modules/party/file/b33aceed610c/party.py#l314
2011-06-08 14:49 -!- gasbakid(~gasbakid@41.96.18.160) has joined #tryton
2011-06-08 15:03 <ciupicri> sharkcz, where are you keeping the 2.0 repository for Fedora 15? Btw https://fedoraproject.org/wiki/User:Sharkcz does not mention Fedora 15 at all.
2011-06-08 15:03 <sharkcz> ciupicri: it will be at http://fedora.danny.cz/danny/
2011-06-08 15:04 <ciupicri> so it's not ready yet
2011-06-08 15:07 <sharkcz> yep, too much work ...
2011-06-08 15:09 <ciupicri> ok
2011-06-08 15:56 -!- ciupicri(~ciupicri@2001:470:1f14:19f4::2) has joined #tryton
2011-06-08 15:59 <hoRn> http://bellard.org/jslinux/index.html
2011-06-08 16:00 <hoRn> oops - wrong cahnnel - sorry - but cool
2011-06-08 16:02 -!- mhi(~mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton
2011-06-08 16:28 -!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton
2011-06-08 16:36 -!- vladimirek(~vladimire@bband-dyn183.178-40-248.t-com.sk) has joined #tryton
2011-06-08 16:47 -!- timewulf(~bhk@p57931609.dip.t-dialin.net) has joined #tryton
2011-06-08 16:49 <timewulf> hi all
2011-06-08 16:52 <timewulf> @cedk Hi cedk, yangoon told me to contact you here. I've got a problem to install tryton-server on gentoo, because of openoffice-interact. I've installed libreoffice, but o.-interact depends on openoffice directly
2011-06-08 16:53 <timewulf> @cedk Is there any problem to change this dependency to libreoffice or openoffice? On Debian there was a similar bug, that has been fixed this way.
2011-06-08 16:57 <cedk> timewulf: I guess it should work
2011-06-08 17:01 <timewulf> @cedk that would be great, libreoffice and openoffice each blocks the other one, so in actual state I can't install the server
2011-06-08 17:04 <cedk> timewulf: do you really need to generate pdf instead of odt?
2011-06-08 17:04 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton
2011-06-08 17:05 <cedk> timewulf: or you can try to add libreoffice here: http://hg2.tryton.org/tryton-overlay/file/eea4cffcdf51/dev-python/openoffice-interact/openoffice-interact-0.1.20080929.ebuild#l20
2011-06-08 17:06 <timewulf> @cedk not really, but when I give "emerge trytond" this pulls openoffice-interactive and this breaks
2011-06-08 17:06 -!- ciupicri(~ciupicri@81.180.234.249) has joined #tryton
2011-06-08 17:11 <cedk> timewulf: remove the use flag pdf
2011-06-08 17:11 <cedk> timewulf: by the way: ping me with cedk and not @cedk otherwise I dont get notification
2011-06-08 17:13 <timewulf> cedk outch, I looked for the flag at openoffice-interactive instead of trytond
2011-06-08 17:16 <timewulf> cedk thanks for your help in the moment. Shall I put a bug-report to remember you for the next update? I think many users will step over to libreoffice and stumble upon the same problem
2011-06-08 17:23 <cedk> timewulf: yes or better test if it works with libreoffice
2011-06-08 17:32 <hoRn> nicoe: ping
2011-06-08 17:34 <hoRn> nicoe: you are the gui-guy?
2011-06-08 17:34 <timewulf> cedk: I changed the ebuilds and the manifest: emerging works now, testing the server itself will need a bit more time
2011-06-08 17:35 <nicoe> hoRn: we all are ;)
2011-06-08 17:36 <timewulf> cedk: but I get another strange warning belonging to relatorio:
2011-06-08 17:37 <timewulf> * Messages for package dev-python/relatorio-0.5.5:
2011-06-08 17:37 <timewulf> * Package: dev-python/relatorio-0.5.5
2011-06-08 17:37 <timewulf> * Repository: tryton
2011-06-08 17:37 <timewulf> * Maintainer: cedk@gentoo.org
2011-06-08 17:37 <timewulf> * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
2011-06-08 17:37 <timewulf> * FEATURES: sandbox
2011-06-08 17:37 <timewulf> *
2011-06-08 17:37 <timewulf> * "/var/lib/layman/tryton/dev-python/relatorio/relatorio-0.5.5.ebuild":
2011-06-08 17:37 <timewulf> * Deprecation Warning: Usage of distutils.eclass in packages not supporting installation
2011-06-08 17:37 <timewulf> * for multiple Python ABIs in EAPI <=2 is deprecated and will be banned on 2011-06-01.
2011-06-08 17:37 <timewulf> * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
2011-06-08 17:37 <timewulf> *
2011-06-08 17:38 <cedk> timewulf: yes the ebuild needs to be updated
2011-06-08 17:38 <cedk> timewulf: please don't copy/paste in the chan
2011-06-08 17:38 <timewulf> cedk: sorry I just pasted the message, I see the problem
2011-06-08 17:40 <hoRn> cedk, nicoe: because today i was revisiting some stuff in the client. I have some sugestions: In the tree it should be possible to copy a line. and the bugtracker-url should be a configurable for filtering bugs of our modules before the customers submitting to tryton.org - without packing a new client.
2011-06-08 17:42 <nicoe> hoRn: There is a configuration option for the bugtracker
2011-06-08 17:42 <hoRn> nicoe: so I missed it
2011-06-08 17:42 <nicoe> look after CONFIG['roundup.url'] in common.py
2011-06-08 17:47 <hoRn> nicoe: ok - but i need to configure this in each installed client?
2011-06-08 17:47 <nicoe> yes
2011-06-08 17:48 <hoRn> nicoe: que lastima ;)
2011-06-08 17:50 <nicoe> If you're distributing the client to many users maybe you can package it with your custom config files
2011-06-08 17:52 <hoRn> nicoe: for this i have to start my win7-VM - my computer goes crazy - me too ;) - will think about this after my holidays
2011-06-08 17:58 <hoRn> nicoe: and i was checking the functionality of the date field. so I was thinking about the possibilities to have some small calculator functions at the integer and float fields
2011-06-08 18:01 <hoRn> nicoe: because sometimes you will get incoming invoices with a brutto and its nice to type a litle calculation whats the netto of the amount
2011-06-08 18:02 <nicoe> This might be a good idea
2011-06-08 18:03 <cedk> hoRn: you can have a look at the date widget wich allow operation on it
2011-06-08 18:03 -!- elbenfreund(~elbenfreu@p54B95EE3.dip.t-dialin.net) has joined #tryton
2011-06-08 18:04 <hoRn> cedk: yes - i had a look - so after my hard-earned holydays I will contibute something
2011-06-08 18:05 <hoRn> cedk: but it will be written in eclipse ;)
2011-06-08 18:07 <cedk> hoRn: as soon as we don't see that it is eclipse no problem :-)
2011-06-08 18:08 <nicoe> hoRn: If you want to suffer while writing python you can ;)
2011-06-08 18:09 <cedk> hoRn: and if we don't see any .proj
2011-06-08 18:10 -!- sharoon(~sharoon@2001:470:5:630:226:8ff:feff:3d6b) has joined #tryton
2011-06-08 18:11 <hoRn> cedk: seems impossible ;)
2011-06-08 18:12 <sharoon> cedk: there seems to be a limitation on timestamp based sequences because the timestamp rounding is Integer http://hg2.tryton.org/trytond/file/b06ae2c05384/trytond/ir/sequence.py#l52
2011-06-08 18:12 <sharoon> cedk: which means the highest resolution would be 1 sequence per second
2011-06-08 18:14 <sharoon> cedk: dont you think its an issue ?
2011-06-08 18:15 -!- helmor(~helmor@46.115.2.245) has joined #tryton
2011-06-08 18:15 <cedk> sharoon: no because you can increase the timestamp_rounding
2011-06-08 18:18 <sharoon> cedk: http://paste.pocoo.org/show/402874/
2011-06-08 18:24 <cedk> sharoon: and?
2011-06-08 18:24 <sharoon> cedk: which is the same as http://hg2.tryton.org/trytond/file/b06ae2c05384/trytond/ir/sequence.py#l147
2011-06-08 18:25 <cedk> sharoon: so if you put a lower value in rounding you get better precision
2011-06-08 18:25 <sharoon> cedk: yes, but you cant because the lowest value possible in the field is 1
2011-06-08 18:25 -!- effenber1(~chlu@pD9E9D4E8.dip.t-dialin.net) has left #tryton
2011-06-08 18:28 <sharoon> cedk: agree ?
2011-06-08 18:28 <cedk> sharoon: no
2011-06-08 18:29 <cedk> sharoon: you see in your example that you have more numbers
2011-06-08 18:30 <sharoon> cedk: yes, that is because i have numbers < 1 which cannot be entered in an integer field
2011-06-08 18:31 <sharoon> ACTION I hope i am not missing something basic
2011-06-08 18:38 <cedk> sharoon: ok I did not see that rounding was a Integer
2011-06-08 18:38 <sharoon> cedk: finally, i thought i was doing something wrong here :D So a patch to make it float and migration from 2.0 in the patch would be sufficient ?
2011-06-08 18:38 -!- timewulf(~bhk@p57931609.dip.t-dialin.net) has left #tryton
2011-06-08 18:38 <cedk> sharoon: rounding must be changed into float
2011-06-08 18:39 <cedk> sharoon: yes and I think the migration is automatic for this
2011-06-08 18:39 <sharoon> cedk: cool since its int to float
2011-06-08 18:39 <sharoon> cedk: will report an issue and propose the patch
2011-06-08 18:40 <cedk> sharoon: ok
2011-06-08 19:03 <sharoon> cedk: so what will be the new style commit message ?
2011-06-08 19:03 <sharoon> cedk: should i push this for review ?
2011-06-08 19:05 <cedk> sharoon: I guess it is only one line
2011-06-08 19:06 <cedk> sharoon: so you can put the patch directly
2011-06-08 19:06 <sharoon> cedk: thanks
2011-06-08 19:09 <cedk> sharoon: sometimes when it is obvious it is no need to review
2011-06-08 19:10 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-06-08 19:13 <sharoon> cedk: pushed my 1 line patch
2011-06-08 19:13 <sharoon> cedk: i will be sending a mail to the mailing list today about magento integration - just announcing the work and requesting contribution
2011-06-08 19:15 <cedk> sharoon: ok
2011-06-08 19:29 -!- enlightx(~enlightx@dynamic-adsl-94-34-167-1.clienti.tiscali.it) has joined #tryton
2011-06-08 19:46 -!- trifon(~trifon@84.40.66.56) has joined #tryton
2011-06-08 19:59 -!- heffer(~felix@fedora/heffer) has joined #tryton
2011-06-08 21:50 -!- alimon(~alimon@201.158.247.118) has joined #tryton
2011-06-08 21:57 -!- yangoon_rm(~mathiasb@p549F29A3.dip.t-dialin.net) has joined #tryton
2011-06-08 22:05 -!- vladimirek(~vladimire@bband-dyn79.178-41-183.t-com.sk) has joined #tryton
2011-06-08 22:18 <sharkcz> ciupicri: https://bugzilla.redhat.com/show_bug.cgi?id=711872 and https://bugzilla.redhat.com/show_bug.cgi?id=711873 are the new 2.0 modules missing in Fedora yet, a review will be highly appreciated if you can find a while
2011-06-08 22:19 <ciupicri> sharkcz, ok, I'll try to have a look, but I can not make any guarantees because I'll have to struggle with some invoices stored as Excel files
2011-06-08 22:19 <ciupicri> that's actually one of the big reasons I'm trying tryton
2011-06-08 22:20 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-06-08 22:20 <ciupicri> but it's urgent to get a summary of those invoices to see what was sold with papers and what without papers, and "sell" the difference Friday on a festival
2011-06-08 22:21 <sharkcz> ciupicri: ok, no need to hurry with the reviews
2011-06-08 22:21 <ciupicri> I also don't have a rawhide machine, so the testing part will have to be done by someone else
2011-06-08 22:37 -!- meanmicio(be88af64@gateway/web/freenode/ip.190.136.175.100) has joined #tryton
2011-06-08 22:38 <meanmicio> hi all. Anyone using the calendar module in tryton 2.0 ?
2011-06-08 22:50 -!- ikks_(~ikks@186.83.199.77) has joined #tryton
2011-06-08 23:37 -!- yangoon(~mathiasb@p549F29A3.dip.t-dialin.net) has left #tryton
2011-06-08 23:37 -!- yangoon(~mathiasb@p549F29A3.dip.t-dialin.net) has joined #tryton
2011-06-08 23:39 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton

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