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.

40 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2019-2020 Elouan Le Bars <elouan@coopiteasy.be>
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <openerp>
  7. <data>
  8. <record model="ir.ui.view" id="shift_settings_view_form">
  9. <field name="name">Shifts Configuration Form</field>
  10. <field name="model">beesdoo.shift.config.settings</field>
  11. <field name="arch" type="xml">
  12. <form string="Settings" class="oe_form_configuration" create="false" delete="false" >
  13. <header>
  14. <button string="Apply" type="object" name="execute" class="oe_highlight"/>
  15. <button string="Cancel" type="object" name="cancel" class="oe_link"/>
  16. </header>
  17. <separator string="General Settings"/>
  18. <group name="Attendance Sheets">
  19. <field name="default_task_type_id"/>
  20. </group>
  21. </form>
  22. </field>
  23. </record>
  24. <record model="ir.actions.act_window" id="action_shift_settings">
  25. <field name="name">Settings</field>
  26. <field name="res_model">beesdoo.shift.config.settings</field>
  27. <field name="view_mode">form</field>
  28. <field name="target">inline</field>
  29. </record>
  30. <menuitem name="Settings"
  31. id="menu_shift_settings"
  32. parent="menu_configuration_top"
  33. action="action_shift_settings"
  34. groups="beesdoo_shift.group_cooperative_admin"
  35. />
  36. </data>
  37. </openerp>