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> <!-- View --> <record id="view_view_form" model="ir.ui.view"> <field name="model">ir.ui.view</field> <field name="arch" type="xml"> <form string="Views"> <sheet> <group> <group> <field name="name"/> <field name="type"/> <field name="model"/> <field name="priority"/> <field name="active"/> </group> <group groups="base.group_no_one"> <field name="field_parent"/> <field name="inherit_id"/> <field name="mode"/> <field name="model_data_id"/> <field name="xml_id"/> </group> </group> <notebook> <page string="Architecture"> <button type="object" name="open_translations" string="Edit Translations" class="oe_link oe_right"/> <field name="arch_base" widget="ace" options="{'mode': 'xml'}"/> </page> <page string="Access Rights"> <field name="groups_id"/> </page> <page name="inherit_children" string="Inherited Views"> <field name="inherit_children_ids" context="{'default_model':model,'default_type':type,'default_inherit_id':active_id,'default_mode':'extension'}"> <tree> <field name="priority"/> <field name="name"/> <field name="xml_id"/> </tree> </field> </page> </notebook> </sheet> </form> </field> </record> <record id="view_view_tree" model="ir.ui.view"> <field name="model">ir.ui.view</field> <field name="arch" type="xml"> <tree string="Views"> <field name="priority" string="Sequence" widget="handle"/> <field name="name"/> <field name="type"/> <field name="model"/> <field name="xml_id" groups="base.group_no_one"/> <field name="inherit_id"/> </tree> </field> </record> <record id="view_view_search" model="ir.ui.view"> <field name="model">ir.ui.view</field> <field name="arch" type="xml"> <search string="Views"> <field name="name" filter_domain="['|', '|', ('name','ilike',self), ('model','ilike',self), ('model_data_id','ilike',self)]" string="View"/> <filter string="Active" name="active" domain="[('active', '=',True)]"/> <filter string="Inactive" domain="[('active', '=',False)]"/> <separator/> <filter string="Form" domain="[('type', '=','form')]"/> <filter string="Tree" domain="[('type', '=', 'tree')]"/> <filter string="Kanban" domain="[('type', '=', 'kanban')]"/> <filter string="Search" domain="[('type', '=', 'search')]"/> <filter string="QWeb" domain="[('type', '=', 'qweb')]"/> <field name="model"/> <field name="inherit_id"/> <field name="type"/> <field name="arch_db" string="View Architecture"/> <group expand="0" string="Group By"> <filter string="Object" domain="[]" context="{'group_by':'model'}"/> <filter string="Type" domain="[]" context="{'group_by':'type'}"/> <filter string="Inherit" domain="[]" context="{'group_by':'inherit_id'}"/> </group> </search> </field> </record> <record id="action_ui_view" model="ir.actions.act_window"> <field name="name">Views</field> <field name="type">ir.actions.act_window</field> <field name="res_model">ir.ui.view</field> <field name="view_id" ref="view_view_tree"/> <field name="context">{'search_default_active': 1}</field> <field name="help">Views allows you to personalize each view of Odoo. You can add new fields, move fields, rename them or delete the ones that you do not need.</field> </record> <menuitem action="action_ui_view" id="menu_action_ui_view" parent="base.next_id_2" sequence="2"/> <!-- View customizations --> <record id="view_view_custom_form" model="ir.ui.view"> <field name="model">ir.ui.view.custom</field> <field name="arch" type="xml"> <form string="Customized Views"> <sheet> <group col="4"> <field name="user_id"/> <field name="ref_id"/> <separator string="View Architecture" colspan="4" /> <field name="arch" colspan="4" nolabel="1"/> </group> </sheet> </form> </field> </record> <record id="view_view_custom_tree" model="ir.ui.view"> <field name="model">ir.ui.view.custom</field> <field name="arch" type="xml"> <tree string="Customized Views"> <field name="user_id"/> <field name="ref_id"/> </tree> </field> </record> <record id="view_view_custom_search" model="ir.ui.view"> <field name="model">ir.ui.view.custom</field> <field name="arch" type="xml"> <search string="Customized Views"> <field name="user_id"/> <field name="ref_id"/> </search> </field> </record> <record id="action_ui_view_custom" model="ir.actions.act_window"> <field name="name">Customized Views</field> <field name="type">ir.actions.act_window</field> <field name="res_model">ir.ui.view.custom</field> <field name="help" type="html"><p class="oe_view_nocontent_create">Click here to create a customized view</p><p>Customized views are used when users reorganize the content of their dashboard views (via web client)</p></field> </record> <menuitem id="menu_action_ui_view_custom" action="action_ui_view_custom" parent="base.next_id_2" sequence="3"/> </odoo>