Server IP : 127.0.0.2 / Your IP : 18.117.227.191 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/membership/report/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <!-- REPORTING/MEMBERSHIP BY YEAR --> <record model="ir.ui.view" id="view_report_membership_search"> <field name="name">report.membership.search</field> <field name="model">report.membership</field> <field name="arch" type="xml"> <search string="Membership"> <filter string="Forecast" context="{'waiting_invoiced_totpending_visible':0}" help="This will display waiting, invoiced and total pending columns"/> <filter string="Revenue Done" name="Revenue" context="{'paid_old_totearned_visible':0}" help="This will display paid, old and total earned columns"/> <field name="partner_id"/> <field name="membership_id"/> <field name="user_id"/> <group expand="1" string="Group By"> <filter string="Salesperson" name="salesman" context="{'group_by':'user_id'}"/> <filter string="Associated Partner" name="associate_member_id" context="{'group_by':'associate_member_id'}"/> <filter string="Membership Product" name="product" context="{'group_by':'membership_id'}"/> <filter string="Current Membership State" context="{'group_by':'membership_state'}"/> <filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/> <filter string="Month" name="start_date" context="{'group_by':'start_date:month'}"/> </group> </search> </field> </record> <record model="ir.ui.view" id="view_report_membership_pivot"> <field name="name">report.membership.pivot</field> <field name="model">report.membership</field> <field name="arch" type="xml"> <pivot string="Membership" disable_linking="True"> <field name="membership_id" type="row"/> <field name="start_date" interval="month" type="col"/> <field name="quantity" type="measure"/> <field name="num_paid" type="measure"/> <field name="num_invoiced" type="measure"/> <field name="tot_earned" type="measure"/> </pivot> </field> </record> <record model="ir.ui.view" id="view_report_membership_graph1"> <field name="name">report.membership.graph1</field> <field name="model">report.membership</field> <field name="arch" type="xml"> <graph string="Membership"> <field name="membership_id" type="row"/> <field name="start_date" interval="month" type="col"/> <field name="quantity" type="measure"/> </graph> </field> </record> <record model="ir.actions.act_window" id="action_report_membership_tree"> <field name="name">Members Analysis</field> <field name="res_model">report.membership</field> <field name="view_type">form</field> <field name="view_mode">pivot,graph</field> <field name="search_view_id" ref="view_report_membership_search"/> <field name="context">{"search_default_start_date":1,"search_default_member":1, 'search_default_Revenue':1, 'search_default_this_month':1, 'search_default_salesman':1,'group_by_no_leaf':1}</field> </record> <menuitem name="Reports" parent="menu_association" sequence="99" action="action_report_membership_tree" id="menu_report_membership" groups="base.group_partner_manager"/> </odoo>