27 lines
1.2 KiB
XML
27 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
<odoo>
|
|
<record id="fleet_vehicle_send_mail_view_form" model="ir.ui.view">
|
|
<field name="model">fleet.vehicle.send.mail</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<group>
|
|
<field name="subject" placeholder="Communication about your vehicle." required="1"/>
|
|
</group>
|
|
<field name="body" nolabel="1" class="oe-bordered-editor"
|
|
widget="html_mail"
|
|
placeholder="Write your message here..."
|
|
force_save="1"/>
|
|
<group>
|
|
<field name="attachment_ids" widget="many2many_binary"/>
|
|
<field name="template_id" string="Load template"/>
|
|
</group>
|
|
<footer>
|
|
<button name="action_send" string="Send" type="object" class="btn-primary" data-hotkey="q"/>
|
|
<button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="x"/>
|
|
<button name="action_save_as_template" string="Save as new template" type="object" class="btn-secondary"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|