Server IP : 127.0.0.2 / Your IP : 3.128.197.221 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/hr_recruitment/views/ |
Upload File : |
<odoo> <!--Hr Department Inherit Kanban view--> <record id="hr_department_view_kanban" model="ir.ui.view"> <field name="name">hr.department.kanban.inherit</field> <field name="model">hr.department</field> <field name="inherit_id" ref="hr.hr_department_view_kanban"/> <field name="groups_id" eval="[(4,ref('hr_recruitment.group_hr_recruitment_user'))]"/> <field name="arch" type="xml"> <data> <xpath expr="//templates" position="before"> <field name="new_applicant_count"/> <field name="new_hired_employee"/> <field name="expected_employee"/> </xpath> <xpath expr="//div[contains(@class, 'o_kanban_primary_right')]" position="inside"> <div t-if="record.new_applicant_count.raw_value > 0" class="row"> <div class="col-xs-9"> <a name="%(hr_applicant_action_from_department)d" type="action"> New Applicants </a> </div> <div class="col-xs-3"> <field name="new_applicant_count"/> </div> </div> </xpath> <xpath expr="//div[contains(@class, 'o_kanban_manage_to_do')]" position="inside"> <div class="row"> <div class="col-xs-12 text-left"> <a name="%(hr_applicant_action_from_department)d" type="action"> <t t-esc="record.new_applicant_count.raw_value or 0"/> New Applicants </a> </div> </div> </xpath> <xpath expr="//div[contains(@class, 'o_kanban_manage_reports')]" position="inside"> <div class="row"> <div class="col-xs-12 text-left"> <a name="%(action_hr_recruitment_report_filtered_department)d" type="action"> Recruitments </a> </div> </div> </xpath> </data> </field> </record> <record id="action_hr_department" model="ir.actions.act_window"> <field name="name">Departments</field> <field name="res_model">hr.department</field> <field name="view_type">form</field> <field name="view_mode">tree,form</field> </record> <menuitem id="menu_hr_department" name="Departments" parent="menu_hr_recruitment_configuration" action="action_hr_department"/> </odoo>