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.

95 lines
2.6 KiB

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