IRC logs of #tryton for Thursday, 2011-09-01 #tryton log beginning Thu Sep 1 00:00:02 CEST 2011
-!- ikks_(~ikks@ has joined #tryton01:51
-!- elbenfreund1( has joined #tryton03:44
-!- alimon(~alimon@ has joined #tryton04:48
-!- predatell(~predatell@ has joined #tryton07:40
-!- okko1(~okko@ has joined #tryton08:27
-!- pjstevns( has joined #tryton08:58
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:02
-!- helmor(~helmo@ has joined #tryton09:06
-!- vladimirek( has joined #tryton09:18
-!- okko1(~okko@ has joined #tryton09:28
hoRnGood Morning09:32
hoRncedk: I left the try to build a pivot table by manipulating a view with dynamic tables - seems a bit overdosed in comprarism to parsing a simple csv with Report.09:34
cedkhoRn: did you look at the analytic_* modules, there is something a little bit similar to display arbitrary Many2One account fields09:35
hoRncedk: yes - but there fields of one view are updated with the fields of an other. I had the problem to combine 3 Models to a dynamic pivot: Hours per Employee per Analytic Account - so a csv-Report is nice and handsome09:38
cedkhoRn: could you show the code?09:39
hoRncedk: i did it last night - its ugly - but ok09:40
hoRncedk: don't know what to show ;) - it's very custom, because i extended with a reference to analytic account and the timesheet.line has now a start-time and a end_time09:51
hoRnthe report is nothing more than
-!- bechamel( has joined #tryton09:52
hoRnicedk: it returns a simple csv. I did'nt find a way to create a view with all fields and values generated dynamically09:53
cedkhoRn: show the code that doesn't work, I guess the Model with the SQL query09:56
hoRncedk: deleted mostly and not readable. need to explore a way to generate a view for pivot data one day - it seems possible with manipulating fields_view_get. It would be nice to have a thing like pivot-renderer, that do it for you magically in tryton ...09:59
cedkhoRn: I'm not sure it is possible to do it automagically because it needs to know the type of the columns10:01
cedkhoRn: but it is doable I already did it on OE10:01
hoRncedk: i tried this yesterday - it seems possible by inserting filed-definitions in fields_get, fields_view_get and default_get - but it was to hard to debug in combination of a 100liner in table_query.10:05
-!- zodman( has joined #tryton10:05
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton10:05
hoRncedk: finally i tried to extend this to show me the analytic_accounts as columns and the empoyess as rows10:10
-!- elbenfreund( has joined #tryton10:27
cedkhoRn: this should work10:36
-!- meanmicio(~lfm@ has joined #tryton10:44
-!- meanmicio_(~lfm@ has joined #tryton10:45
-!- ralf58_( has joined #tryton10:46
-!- heffer(~felix@fedora/heffer) has joined #tryton10:52
-!- nicoe( has joined #tryton11:10
hoRncedk: waiting for a tutorial in liege ;)11:34
-!- ccomb( has joined #tryton11:34
-!- ndn_pit(~ndn_pit@ has joined #tryton11:34
-!- johbo(~johbo@ has joined #tryton12:35
-!- elbenfreund( has joined #tryton12:47
-!- pjstevns( has joined #tryton14:33
-!- ndn_pit(~ndn_pit@ has left #tryton14:35
-!- pjstevns( has joined #tryton15:21
-!- pjstevns( has left #tryton15:22
-!- alimon(alimon@ has joined #tryton15:26
-!- elbenfreund( has joined #tryton15:39
-!- reichlich( has joined #tryton17:17
-!- hoRn( has joined #tryton18:51
-!- cheche(cheche@ has joined #tryton19:47
-!- okko1( has joined #tryton20:51
-!- bechamel( has joined #tryton21:30
-!- elbenfreund( has joined #tryton22:14
-!- meanmicio( has joined #tryton22:52
meanmiciojust got an invitation from Latinoware, to present GNU Health in Brazil next month22:53
meanmiciocool :)22:53
-!- elbenfreund( has joined #tryton23:01

Generated by 2.11.0 by Marius Gedminas - find it at!