Server IP : 127.0.0.2 / Your IP : 3.15.31.125 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/odoo/addons/base/ir/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <!-- Translations --> <record id="view_translation_search" model="ir.ui.view"> <field name="model">ir.translation</field> <field name="arch" type="xml"> <search string="Translations"> <filter string="Untranslated" domain="['|','|',('state','=','to_translate'),('value', '=', False),('value','=','')]"/> <filter name="openerp-web" string="Web-only translations" domain="[('comments', 'like', 'openerp-web')]"/> <field name="lang"/> <field name="source"/> <field name="value"/> <field name="name" filter_domain="('|', ('name', '=', self), ('name', 'ilike', self + ','))" string="Model"/> <field name="res_id" filter_domain="('&', ('name', '=', 'ir.ui.view,arch_db'), ('res_id', '=', self))" string="View ID"/> </search> </field> </record> <record id="view_translation_form" model="ir.ui.view"> <field name="model">ir.translation</field> <field name="arch" type="xml"> <form string="Translations"> <header> <field name="state" widget="statusbar" nolabel="1"/> </header> <sheet> <group> <group> <field name="name"/> <field name="lang"/> </group> <group> <field name="module" groups="base.group_no_one"/> <field name="type"/> <field name="res_id"/> </group> <group string="Source Term"> <field name="source" nolabel="1" height="400"/> </group> <group string="Translation"> <field name="value" nolabel="1" height="400"/> </group> <group string="Comments"> <field name="comments" nolabel="1" height="100"/> </group> </group> </sheet> </form> </field> </record> <record id="view_translation_tree" model="ir.ui.view"> <field name="model">ir.translation</field> <field name="arch" type="xml"> <tree string="Translations" editable="top"> <field name="source"/> <field name="value"/> <field name="name"/> <field name="lang"/> <field name="type"/> <field name="state"/> </tree> </field> </record> <record id="view_translation_dialog_tree" model="ir.ui.view"> <field name="model">ir.translation</field> <field name="arch" type="xml"> <tree string="Translations" editable="top" create="false"> <field name="lang" readonly="1"/> <field name="name" readonly="1"/> <field name="source"/> <field name="value"/> <field name="state"/> </tree> </field> </record> <record id="action_translation" model="ir.actions.act_window"> <field name="name">Translated Terms</field> <field name="res_model">ir.translation</field> <field name="view_type">form</field> <field name="view_id" ref="view_translation_tree"/> </record> <menuitem action="action_translation" id="menu_action_translation" parent="base.menu_translation_app" /> </odoo>