RFC: First reporting implementation

37 views
Skip to first unread message

Cédric Krier

unread,
Nov 18, 2017, 6:40:06 PM11/18/17
to Tryton
Hi,

I started to work on implementing reporting for aggregate data [1] for
sale [2].
A first report is ready for review [3]. This does not implement all the
features etc. But it is a proposal for the pattern which will be used
for all other reports. So I would like to have feedback before going
further.


There are still some improvement that could be done on the client:

- switch window action from an active tab
- allow graph on date to fill by month or year


[1] https://discuss.tryton.org/t/reporting-of-aggregated-data/437
[2] https://discuss.tryton.org/t/sale-reporting-of-aggregated-data/438
[3] https://bugs.tryton.org/issue6944

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Sergi Almacellas Abellana

unread,
Nov 20, 2017, 8:45:05 AM11/20/17
to tryto...@googlegroups.com
El 19/11/17 a les 00:39, Cédric Krier ha escrit:
> Hi
>
> There are still some improvement that could be done on the client:
>
> - switch window action from an active tab
Don't understand why you mean.
> - allow graph on date to fill by month or year
Indeed it will be also great to only show the relevant part of a date on
the tree view. So if we are grouping per month only 11/2017 is show
(currently it shows 01/11/2017).
I guess this is: https://bugs.tryton.org/issue6948
>


--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Cédric Krier

unread,
Nov 20, 2017, 10:10:05 AM11/20/17
to tryto...@googlegroups.com
On 2017-11-20 14:45, Sergi Almacellas Abellana wrote:
> El 19/11/17 a les 00:39, Cédric Krier ha escrit:
> > Hi
> >
> > There are still some improvement that could be done on the client:
> >
> > - switch window action from an active tab
> Don't understand why you mean.

As we will have a lot of report based on different ModelSQL. Instead of
having a menu entry for each of them, I think it will be better to have
a single entry with many actions. This is already supported by the
client but it will just show in a popup a selection for the action to
run. I want to have this selection the tab and be able to change it at
any time.

> > - allow graph on date to fill by month or year
> Indeed it will be also great to only show the relevant part of a date on
> the tree view. So if we are grouping per month only 11/2017 is show
> (currently it shows 01/11/2017).

It may be nice to have but it will require to have a date format
depending of the context.

Sergi Almacellas Abellana

unread,
Nov 20, 2017, 10:27:28 AM11/20/17
to tryto...@googlegroups.com
El 20/11/17 a les 16:06, Cédric Krier ha escrit:
> On 2017-11-20 14:45, Sergi Almacellas Abellana wrote:
>> El 19/11/17 a les 00:39, Cédric Krier ha escrit:
>>> Hi
>>>
>>> There are still some improvement that could be done on the client:
>>>
>>> - switch window action from an active tab
>> Don't understand why you mean.
>
> As we will have a lot of report based on different ModelSQL. Instead of
> having a menu entry for each of them, I think it will be better to have
> a single entry with many actions. This is already supported by the
> client but it will just show in a popup a selection for the action to
> run. I want to have this selection the tab and be able to change it at
> any time.

Wow, this will be great. Probably the best is to ask for the menu option
on the first load of the action (like done now) and then add some button
in order to change it. This button can be probably near the action name
in the client toolbar.
Reply all
Reply to author
Forward
0 new messages