Server IP : 127.0.0.2 / Your IP : 3.14.15.223 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/product/report/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <data> <template id="report_simple_label"> <div class="col-xs-4" style="padding:0;"> <table style="border-spacing:0;margin-bottom:0;height:122px;" class="table"> <thead> <tr style="width: 3in;"> <td style="border: 2px solid black;width: 2.63in;" colspan="2" class="col-xs-8 danger"> <t t-if="product.default_code"> [<strong t-field="product.default_code"/>] </t> <strong t-field="product.name"/> </td> </tr> </thead> <tbody> <tr style="width: 1in;"> <td style="border: 2px solid black;text-align: center; vertical-align: middle;" class="col-xs-5"> <img t-if="product.barcode" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('EAN13', product.barcode, 600, 150)" style="width:100%;height:20%;"/> <span t-field="product.barcode"/> </td> <td style="border: 2px solid black; text-align: center;" class="col-xs-7"> <h4> <strong t-field="product.company_id.currency_id.symbol"/> <strong t-field="product.list_price"/> </h4> </td> </tr> </tbody> </table> </div> </template> <template id="report_productlabel"> <t t-call="report.html_container"> <div class="page"> <t t-foreach="docs" t-as="product"> <t t-call="product.report_simple_label"> <t t-set="product" t-value="product"/> </t> </t> </div> </t> </template> </data> </odoo>