中国本土应用
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.

319 lines
20KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <record id="res_config_settings_view_form" model="ir.ui.view">
  5. <field name="name">oec base settings</field>
  6. <field name="model">res.config.settings</field>
  7. <field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
  8. <field name="arch" type="xml">
  9. <div id="appstore" position="attributes">
  10. <attribute name="class">o_hidden</attribute>
  11. </div>
  12. <xpath expr="//div[@data-key='general_settings']" position="before">
  13. <div class="app_settings_block" data-string="Base Settings" string="Base Settings" data-key="oec_base">
  14. <field name="company_id" invisible="1"/>
  15. <div id="branding_settings">
  16. <h2>Branding settings</h2>
  17. <div class="row mt16 o_settings_container">
  18. <div class="col-12 col-lg-6 o_setting_box">
  19. <div class="o_setting_left_pane">
  20. <i class="fa fa-header" role="img" aria-label="Browser Window Title Name" title="Browser Window Title Name"></i>
  21. </div>
  22. <div class="o_setting_right_pane">
  23. <label for="system_name"/>
  24. <div class="text-muted">
  25. The title name displayed on the title bar or status bar of the browser window. Similarly, when a document is added to the user's link list or favorite or bookmark list, the title name will become the default name of the document link.
  26. </div>
  27. <div class="content-group mt8">
  28. <field name="system_name" class="fw-bold w-100"/>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="col-12 col-lg-6 o_setting_box">
  33. <div class="o_setting_left_pane">
  34. <field name="display_company_name" />
  35. </div>
  36. <div class="o_setting_right_pane">
  37. <label for="display_company_name"/>
  38. <div class="text-muted">
  39. Displays the company name in the title bar of the browser window or in the title name on the status bar.
  40. </div>
  41. </div>
  42. </div>
  43. <div class="col-12 col-lg-6 o_setting_box">
  44. <div class="o_setting_left_pane">
  45. <i class="fa fa-picture-o" aria-label="Web Favorites Icon"/>
  46. </div>
  47. <div class="o_setting_right_pane">
  48. <label for="favicon" string="Favorites Icon"/>
  49. <div class="text-muted">
  50. An icon that appears in the title bar or favorites of the browser window.
  51. </div>
  52. <div class="content-group mt8">
  53. <field name="favicon" widget="image"/>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="col-12 col-lg-6 o_setting_box">
  58. <div class="o_setting_left_pane">
  59. <i class="fa fa-picture-o" aria-label="Company Logo"/>
  60. </div>
  61. <div class="o_setting_right_pane">
  62. <label for="logo"/>
  63. <div class="text-muted">
  64. Company logo, which is used to display the website brand.
  65. </div>
  66. <div class="content-group mt8">
  67. <field name="logo" widget="image" class="oe_avatar"/>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="col-12 col-lg-6 o_setting_box">
  72. <div class="o_setting_left_pane">
  73. <i class="fa fa-picture-o" aria-label="Company Square Logo"/>
  74. </div>
  75. <div class="o_setting_right_pane">
  76. <label for="square_logo"/>
  77. <div class="text-muted">
  78. Company Square Logo, It is used to display the website brand when the sidebar collapses.
  79. </div>
  80. <div class="content-group mt8 float-start">
  81. <field name="square_logo" widget="image" class="oe_avatar"/>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </div>
  87. <div id="theme_setting">
  88. <h2>Theme Settings</h2>
  89. <div class="row mt16 o_settings_container">
  90. <div class="col-12 col-lg-6 o_setting_box">
  91. <div class="o_setting_left_pane">
  92. <field name="disable_theme_customizer" />
  93. </div>
  94. <div class="o_setting_right_pane">
  95. <label for="disable_theme_customizer"/>
  96. <div class="text-muted">
  97. If checked, the user will not be able to set the theme, only global theme can be used.
  98. </div>
  99. </div>
  100. </div>
  101. <div class="col-12 col-lg-6 o_setting_box" attrs="{'invisible': [('disable_theme_customizer','=',False)]}">
  102. <div class="o_setting_left_pane">
  103. <i class="fa fa-bars" role="img" aria-label="Navigation settings" title="Navigation settings"></i>
  104. </div>
  105. <div class="o_setting_right_pane">
  106. <span class="o_form_label">Navigation settings</span>
  107. <div class="text-muted">
  108. </div>
  109. <div class="content-group d-flex justify-content-between">
  110. <label for="main_menu_mode" class="o_light_label"/>
  111. <field name="main_menu_mode" required="1"/>
  112. </div>
  113. <div class="content-group d-flex justify-content-between">
  114. <label for="main_submenu_position" class="o_light_label"/>
  115. <field name="main_submenu_position" required="1"/>
  116. </div>
  117. </div>
  118. </div>
  119. <div class="col-12 col-lg-6 o_setting_box" attrs="{'invisible': ['|',('disable_theme_customizer', '=', False),'&amp;',('disable_theme_customizer', '=', False),('main_menu_mode', '!=', '1')]}">
  120. <div class="o_setting_left_pane">
  121. <i class="fa fa-outdent" role="img" aria-label="Sidebar settings" title="Sidebar settings"></i>
  122. </div>
  123. <div class="o_setting_right_pane">
  124. <span class="o_form_label">Sidebar settings</span>
  125. <div class="text-muted">
  126. </div>
  127. <div class="content-group d-flex justify-content-between">
  128. <label for="sidebar_display_number_of_submenus" class="o_light_label"/>
  129. <field name="sidebar_display_number_of_submenus"/>
  130. </div>
  131. <div class="content-group d-flex justify-content-between">
  132. <label for="sidebar_fixed" class="o_light_label"/>
  133. <field name="sidebar_fixed"/>
  134. </div>
  135. <div class="content-group d-flex justify-content-between">
  136. <label for="sidebar_show_minimize_button" class="o_light_label"/>
  137. <field name="sidebar_show_minimize_button"/>
  138. </div>
  139. <div class="content-group d-flex justify-content-between">
  140. <label for="sidebar_default_minimized" class="o_light_label"/>
  141. <field name="sidebar_default_minimized"/>
  142. </div>
  143. <div class="content-group d-flex justify-content-between">
  144. <label for="sidebar_hover_maximize" class="o_light_label"/>
  145. <field name="sidebar_hover_maximize"/>
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. <div id="user_menu_settings">
  152. <h2>User menu settings</h2>
  153. <div class="row mt16 o_settings_container">
  154. <div class="col-12 col-lg-6 o_setting_box">
  155. <div class="o_setting_left_pane">
  156. <field name="enable_documentation" />
  157. </div>
  158. <div class="o_setting_right_pane">
  159. <label for="enable_documentation"/>
  160. <div class="text-muted">
  161. When enable,User can visit user documentation
  162. </div>
  163. <div class="content-group d-flex justify-content-between mt8" attrs="{'invisible': [('enable_documentation','=',False)]}">
  164. <label for="documentation_url" class="o_light_label"/>
  165. <field name="documentation_url" class="fw-bold"/>
  166. </div>
  167. </div>
  168. </div>
  169. <div class="col-12 col-lg-6 o_setting_box">
  170. <div class="o_setting_left_pane">
  171. <field name="enable_support" />
  172. </div>
  173. <div class="o_setting_right_pane">
  174. <label for="enable_support"/>
  175. <div class="text-muted">
  176. When enable,User can vist your support site
  177. </div>
  178. <div class="content-group d-flex justify-content-between mt8" attrs="{'invisible': [('enable_support','=',False)]}">
  179. <label for="support_url" class="o_light_label"/>
  180. <field name="support_url" class="fw-bold"/>
  181. </div>
  182. </div>
  183. </div>
  184. <div class="col-12 col-lg-6 o_setting_box">
  185. <div class="o_setting_left_pane">
  186. <field name="enable_odoo_account" />
  187. </div>
  188. <div class="o_setting_right_pane">
  189. <label for="enable_odoo_account"/>
  190. <div class="text-muted">
  191. If checked, The user menu display the menu item "My Odoo.com account".
  192. </div>
  193. </div>
  194. </div>
  195. <div class="col-12 col-lg-6 o_setting_box">
  196. <div class="o_setting_left_pane">
  197. <field name="enable_lock_screen" />
  198. </div>
  199. <div class="o_setting_right_pane">
  200. <label for="enable_lock_screen"/>
  201. <div class="text-muted">
  202. If checked, The backend page can be locked to ensure data security.
  203. </div>
  204. <div class="content-group d-flex justify-content-between" attrs="{'invisible': [('enable_lock_screen','=',False)]}">
  205. <label for="lock_screen_state_storage_mode" class="o_light_label"/>
  206. <field name="lock_screen_state_storage_mode" required="1"/>
  207. </div>
  208. <div class="text-info float-end">
  209. <span attrs="{'invisible': [('lock_screen_state_storage_mode','!=','1')]}">
  210. Affects <b class="text-warning">current</b> browser access.
  211. </span>
  212. <span attrs="{'invisible': [('lock_screen_state_storage_mode','!=','2')]}">
  213. Affects <b class="text-warning">all</b> browser access.
  214. </span>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="col-12 col-lg-6 o_setting_box">
  219. <div class="o_setting_left_pane">
  220. <field name="enable_developer_tool" />
  221. </div>
  222. <div class="o_setting_right_pane">
  223. <label for="enable_developer_tool"/>
  224. <div class="text-muted">
  225. If checked, everyone login can see the debug menu.
  226. </div>
  227. </div>
  228. </div>
  229. </div>
  230. </div>
  231. <div id="oec_base_modules_install">
  232. <h2>Install the base module</h2>
  233. <div class="row mt16 o_settings_container">
  234. <div class="col-12 col-lg-6 o_setting_box" id="oce_backend_theme_pro_install">
  235. <div class="o_setting_left_pane">
  236. <field name="module_oce_backend_theme_pro" widget="oec_pro_upgrade_boolean"/>
  237. </div>
  238. <div class="o_setting_right_pane" id="oce_backend_theme_pro_settings">
  239. <label for="module_oce_backend_theme_pro" />
  240. <div class="text-muted">
  241. Themes that offer more features.
  242. </div>
  243. <div class="content-group" attrs="{'invisible': [('module_oce_backend_theme_pro', '=', False)]}" id="oce_backend_theme_pro_warning">
  244. <div class="mt4 text-warning">
  245. <strong>Save</strong> this page and come back here to set up other feature.
  246. </div>
  247. </div>
  248. </div>
  249. </div>
  250. </div>
  251. </div>
  252. <div id="oec_hr_modules_install">
  253. <h2>Install the hr module</h2>
  254. <div class="row mt16 o_settings_container"> </div>
  255. </div>
  256. <div id="oec_accounting_modules_install">
  257. <h2>Install the accounting module</h2>
  258. <div class="row mt16 o_settings_container"> </div>
  259. </div>
  260. <div id="oec_im_modules_install">
  261. <h2>Install the instant messaging module</h2>
  262. <div class="row mt16 o_settings_container">
  263. <div class="col-12 col-lg-6 o_setting_box" id="oce_backend_theme_pro_install">
  264. <div class="o_setting_left_pane">
  265. <field name="module_oec_im_wecom_base"/>
  266. </div>
  267. <div class="o_setting_right_pane" id="oec_im_wecom_base_settings">
  268. <label for="module_oec_im_wecom_base" />
  269. <div class="text-muted">
  270. It provides the function of integrating enterprise WeChat.
  271. </div>
  272. <div class="content-group" attrs="{'invisible': [('module_oec_im_wecom_base', '=', False)]}" id="oec_im_wecom_base_warning">
  273. <div class="mt4 text-warning">
  274. <strong>Save</strong> this page and come back here to set up other feature.
  275. </div>
  276. </div>
  277. </div>
  278. </div>
  279. </div>
  280. </div>
  281. </div>
  282. </xpath>
  283. </field>
  284. </record>
  285. <record id="action_base_configuration" model="ir.actions.act_window">
  286. <field name="name">Settings</field>
  287. <field name="type">ir.actions.act_window</field>
  288. <field name="res_model">res.config.settings</field>
  289. <field name="view_mode">form</field>
  290. <field name="target">inline</field>
  291. <field name="context">{'module' : 'oec_base', 'bin_size': False}</field>
  292. </record>
  293. <menuitem id="menu_base_config" name="Base Settings" parent="base.menu_administration" sequence="-1" action="action_base_configuration" groups="base.group_system"/>
  294. </data>
  295. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1