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.

47 lines
2.4 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ********************************************************************** -->
  3. <!--Admin Passkey module for Odoo -->
  4. <!--Copyright (C) 2013-2014 GRAP (http://www.grap.coop) -->
  5. <!--@author Sylvain LE GAL (https://twitter.com/legalsylvain) -->
  6. <!--This program is free software: you can redistribute it and/or modify -->
  7. <!--it under the terms of the GNU Affero General Public License as -->
  8. <!--published by the Free Software Foundation, either version 3 of the -->
  9. <!--License, or (at your option) any later version. -->
  10. <!--This program is distributed in the hope that it will be useful, -->
  11. <!--but WITHOUT ANY WARRANTY; without even the implied warranty of -->
  12. <!--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
  13. <!--GNU Affero General Public License for more details. -->
  14. <!--You should have received a copy of the GNU Affero General Public License-->
  15. <!--along with this program. If not, see <http://www.gnu.org/licenses/>. -->
  16. <!-- ********************************************************************** -->
  17. <openerp>
  18. <data>
  19. <record id="view_res_config_settings" model="ir.ui.view">
  20. <field name="name">base.config.settings.view</field>
  21. <field name="model">base.config.settings</field>
  22. <field name="inherit_id" ref="base_setup.view_general_configuration"/>
  23. <field name="arch" type="xml">
  24. <xpath expr="//label[@string='Email']/.." position='after'>
  25. <group>
  26. <label for="id" string="Passkey"/>
  27. <div>
  28. <div>
  29. <field name="auth_admin_passkey_send_to_admin" class="oe_inline"/>
  30. <label for="auth_admin_passkey_send_to_admin"/>
  31. </div>
  32. <div>
  33. <field name="auth_admin_passkey_send_to_user" class="oe_inline"/>
  34. <label for="auth_admin_passkey_send_to_user"/>
  35. </div>
  36. </div>
  37. </group>
  38. </xpath>
  39. </field>
  40. </record>
  41. </data>
  42. </openerp>