IRC logs of #tryton for Saturday, 2012-07-21

chat.freenode.net #tryton log beginning Sat Jul 21 00:00:01 CEST 2012
2012-07-21 11:15 <grek324> Hello, I am searching for a module to make sale statistics. Most selled Items per month for example. Do someone have such an module and can give some code or make offer.
2012-07-21 13:55 <sharoonthomas> cedk: is there any kind of decision/recommendation on package uploads to pypi
2012-07-21 14:21 <cedk> sharoonthomas: what do you mean?
2012-07-21 14:21 <sharoonthomas> cedk: you were talking about removing the 'trytond_' prefix from package names
2012-07-21 14:23 <cedk> sharoonthomas: not for Tryton modules
2012-07-21 14:23 <sharoonthomas> cedk: yes, for the custom modules
2012-07-21 14:24 <cedk> sharoonthomas: it looks like we did not yet come to an agrement
2012-07-21 14:24 <sharoonthomas> cedk: we have a handful of modules on pypi, and we'd like to rename/change them accordingly
2012-07-21 14:24 <cedk> sharoonthomas: first, I find that for nereid, you could just prefix with nereid_
2012-07-21 14:25 <sharoonthomas> cedk: yes
2012-07-21 14:25 <cedk> sharoonthomas: after that for others, I don't know, it depends on each modules and what you want for it
2012-07-21 14:25 <cedk> sharoonthomas: you can prefix with your company name or your name etc.
2012-07-21 14:26 <cedk> sharoonthomas: the main idea is that it doesn't look too close to Tryton standard naming
2012-07-21 14:26 <sharoonthomas> cedk: its a good alternative but reminds me of javaish com.org.something.somethingelse.
2012-07-21 14:27 <cedk> sharoonthomas: yes but it is just about the name of the package
2012-07-21 14:28 <sharoonthomas> cedk: do you sign tryton official packages ? as in upload.py --sign
2012-07-21 14:28 <cedk> sharoonthomas: no
2012-07-21 14:28 <sharoonthomas> cedk: its ueless as long as pip doesn't check it
2012-07-21 14:29 <cedk> sharoonthomas: I did not look at it
2012-07-21 14:29 <cedk> sharoonthomas: moreover, it is useless for Tryton as far as we don't have a clear process for it
2012-07-21 14:30 <sharoonthomas> cedk: you are a gentoo dev right ? how does gentoo handle this ?
2012-07-21 14:31 <cedk> sharoonthomas: normally, we should sign with our gpg key but I did not yet do it
2012-07-21 14:31 <sharoonthomas> cedk: ok
2012-07-21 14:32 <scrapper> hello folks, need with decimal places for tax "Amount" creation in /module/account/tax.py
2012-07-21 14:32 <scrapper> amount = fields.Numeric('Amount', digits=(16, Eval('currency_digits', 2)),
2012-07-21 14:32 <scrapper> states={
2012-07-21 14:32 <scrapper> 'invisible': Eval('type') != 'fixed',
2012-07-21 14:32 <scrapper> }, help='In company\'s currency',
2012-07-21 14:32 <scrapper> depends=['type', 'currency_digits'])
2012-07-21 14:33 <scrapper> When a new tax is created its not possible to add Decimal Number with "," (comma)
2012-07-21 14:33 <scrapper> I guess because on creation the type is None. But I have no clue. Could someone tell me what could cause the problem?
2012-07-21 14:33 <cedk> scrapper: what is the currency and language?
2012-07-21 14:34 <scrapper> Currency is Euro - language is german.
2012-07-21 14:35 <scrapper> cedk: Currency is Euro - language is german.
2012-07-21 14:36 <cedk> scrapper: it works on demo server
2012-07-21 14:37 <scrapper> cedk: good idea to check in the future - on the demo server. I will keep trying. thx
2012-07-21 14:37 <scrapper> After saving and reopening I am able to see and add decimal places to the tax Amount.
2012-07-21 14:38 <scrapper> cedk: but not on the first run.
2012-07-21 14:38 <scrapper> cedk: using Tryton Version 2.2.0 and postgresql 8.4
2012-07-21 14:40 <cedk> scrapper: I think it is fixed by a patch
2012-07-21 14:41 <scrapper> cedk: thx will keep eyes open for that patch.
2012-07-21 14:42 <cedk> scrapper: can not find it
2012-07-21 14:43 <scrapper> cedk: don't worry. some more ours i will have it :-)
2012-07-21 14:43 <scrapper> cedk: -ours +hours
2012-07-21 14:44 <sharoonthomas> cedk: was checking our your POC of sao on issue442001
2012-07-21 14:44 <sharoonthomas> cedk: there is no __main__.py, so how do you translate ?
2012-07-21 14:45 <cedk> sharoonthomas: pyjsbuild soa
2012-07-21 14:54 <cedk> sharoonthomas: does it build?
2012-07-21 14:55 <sharoonthomas> cedk: yes, throws up the login dialog too
2012-07-21 14:56 <cedk> sharoonthomas: be careful that the last release of pyjs has a HTTPRequest buggy
2012-07-21 14:56 <cedk> sharoonthomas: you must use the git version
2012-07-21 14:58 <sharoonthomas> cedk: already using the git version
2012-07-21 14:58 <sharoonthomas> cedk: the chrome console shows some errors but reading the code, i guess its not meant to do anything more than close the dialog on entering a db, username and password ?
2012-07-21 15:00 <cedk> sharoonthomas: yes
2012-07-21 15:08 <cedk> sharoonthomas: and what do you think about?
2012-07-21 15:23 <scrapper> cedk: I have checked it online on demo server 2.2.0 - in english and in german. its not possible to add decimal places to account.tax.line "Amount" - will try to find a fix for this.
2012-07-21 15:30 <cedk> scrapper: linked to https://bugs.tryton.org/issue2495
2012-07-21 15:35 <cedk> scrapper: but your issues could be fixed by adding a default method for digits fields
2012-07-21 15:35 <scrapper> cedk: thx will invest into that issue and try to understand.
2012-07-21 15:35 <cedk> scrapper: so probably good to report issue and fix it until issue2495 is developped
2012-07-21 15:36 <scrapper> cedk: I am going to report as soon as I understand the issue.
2012-07-21 15:36 <scrapper> cedk: thank you!
2012-07-21 15:37 <scrapper> cedk: and try to provide a fix for that
2012-07-21 15:40 <cedk> scrapper: ok but first create the issue and mark you are working on
2012-07-21 15:41 <scrapper> cedk: ok
2012-07-21 15:50 <shomon> hi, does anyone use tryton in connection with drupal?
2012-07-21 15:50 <shomon> is it easy to write some way to export and import data between them?
2012-07-21 15:51 <cedk> shomon: drupal is written in PHP, so you will have to use XML-RPC to communicate
2012-07-21 15:52 <shomon> ah good I thought csv :S
2012-07-21 15:52 <shomon> do you know if anyone has tried before cedk ?
2012-07-21 15:53 <cedk> shomon: don't know
2012-07-21 15:55 <shomon> thanks :)
2012-07-21 15:55 <shomon> is there a guide to installing 2.4 on ubuntu?
2012-07-21 15:56 <cedk> shomon: there is https://code.google.com/p/tryton/wiki/RemoteCalls
2012-07-21 15:56 <cedk> shomon: not up to date but XML-RPC did not change a lot since 1.6
2012-07-21 15:56 <cedk> shomon: Tryton is packaged in Ubuntu
2012-07-21 16:18 <scrapper> cedk: how and when do those default_methods get called?
2012-07-21 16:19 <scrapper> cedk: sorry but can't find a calling point.
2012-07-21 16:20 <cedk> scrapper: in Model.default_get
2012-07-21 16:20 <scrapper> cedk: great thank you!
2012-07-21 16:50 <grek324> Hello, I am searching for a module to make sale statistics. Most selled Items per month/week for example. Do anyone have such an module and can give some code or make offer for this?
2012-07-21 16:53 <cedk> grek324: you shoudl ask on the mailing list
2012-07-21 16:54 <cedk> grek324: but I think it will be great to define common report and make a standard module
2012-07-21 19:33 <grek324> cedk: ok

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