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.

111 lines
3.1 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2017-2019 MuK IT GmbH.
  4. This file is part of MuK Utils
  5. (see https://mukit.at).
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU Lesser General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU Lesser General Public License for more details.
  14. You should have received a copy of the GNU Lesser General Public License
  15. along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. -->
  17. <odoo>
  18. <record id="view_mixins_groups_search" model="ir.ui.view">
  19. <field name="name">muk_utils_mixins_groups.search</field>
  20. <field name="model">muk_utils.mixins.groups</field>
  21. <field name="arch" type="xml">
  22. <search string="Groups">
  23. <field name="name"/>
  24. </search>
  25. </field>
  26. </record>
  27. <record id="view_mixins_groups_tree" model="ir.ui.view">
  28. <field name="name">muk_utils_mixins_groups.tree</field>
  29. <field name="model">muk_utils.mixins.groups</field>
  30. <field name="arch" type="xml">
  31. <tree string="Groups">
  32. <field name="name" />
  33. <field name="count_users" />
  34. </tree>
  35. </field>
  36. </record>
  37. <record id="view_mixins_groups_form" model="ir.ui.view">
  38. <field name="name">muk_utils_mixins_groups.form</field>
  39. <field name="model">muk_utils.mixins.groups</field>
  40. <field name="arch" type="xml">
  41. <form string="Group">
  42. <sheet>
  43. <div class="oe_title">
  44. <label for="name" class="oe_edit_only" />
  45. <h1>
  46. <field name="name" />
  47. </h1>
  48. </div>
  49. <group name="group" string="Group">
  50. <group>
  51. <field name="parent_group" />
  52. </group>
  53. <group>
  54. <field name="count_users" />
  55. </group>
  56. </group>
  57. <notebook>
  58. <page name="users" string="Users">
  59. <field name="users">
  60. <tree string="Users">
  61. <field name="name" />
  62. <field name="login" />
  63. <field name="lang" />
  64. <field name="login_date" />
  65. </tree>
  66. </field>
  67. </page>
  68. <page name="groups" string="Groups">
  69. <field name="groups">
  70. <tree string="Groups">
  71. <field name="name" />
  72. <field name="comment" />
  73. </tree>
  74. </field>
  75. </page>
  76. <page name="extra_users" string="Explicit Users">
  77. <field name="explicit_users">
  78. <tree string="Explicit Users">
  79. <field name="name" />
  80. <field name="login" />
  81. <field name="lang" />
  82. <field name="login_date" />
  83. </tree>
  84. </field>
  85. </page>
  86. <page name="childs" string="Child Groups">
  87. <field name="child_groups">
  88. <tree string="Groups">
  89. <field name="name" />
  90. <field name="count_users" />
  91. </tree>
  92. </field>
  93. </page>
  94. </notebook>
  95. </sheet>
  96. </form>
  97. </field>
  98. </record>
  99. </odoo>