Server IP : 127.0.0.2 / Your IP : 3.14.135.79 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/odoo/addons/im_livechat/report/ |
Upload File : |
<?xml version="1.0"?> <odoo> <data> <record id="im_livechat_report_operator_view_pivot" model="ir.ui.view"> <field name="name">im_livechat.report.operator.pivot</field> <field name="model">im_livechat.report.operator</field> <field name="arch" type="xml"> <pivot string="Livechat Support Statistics" disable_linking="True"> <field name="partner_id" type="row"/> <field name="duration" type="measure"/> <field name="nbr_channel" type="measure"/> </pivot> </field> </record> <record id="im_livechat_report_operator_view_graph" model="ir.ui.view"> <field name="name">im_livechat.report.operator.graph</field> <field name="model">im_livechat.report.operator</field> <field name="arch" type="xml"> <graph string="Livechat Support Statistics"> <field name="partner_id"/> <field name="nbr_channel" type="measure"/> </graph> </field> </record> <record id="im_livechat_report_operator_view_search" model="ir.ui.view"> <field name="name">im_livechat.report.operator.search</field> <field name="model">im_livechat.report.operator</field> <field name="arch" type="xml"> <search string="Search report"> <filter name="last_24h" string="Last 24h" domain="[('start_date','>', (context_today() - datetime.timedelta(days=1)).strftime('%%Y-%%m-%%d') )]"/> <filter name="last_week" string="Last Week" domain="[('start_date','>', (context_today() - datetime.timedelta(weeks=1)).strftime('%%Y-%%m-%%d') )]"/> <group expand="0" string="Group By..."> <filter name="group_by_channel" string="Channel" domain="[]" context="{'group_by':'channel_id'}"/> <filter name="group_by_operator" string="Operator" domain="[('partner_id','!=', False)]" context="{'group_by':'partner_id'}"/> <separator orientation="vertical" /> <filter name="group_by_day" string="Creation date (day)" domain="[]" context="{'group_by':'start_date:day'}"/> <filter name="group_by_week" string="Creation date (week)" domain="[]" context="{'group_by':'start_date:week'}"/> <filter name="group_by_month" string="Creation date (month)" domain="[]" context="{'group_by':'start_date:month'}" /> <filter name="group_by_year" string="Creation date (year)" domain="[]" context="{'group_by':'start_date:year'}"/> </group> </search> </field> </record> <record id="im_livechat_report_operator_action" model="ir.actions.act_window"> <field name="name">Livechat Support Report Channel</field> <field name="res_model">im_livechat.report.operator</field> <field name="view_type">form</field> <field name="view_mode">pivot,graph</field> <field name="context">{"search_default_last_week":1}</field> <field name="help">Livechat Support Channel Statistics allows you to easily check and analyse your company livechat session performance. Extract information about the missed sessions, the audiance, the duration of a session, etc.</field> </record> <menuitem id="menu_reporting_livechat_operator" name="Operator Analysis" parent="menu_reporting_livechat" sequence="10" action="im_livechat_report_operator_action"/> </data> </odoo>