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.8 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <data>
  3. <record model="ir.ui.view" id="privacy_objective_form">
  4. <field name="name">Privacy objective Form</field>
  5. <field name="model">privacy.objective</field>
  6. <field name="arch" type="xml">
  7. <form>
  8. <sheet>
  9. <div class="oe_button_box" name="button_box">
  10. <button class="oe_stat_button" icon="fa-archive" name="toggle_active" type="object">
  11. <field name="active" options='{"terminology": "archive"}' widget="boolean_button"/>
  12. </button>
  13. </div>
  14. <div class="oe_title">
  15. <label for="name" class="oe_edit_only"/>
  16. <h1><field name="name"/></h1>
  17. </div>
  18. <group>
  19. <field name="description" nolabel="1"/>
  20. </group>
  21. </sheet>
  22. </form>
  23. </field>
  24. </record>
  25. <record id="privacy_objective_action" model="ir.actions.act_window">
  26. <field name="name">Privacy Objective</field>
  27. <field name="res_model">privacy.objective</field>
  28. <field name="view_mode">tree,form</field>
  29. <field name="help" type="html">
  30. <p class="oe_view_nocontent_create">
  31. Click to add a privacy objective.
  32. </p>
  33. </field>
  34. </record>
  35. <menuitem name="Objective" groups="privacy.group_data_protection_user" parent="privacy.menu_data_protection_setting" id="menu_privacy_objective" sequence="10"/>
  36. <menuitem name="Objective" sequence="10" action="privacy_objective_action" groups="privacy.group_data_protection_user" parent="menu_privacy_objective" id="menu_privacy_objective_model"/>
  37. </data>