|
- <?xml version="1.0" encoding="utf-8"?>
- <odoo>
-
- <data>
- <record id="view_users_form_simple_modif" model="ir.ui.view">
- <field name="name">res.users.form</field>
- <field name="model">res.users</field>
- <field name="inherit_id" ref="base.view_users_form_simple_modif"/>
- <field name="arch" type="xml">
- <xpath expr="//page[last()]" position="after">
- <page string="Theme" name="theme">
- <group>
- <group string="Main">
- <!-- <field name="theme_id" invisible="1"/> -->
- <!-- readonly="1" -->
- <!-- <field name="theme_id" options="{'no_create_edit': True, 'no_open': True}" /> -->
- <field name="main_menu_mode"/>
- <field name="main_submenu_position"/>
- </group>
- <group string="Sidebar Navigation">
- <field name="sidebar_display_number_of_submenus" widget="boolean_toggle"/>
- <field name="sidebar_fixed" widget="boolean_toggle"/>
- <field name="sidebar_show_minimize_button" widget="boolean_toggle"/>
- <field name="sidebar_default_minimized" widget="boolean_toggle"/>
- <field name="sidebar_hover_maximize" widget="boolean_toggle"/>
- </group>
- </group>
- </page>
- </xpath>
- </field>
- </record>
-
- <record id="view_users_form" model="ir.ui.view">
- <field name="name">res.users.form</field>
- <field name="model">res.users</field>
- <field name="inherit_id" ref="base.view_users_form"/>
- <field name="arch" type="xml">
- <xpath expr="//page[last()]" position="after">
- <page string="Theme" name="theme">
- <group>
- <group string="Main">
- <!-- <field name="theme_id" invisible="1"/> -->
- <!-- readonly="1" -->
- <!-- <field name="theme_id" options="{'no_create_edit': True, 'no_open': True}"/> -->
- <field name="main_menu_mode"/>
- <field name="main_submenu_position"/>
- </group>
- <group string="Sidebar Navigation">
- <field name="sidebar_display_number_of_submenus" widget="boolean_toggle"/>
- <field name="sidebar_fixed" widget="boolean_toggle"/>
- <field name="sidebar_show_minimize_button" widget="boolean_toggle"/>
- <field name="sidebar_default_minimized" widget="boolean_toggle"/>
- <field name="sidebar_hover_maximize" widget="boolean_toggle"/>
- </group>
- </group>
- </page>
- </xpath>
- </field>
- </record>
-
- </data>
-
- </odoo>
|