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.

30 lines
1.3 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_info"
  15. type="object"
  16. string="Test info notification"
  17. class="oe_highlight"/>
  18. </group>
  19. <group>
  20. <button name="notify_warning"
  21. type="object"
  22. string="Test warning notification"
  23. class="oe_highlight"/>
  24. </group>
  25. </group>
  26. </page>
  27. </xpath>
  28. </field>
  29. </record>
  30. </odoo>