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.

100 lines
2.7 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_tree" model="ir.ui.view">
  19. <field name="name">muk_utils_mixins_groups.tree</field>
  20. <field name="model">muk_utils.mixins.groups</field>
  21. <field name="arch" type="xml">
  22. <tree string="Groups">
  23. <field name="name" />
  24. <field name="count_users" />
  25. </tree>
  26. </field>
  27. </record>
  28. <record id="view_mixins_groups_form" model="ir.ui.view">
  29. <field name="name">muk_utils_mixins_groups.form</field>
  30. <field name="model">muk_utils.mixins.groups</field>
  31. <field name="arch" type="xml">
  32. <form string="Group">
  33. <sheet>
  34. <div class="oe_title">
  35. <label for="name" class="oe_edit_only" />
  36. <h1>
  37. <field name="name" />
  38. </h1>
  39. </div>
  40. <group name="group" string="Group">
  41. <group>
  42. <field name="parent_group" />
  43. </group>
  44. <group>
  45. <field name="count_users" />
  46. </group>
  47. </group>
  48. <notebook>
  49. <page name="users" string="Users">
  50. <field name="users">
  51. <tree string="Users">
  52. <field name="name" />
  53. <field name="login" />
  54. <field name="lang" />
  55. <field name="login_date" />
  56. </tree>
  57. </field>
  58. </page>
  59. <page name="groups" string="Groups">
  60. <field name="groups">
  61. <tree string="Groups">
  62. <field name="name" />
  63. <field name="comment" />
  64. </tree>
  65. </field>
  66. </page>
  67. <page name="extra_users" string="Explicit Users">
  68. <field name="explicit_users">
  69. <tree string="Explicit Users">
  70. <field name="name" />
  71. <field name="login" />
  72. <field name="lang" />
  73. <field name="login_date" />
  74. </tree>
  75. </field>
  76. </page>
  77. <page name="childs" string="Child Groups">
  78. <field name="child_groups">
  79. <tree string="Groups">
  80. <field name="name" />
  81. <field name="count_users" />
  82. </tree>
  83. </field>
  84. </page>
  85. </notebook>
  86. </sheet>
  87. </form>
  88. </field>
  89. </record>
  90. </odoo>