mail_plugin_login.xml 1.1 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="mail_plugin.app_auth" name="Accept app">
  4. <t t-call="web.login_layout">
  5. <t t-set="disable_database_manager" t-value="1"/>
  6. <form role="form" method="post" action="/mail_plugin/auth/confirm">
  7. <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
  8. <input type="hidden" name="redirect" t-att-value="redirect"/>
  9. <input type="hidden" name="scope" t-att-value="scope"/>
  10. <input type="hidden" name="state" t-att-value="state"/>
  11. <input type="hidden" name="friendlyname" t-att-value="friendlyname"/>
  12. <p class="text-center">
  13. Let <t t-esc="friendlyname" /> access your Odoo database?
  14. </p>
  15. <p class="text-center">
  16. <button type="submit" name="do" value="1" class="btn btn-link btn-sm">Allow</button>
  17. <button type="submit" name="do" class="btn btn-link btn-sm">Deny</button>
  18. </p>
  19. </form>
  20. </t>
  21. </template>
  22. </odoo>