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.

48 lines
2.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2018 Aitor Bouzas <aitor.bouzas@adaptivecity.com>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record id="view_users_form_simple_modif_inherit" model="ir.ui.view">
  6. <field name="name">res.users.form.simple.view.modif.inherit</field>
  7. <field name="model">res.users</field>
  8. <field name="inherit_id" ref="base.view_users_form"/>
  9. <field name="arch" type="xml">
  10. <xpath expr="//notebook/page[1]" position="after">
  11. <page string="Test web notify" name="test_web_notify">
  12. <group>
  13. <group>
  14. <button name="notify_success"
  15. type="object"
  16. string="Test success notification"
  17. class="oe_highlight"/>
  18. </group>
  19. <group>
  20. <button name="notify_danger"
  21. type="object"
  22. string="Test danger notification"
  23. class="oe_highlight"/>
  24. </group>
  25. <group>
  26. <button name="notify_warning"
  27. type="object"
  28. string="Test warning notification"
  29. class="oe_highlight"/>
  30. </group>
  31. <group>
  32. <button name="notify_info"
  33. type="object"
  34. string="Test info notification"
  35. class="oe_highlight"/>
  36. </group>
  37. <group>
  38. <button name="notify_default"
  39. type="object"
  40. string="Test default notification"
  41. class="oe_highlight"/>
  42. </group>
  43. </group>
  44. </page>
  45. </xpath>
  46. </field>
  47. </record>
  48. </odoo>