中国本土应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
3.2KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <record id="view_users_form_simple_modif" model="ir.ui.view">
  5. <field name="name">res.users.form</field>
  6. <field name="model">res.users</field>
  7. <field name="inherit_id" ref="base.view_users_form_simple_modif"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//page[last()]" position="after">
  10. <page string="Theme" name="theme">
  11. <group>
  12. <group string="Main">
  13. <!-- <field name="theme_id" invisible="1"/> -->
  14. <!-- readonly="1" -->
  15. <!-- <field name="theme_id" options="{'no_create_edit': True, 'no_open': True}" /> -->
  16. <field name="main_menu_mode"/>
  17. <field name="main_submenu_position"/>
  18. </group>
  19. <group string="Sidebar Navigation">
  20. <field name="sidebar_display_number_of_submenus" widget="boolean_toggle"/>
  21. <field name="sidebar_fixed" widget="boolean_toggle"/>
  22. <field name="sidebar_show_minimize_button" widget="boolean_toggle"/>
  23. <field name="sidebar_default_minimized" widget="boolean_toggle"/>
  24. <field name="sidebar_hover_maximize" widget="boolean_toggle"/>
  25. </group>
  26. </group>
  27. </page>
  28. </xpath>
  29. </field>
  30. </record>
  31. <record id="view_users_form" model="ir.ui.view">
  32. <field name="name">res.users.form</field>
  33. <field name="model">res.users</field>
  34. <field name="inherit_id" ref="base.view_users_form"/>
  35. <field name="arch" type="xml">
  36. <xpath expr="//page[last()]" position="after">
  37. <page string="Theme" name="theme">
  38. <group>
  39. <group string="Main">
  40. <!-- <field name="theme_id" invisible="1"/> -->
  41. <!-- readonly="1" -->
  42. <!-- <field name="theme_id" options="{'no_create_edit': True, 'no_open': True}"/> -->
  43. <field name="main_menu_mode"/>
  44. <field name="main_submenu_position"/>
  45. </group>
  46. <group string="Sidebar Navigation">
  47. <field name="sidebar_display_number_of_submenus" widget="boolean_toggle"/>
  48. <field name="sidebar_fixed" widget="boolean_toggle"/>
  49. <field name="sidebar_show_minimize_button" widget="boolean_toggle"/>
  50. <field name="sidebar_default_minimized" widget="boolean_toggle"/>
  51. <field name="sidebar_hover_maximize" widget="boolean_toggle"/>
  52. </group>
  53. </group>
  54. </page>
  55. </xpath>
  56. </field>
  57. </record>
  58. </data>
  59. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1