[NEW] Automatic install mailhog. Mailhog integration in Odoo
This commit is contained in:
28
mailcatcher_menu/wizard/install_warning_wizard_view.xml
Normal file
28
mailcatcher_menu/wizard/install_warning_wizard_view.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<odoo>
|
||||
<record id="view_mailcatcher_install_warning_wizard" model="ir.ui.view">
|
||||
<field name="name">mailcatcher.install.warning.wizard.form</field>
|
||||
<field name="model">mailcatcher.install.warning.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Install MailCatcher">
|
||||
<div class="alert alert-warning" role="alert">
|
||||
<h4 class="alert-heading">Warning</h4>
|
||||
<p>
|
||||
You are about to install the <strong>MailCatcher</strong> module.
|
||||
</p>
|
||||
<p>
|
||||
This will also install <strong>MailHog</strong> as a systemd service on this server.
|
||||
MailHog will listen on port <strong>8025</strong> (Web UI) and port <strong>1025</strong> (SMTP).
|
||||
</p>
|
||||
<p>
|
||||
Do you want to proceed with the installation?
|
||||
</p>
|
||||
</div>
|
||||
<footer>
|
||||
<button name="action_confirm_install" type="object"
|
||||
string="Confirm Install" class="btn-primary"/>
|
||||
<button string="Cancel" class="btn-secondary" special="cancel"/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user