Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 18.222.188.103
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/purchase_requisition/data/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /opt/odoo/addons/purchase_requisition/data/purchase_requisition_demo.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data noupdate="1">

        <record id="base.user_demo" model="res.users">
            <field eval="[(4, ref('purchase.group_purchase_user'))]" name="groups_id"/>
        </record>

        <record id="product.product_product_13" model="product.product">
            <field name="purchase_requisition">tenders</field>
        </record>

    <!--Resource: purchase.requisition-->

        <record id="requisition1" model="purchase.requisition">
            <field name="user_id" ref="base.user_root"/>
            <field name="warehouse_id" ref="stock.stock_warehouse_shop0"/>
        </record>

        <record id="requisition_line1" model="purchase.requisition.line">
            <field name="requisition_id" ref="requisition1"/>
            <field name="product_id" ref="product.product_product_13"/>
            <field name="product_uom_id" ref="product.product_uom_unit"/>
            <field name="product_qty">5</field>
        </record>

        <!--Resource: purchase.order-->

        <record id="rfq1" model="purchase.order">
            <field name="partner_id" ref="base.res_partner_4"/>
            <field name="requisition_id" ref="requisition1"/>
        </record>

        <record id="rfq1_line" model="purchase.order.line">
            <field name="order_id" ref="rfq1"/>
            <field name="name">[RAM-SR5] RAM DDR SR5</field>
            <field name="date_planned" eval="time.strftime('%Y/%m/10')"/>
            <field name="product_id" ref="product.product_product_13"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">60</field>
            <field name="product_qty">5</field>
        </record>
               
        <record id="rfq2" model="purchase.order">
            <field name="partner_id" ref="base.res_partner_1"/>
            <field name="requisition_id" ref="requisition1"/>
        </record>

        <record id="rfq2_line" model="purchase.order.line">
            <field name="order_id" ref="rfq2"/>
            <field name="name">[RAM-SR5] RAM DDR SR5</field>
            <field name="date_planned" eval="time.strftime('%Y/%m/15')"/>
            <field name="product_id" ref="product.product_product_13"/>
            <field name="product_uom" ref="product.product_uom_unit"/>
            <field name="price_unit">50</field>
            <field name="product_qty">3</field>
        </record>        


    </data>
</odoo>

Anon7 - 2022
AnonSec Team