From cff4997c5199adda0e7290982e648b808c5b0f08 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Fri, 10 Apr 2015 02:26:49 +0200 Subject: [PATCH] [IMP] add 'median' function; --- web_dashboard_tile/__openerp__.py | 2 +- web_dashboard_tile/static/src/img/avg.png | Bin 287 -> 340 bytes web_dashboard_tile/static/src/img/median.png | Bin 0 -> 287 bytes web_dashboard_tile/tile.py | 15 ++++++++++++++- 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 web_dashboard_tile/static/src/img/median.png diff --git a/web_dashboard_tile/__openerp__.py b/web_dashboard_tile/__openerp__.py index e98d42ce..d0f8cf41 100644 --- a/web_dashboard_tile/__openerp__.py +++ b/web_dashboard_tile/__openerp__.py @@ -47,7 +47,7 @@ and add them as short cut. the current user doesn't have access to the given model); * The tile displays items count of a given model restricted to a given domain; * Optionnaly, the tile can display the result of a function of a field; - * Function is one of sum/avg/min/max; + * Function is one of sum/avg/min/max/median; * Field must be integer or float; Screenshot: diff --git a/web_dashboard_tile/static/src/img/avg.png b/web_dashboard_tile/static/src/img/avg.png index 61d5dd7c264544941b4de07c7c19da7391b485b9..2f534e932c820d634b47bd8f97312d9329204001 100644 GIT binary patch delta 276 zcmV+v0qg#s0@MPKNq_c9L_t(YiRD$n5rQxfTo~WBfHa^_(T_G@8Crt|o*`O@&Zu2z z4f<9J&=SChPJ|EwiSgmMuUojVw|kQT_;on8K13Duj4od0Jt^< zWca#(aYVArtqK70%tids4w`0eEC2w65MDFJ8l7o;lbHu?2Y)1iqqTz>-D2Vg7`Dqi zozf@w`ushhh^TVnG*fc{${oxvDX&-l%d9J;DslnJi0+#`&f@`&y$`c`apV(zvV+@thtnv)p_@CT>pBO|1h-?EUjA a@c^fmN%ggzstp4G00000-pkqNq@mfL_t(YiDO_G>VT122DP-b{6`n7si|RPp_T;<3=9m_)zxrz zYilb50|NsC6E!Ws254>p*+GOY%&BSt0|WLjM+YM)4%*}yP{Vw74FdyG5K(La0|Ns? z#r=P9c84Nyo+l}Y-Ys3laMi(*;gCM@+DMNBCelh5oI!+<&R1vGKI5#AR^HR^os*x%NB~_fS9sn7{mdI0PbHxaliyirbyslY71V&Yieq!R_Egc Y02IeFG53l5GXMYp07*qoM6N<$f|vYSe*gdg diff --git a/web_dashboard_tile/static/src/img/median.png b/web_dashboard_tile/static/src/img/median.png new file mode 100644 index 0000000000000000000000000000000000000000..61d5dd7c264544941b4de07c7c19da7391b485b9 GIT binary patch literal 287 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjEX7WqAsj$Z!;#Vf4nJ z@ErkR#;MwT(m=t3o-U3d9-YYv60aI2MzL+(vgMDv`0AA_6H^vWW90#Yt5>fUlx1gY zGlPJzsqO)`j6BAhjxD-pR%S6WGk-I1XIIwXyY)me;BZYDFEewHKwu6~oZ0#4-}-{G zcBR63>Y5$*bYqVeTs=7H;RL&nw>C7&v9&-crN|A!;5+s)%rtX1_le3eJ-29 zs`9Jhi-OWc_AlMcNvFlS9yQF^lqzwAv6JClyi?%;7Vl*q58|`9;|^zMWvvK%{+NY9 Y