IRC logs of #tryton for Saturday, 2013-03-23

chat.freenode.net #tryton log beginning Sat Mar 23 00:00:12 CET 2013
2013-03-23 11:34 <katr> cedk: The analytic invoice module uses the invoice date instead of the accounting date. Is this intentional?
2013-03-23 11:36 <katr> cedk: I mean it uses the invoice date for the created analytic lines.
2013-03-23 11:47 <cedk> katr: accounting date was added later on invoice so I guess analytic module was not updated
2013-03-23 11:48 <katr> cedk: O.K. thanks!
2013-03-23 11:53 <cedk> katr: please submit an issue/patch
2013-03-23 11:54 <katr> cedk: I will.
2013-03-23 15:33 <oscar_alv> Hi, Devs What is the difference between sequence and sequence stric?
2013-03-23 15:37 <cedk> oscar_alv: strict lock the table
2013-03-23 15:38 <oscar_alv> Cedk: thanks I understand
2013-03-23 15:58 <katr> I want to do some basic financial analysis with Tryton.
2013-03-23 15:59 <katr> I think there should be some generic framework to define financial ratios like liquidity, profitability etc.
2013-03-23 15:59 <katr> What do you think?
2013-03-23 16:16 <oscar_alv> I think is great...
2013-03-23 16:16 <oscar_alv> Katr: I think is great... Are you economist?
2013-03-23 16:18 <katr> oscar_alv: No I'm not. I just have some basic knowledge. :(
2013-03-23 16:26 <oscar_alv> katr: me neither
2013-03-23 16:26 <katr> oscar_alv: Any ideas on how to implement it?
2013-03-23 16:28 <oscar_alv> katr: I done several tryton modules, but if you want can do it in Bitbucket a blueprint and work both
2013-03-23 16:32 <katr> oscar_alv: Sounds good, but I would like to have some discussion in advance to get it toward a direction that is useful for a broad range of people.
2013-03-23 16:37 <oscar_alv> katr: Yes, you are right, put the topic in the mail list for contrib and developers
2013-03-23 19:02 <katr> cedk: Regarding your code review: This coding style applies to all binary operator or just boolean ones?
2013-03-23 19:20 <cedk> katr: indeed all
2013-03-23 19:21 <cedk> katr: we find less readable when the operator is at the end
2013-03-23 19:21 <katr> cedk: O.K. Will update the wiki.
2013-03-23 19:24 <Pilou> Isn't the wiki deprecated ?
2013-03-23 19:27 <katr> cedk: Can you briefly explain with how many spaces continued lines should be indented? Looking at e.g. the invoice module I can find 4, 8, 12 even 16 :)?
2013-03-23 19:33 <cedk> katr: always 4
2013-03-23 19:34 <cedk> katr: 4 per braket level of course
2013-03-23 19:35 <katr> cedk: And 8 if it's indistinguishable from the next block?
2013-03-23 20:49 <cedk> Pilou: yes, I think content should go in doc or website
2013-03-23 22:24 <giedrius> hi guys
2013-03-23 22:25 <giedrius> did you notice the lag in lists with more than 100 items on gtk client?
2013-03-23 22:26 <giedrius> i suspect that the problem appeared because of gtk3 (afaik tryton is still gtk2)
2013-03-23 22:30 <giedrius> The lag is even worse on trees. For example if I expand the chart of accounts with >100 accounts visible, next action takes more than 10 secs (scrolling, expending, folding, selecting)
2013-03-23 22:32 <cedk> giedrius: are you sure it is not just the network queries
2013-03-23 22:32 <cedk> giedrius: because if you scroll on larger list, client has to fetch data to show
2013-03-23 22:33 <giedrius> does the client issue a query when scrolling on lists?
2013-03-23 22:33 <giedrius> ah, i see
2013-03-23 22:33 <cedk> giedrius: yes it could
2013-03-23 22:35 <giedrius> cedk: but, for example, if i scroll down, then the scrolling up should not use any network traffic?
2013-03-23 22:36 <cedk> giedrius: depends
2013-03-23 22:37 <cedk> giedrius: it really depends on what gtk tried to display
2013-03-23 22:43 <giedrius> cedk: is it possible to see send/received queries by debug gtk client?
2013-03-23 22:44 <cedk> giedrius: -v
2013-03-23 22:44 <giedrius> cedk: thanks
2013-03-23 22:49 <giedrius> cedk: i've checked. It was false alarm on 10secs for scrolling (10secs takes expending/folding which depends on network), but still it lags when scrolling (screen changes 1 time per sec) and i see no queries are sent.
2013-03-23 22:50 <cedk> giedrius: sometimes it is also slow on bad supported video drivers
2013-03-23 22:51 <giedrius> cedk: maybe it could be the problem of gtk3 + gnome-shell?
2013-03-23 22:54 <giedrius> cedk: when the screen is scrolled, tryton takes ~100cpu, while xorg process does not have any changes in cpu
2013-03-23 23:13 <cedk> giedrius: could you test with an other GTK2 application?
2013-03-23 23:30 <basman> If there is a bug in a module of some version of Tryton that is fixed in a newer version, then, how to patch the file contains the bug?
2013-03-23 23:33 <cedk> basman: which bug?
2013-03-23 23:36 <basman> cedk: https://bugs.tryton.org/issue2953
2013-03-23 23:39 <cedk> basman: it was backported to 2.6
2013-03-23 23:39 <cedk> http://hg.tryton.org/2.6/modules/account_invoice/rev/50401b0e9653
2013-03-23 23:43 <basman> cedk: shall I modify the invoice.py directly, or there is another way to update or patch the file ?
2013-03-23 23:51 <basman> cedk: how to update ?
2013-03-23 23:58 <basman> mmmm

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