webclient_templates.xml 634 B

1234567891011121314151617
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="login_successful" inherit_id="web.login_successful">
  4. <xpath expr="//div[hasclass('oe_login_form')]/p" position="before">
  5. <p class="alert alert-success" t-if="account_created" role="status">
  6. Registration successful.
  7. </p>
  8. <!-- Remove parameter from URL, do not show "Account created" if page is refreshed -->
  9. <script defer="defer" type="text/javascript">
  10. window.history.replaceState({}, null, '/web/login_successful');
  11. </script>
  12. </xpath>
  13. </template>
  14. </odoo>