Server IP : 127.0.0.2 / Your IP : 3.144.147.211 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/event/report/ |
Upload File : |
<?xml version="1.0"?> <odoo> <data> <record model ="ir.ui.view" id="report_event_registration_pivot"> <field name="name">report.event.registration.pivot</field> <field name="model">report.event.registration</field> <field name="arch" type="xml"> <pivot string="Event on Registration" disable_linking="True"> <field name="event_id" type="row"/> <field name="event_date" interval="month" type="col"/> <field name="confirm_state" type="measure"/> </pivot> </field> </record> <record model ="ir.ui.view" id="report_event_registration_graph"> <field name="name">report.event.registration.graph</field> <field name="model">report.event.registration</field> <field name="arch" type="xml"> <graph string="Event on Registration"> <field name="event_id"/> <field name="event_date" interval="month"/> <field name="confirm_state" type="measure"/> </graph> </field> </record> <!-- Event on Registration search view --> <record model="ir.ui.view" id="view_report_event_registration_search"> <field name="name">report.event.registration.search</field> <field name="model">report.event.registration</field> <field name="arch" type="xml"> <search string="Event on Registration"> <filter string="New" domain="[('event_state','=','draft')]" help="Events which are in New state"/> <filter string="Confirm" domain="[('event_state','=','confirm')]" help="Events which are in confirm state"/> <separator/> <field name="event_id" string="Event"/> <field name="user_id"/> <group expand="0" string="Extended Filters..."> <field name="event_type_id" widget="selection"/> <field name="event_date"/> </group> <newline/> <group expand="1" string="Group By"> <filter string="Attendee / Contact" context="{'group_by':'name_registration'}" help="Registration contact"/> <filter string="Event Type" context="{'group_by':'event_type_id'}"/> <filter string="Event" name="event" context="{'group_by':'event_id', 'max_reg_event_visible':0}"/> <filter string="Event State" context="{'group_by':'event_state'}"/> <filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/> <separator/> <filter string="Event Month" context="{'group_by':'event_date:month'}" help="Event Beginning Date"/> </group> </search> </field> </record> <record model="ir.actions.act_window" id="action_report_event_registration"> <field name="name">Events Analysis</field> <field name="res_model">report.event.registration</field> <field name="view_type">form</field> <field name="view_mode">pivot,graph</field> <field name="search_view_id" ref="view_report_event_registration_search"/> <field name="context">{}</field> <!-- force empty --> </record> <menuitem name="Events" parent="event.menu_reporting_events" action="action_report_event_registration" id="menu_report_event_registration" sequence="3" groups="event.group_event_manager"/> </data> </odoo>