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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /opt/odoo/addons/event_sale/data/event_demo.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="event_0_product" model="product.product">
        <field name="name">Open Days in Los Angeles</field>
        <field name="event_ok">True</field>
        <field name="categ_id" ref="product.product_category_1"/>
        <field name="type">service</field>
        <field name="list_price">2500.0</field>
        <field name="standard_price">1000.0</field>
        <field name="uom_id" ref="product.product_uom_unit"/>
        <field name="uom_po_id" ref="product.product_uom_unit"/>
        <field name="image" type="base64" file="event_sale/static/img/event_product-image.jpg"/>
    </record>

    <record id="event_1_product" model="product.product">
        <field name="name">Functional Webinar</field>
        <field name="event_ok">True</field>
        <field name="categ_id" ref="product.product_category_1"/>
        <field name="type">service</field>
        <field name="list_price">2500.0</field>
        <field name="standard_price">1000.0</field>
        <field name="uom_id" ref="product.product_uom_unit"/>
        <field name="uom_po_id" ref="product.product_uom_unit"/>
        <field name="image" type="base64" file="event_sale/static/img/event_product-image.jpg"/>
    </record>

    <record id="event_2_product" model="product.product">
        <field name="name">Conference on Business Applications</field>
        <field name="event_ok">True</field>
        <field name="categ_id" ref="product.product_category_1"/>
        <field name="type">service</field>
        <field name="list_price">2500.0</field>
        <field name="standard_price">1000.0</field>
        <field name="uom_id" ref="product.product_uom_unit"/>
        <field name="uom_po_id" ref="product.product_uom_unit"/>
        <field name="image" type="base64" file="event_sale/static/img/event_product-image.jpg"/>
    </record>

    <record id="event.event_3" model="event.event">
        <field name="organizer_id" ref="base.res_partner_address_4"/>
    </record>

    <record id="event_3_product" model="product.product">
        <field name="name">Technical Training</field>
        <field name="event_ok">True</field>
        <field name="categ_id" ref="product.product_category_1"/>
        <field name="type">service</field>
        <field name="list_price">2500.0</field>
        <field name="standard_price">1000.0</field>
        <field name="uom_id" ref="product.product_uom_unit"/>
        <field name="uom_po_id" ref="product.product_uom_unit"/>
        <field name="image" type="base64" file="event_sale/static/img/event_product-image.jpg"/>
    </record>

    <record id="event_0_ticket_1" model="event.event.ticket">
        <field name="name">Standard</field>
        <field name="event_id" ref="event.event_0"/>
        <field name="product_id" ref="event_0_product"/>
        <field name="deadline" eval="(DateTime.today() + timedelta(90)).strftime('%Y-%m-%d')"/>
        <field name="price">1000.0</field>
        <field name="seats_max">50</field>
    </record>

    <record id="event_0_ticket_2" model="event.event.ticket">
        <field name="name">VIP</field>
        <field name="event_id" ref="event.event_0"/>
        <field name="product_id" ref="event_0_product"/>
        <field name="deadline" eval="(DateTime.today() + timedelta(60)).strftime('%Y-%m-%d')"/>
        <field name="price">1500.0</field>
        <field name="seats_max">10</field>
    </record>
    

    <record id="event_1_ticket_1" model="event.event.ticket">
        <field name="name">Standard</field>
        <field name="event_id" ref="event.event_1"/>
        <field name="product_id" ref="event_1_product"/>
        <field name="deadline" eval="(DateTime.today() + timedelta(90)).strftime('%Y-%m-%d')"/>
        <field name="price">1000.0</field>
        <field name="seats_max">60</field>
    </record>


    <record id="event_2_ticket_1" model="event.event.ticket">
        <field name="name">Standard</field>
        <field name="event_id" ref="event.event_2"/>
        <field name="product_id" ref="event_2_product"/>
        <field name="deadline" eval="(DateTime.today() + timedelta(90)).strftime('%Y-%m-%d')"/>
        <field name="price">1000.0</field>
        <field name="seats_max">50</field>
    </record>

    <record id="event_2_ticket_2" model="event.event.ticket">
        <field name="name">VIP</field>
        <field name="event_id" ref="event.event_2"/>
        <field name="product_id" ref="event_2_product"/>
        <field name="deadline" eval="(DateTime.today() + timedelta(60)).strftime('%Y-%m-%d')"/>
        <field name="price">1500.0</field>
        <field name="seats_max">5</field>
    </record>

    <record id="event_3_ticket_1" model="event.event.ticket">
        <field name="name">Standard</field>
        <field name="event_id" ref="event.event_3"/>
        <field name="product_id" ref="event_3_product"/>
        <field name="deadline" eval="(DateTime.today() + timedelta(90)).strftime('%Y-%m-%d')"/>
        <field name="price">1000.0</field>
        <field name="seats_max">20</field>
    </record>

    <record id="event_3_ticket_2" model="event.event.ticket">
        <field name="name">VIP</field>
        <field name="event_id" ref="event.event_3"/>
        <field name="product_id" ref="event_3_product"/>
        <field name="deadline" eval="(DateTime.today() + timedelta(60)).strftime('%Y-%m-%d')"/>
        <field name="price">1500.0</field>
        <field name="seats_max">5</field>
    </record>


    <record id="event.event_1" model="event.event">
            <field name="badge_back"><![CDATA[
            <h2>Program</h2>
            <div><strong>Registrations</strong><small> are from 8:30 am, except on Friday from 9:00 am</small></div>
            <div>
                <strong>Lunch</strong><small> is served between 1:00 pm and 2:00 pm.</small>
            </div>
            <h2>Special Events</h2>
            <table style="border: 1px solid black;">
                <tr style="border: 1px solid black;">
                    <td class="text-center" width="15%"><strong>4/6</strong></td>
                    <td class="text-center" width="25%"><strong>19h00</strong></td>
                    <td><small>Barbecue Beer Event</small></td>
                </tr>
                <tr>
                    <td class="text-center"><strong>5/6</strong></td>
                    <td class="text-center"><strong>18h30</strong></td>
                    <td><small>Odoo Awards Ceremony</small></td>
                </tr>
            </table>
            <br/>
            <div class="row">
                <div class="col-xs-5">
                <p>
                    <i class="fa fa-twitter"/> #OpenDays
                </p>
                </div>
                <div class="col-xs-6">
                <div class="small">Wifi network: opendays</div>
                <div class="small">Wifi password: odoo2014</div>
                </div>
            </div>
            <div class="row">
                <small class="col-xs-3" style="float: left; padding-right: 0px; padding-left: 0px;">sponsored by</small>
                <div class="col-xs-2" style="padding-right: 0px; padding-left: 0px;">
                <span>
                    <img class="img img-responsive" src="/base/static/img/logo_white.png"/>
                </span>
                </div>
            </div>
        ]]></field>
            <field name="badge_innerleft"><![CDATA[
            <h2>Premium Tickets</h2>
            <table class="text-center">
                <tr>
                    <td width="10%"></td>
                    <td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>Full</div><div> Catering</div></td>
                    <td width="5%"></td>
                    <td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>BBQ &amp;</div><div>Beer Event</div></td>
                    <td width="5%"></td>
                    <td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>Awards &amp;</div> <div>Walking</div><div> Dinner</div></td>
                    <td width="10%"></td>
                </tr>
                <tr style="background:lightgrey; height: 15px;">
                    <td colspan="7"></td>
                </tr>
                <tr style="background:lightgrey; height: 35px;">
                    <td></td>
                    <td>Every Day</td>
                    <td colspan="3">June 4th</td>
                    <td>June 5th</td>
                    <td></td>
                </tr>
            </table>
            <br/><br/>
            <h2>Free Tickets</h2>
            <table class="text-center">
                <tr>
                    <td width="10%"></td>
                    <td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>Drinks</div></td>
                    <td width="5%"></td>
                    <td width="10%" style="height:45px; width:110px; border-radius: 90px 90px 0 0; -moz-border-radius: 90px 90px 0 0; -webkit-border-radius: 90px 90px 0 0; background:lightgrey; text-align: -webkit-center; padding-top: 10px;"><div>Premium</div><div>Ticket</div><div>onsite</div></td>
                    <td width="25%"></td>
                </tr>
                <tr style="background:lightgrey; height: 15px;">
                    <td colspan="5"></td>
                </tr>
                <tr style="background:lightgrey; height: 35px;">
                    <td></td>
                    <td>Every Day</td>
                    <td></td>
                    <td>60 €/day<div>30 €/Friday</div></td>
                    <td></td>
                </tr>
            </table>
        ]]></field>
        <field name="badge_innerright"><![CDATA[ 
            <div>
                <h2>Exhibition Hall</h2>
            </div>
            <div>
                Picture of the exhibition hall
            </div>
        ]]></field>
    </record>
</odoo>

Anon7 - 2022
AnonSec Team