Server IP : 127.0.0.2 / Your IP : 18.117.241.170 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/hr_expense/data/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <template id="hr_expense_planner"> <t t-call="web_planner.pages"> <t t-call="web_planner.category"> <t t-set="menu_categorytitle">Setup</t> <t t-set="menu_categoryclasses" t-value="'fa-magic'"/> <t t-call="web_planner.page"> <t t-set="page_title">Get Mobile</t> <t t-if="not (alias_name and alias_domain)"> <div class="alert alert-warning" role="alert"> <strong>Your email gateway is not configured.</strong> Please configure your email gateway from the Settings app, menu <i>General Settings</i>. </div> <p> Once your email gateway is configured, come back to this screen to setup the next steps. </p> </t> <t t-if="alias_name and alias_domain"> <p> To create expenses by email, take photos of your receipts and send them by email with the following information: </p> <dl class="dl-horizontal"> <dt>From: Your Email</dt> <dd>Your Email Address</dd> <dt>To:</dt> <dd><t t-esc="alias_name"/>@<t t-esc="alias_domain"/></dd> <dt>Subject: </dt> <dd><strong class="text-info">[PRODUCT CODE]</strong> Free Description <strong class="text-primary">PRICE</strong></dd> </dl> <hr class="mb32"/> <p> The <strong class="text-info">PRODUCT CODE</strong> is optional and should be the internal code of one of your expense product. This will set the right product automatically on your expense Odoo. </p><p> You can set an optionnal <strong class="text-primary">PRICE</strong> at the end of the subject of your email. </p><p class="mb32"> The photo of the receipt and the description of the email will be attached to the expense. That way, you get everything attached to fill the remaining fields later on. </p> <div class="alert alert-info" role="alert"> <b>Note:</b> Set the same email address on your employee form than the one you use are your "From:". Otherwise, your expenses will not be accepted by email. </div> </t> </t> </t> <t t-call="web_planner.page"> <t t-set="page_title">End</t> <t t-set="hide_title" t-value="True"/> <t t-set="hide_from_menu" t-value="True"/> <t t-set="hide_mark_as_done" t-value="True"/> <h1 class="text-center o_planner_trophy" data-icon="" /> <div class="text-center"> <h1>Congratulations, you're done!</h1> <h3>We hope this feature helped you manage your expenses efficiently.</h3> <h4>Don't hesitate to <a href="mailto:info@odoo.com?subject=HrExpense%20Planner" target="_blank">send us an email</a> to describe<br/> your experience or to suggest improvements!</h4> <p>Have a wonderful day,<br/>- The Odoo Team</p> <img src="/web_planner/static/src/img/odoo_logo.png"/> </div> </t> </t> </template> <!--Planner Data--> <record id="planner_hr_expense" model="web.planner"> <field name="name">Expense strategy planner</field> <field name="view_id" ref="hr_expense_planner"/> <field name="menu_id" ref="hr_expense.menu_hr_expense_root"/> <field name="planner_application">planner_hr_expense</field> <field name="tooltip_planner"><![CDATA[ Send receipts by email to create expenses efficiently. ]]> </field> </record> </odoo>