diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:14:58 +0700 |
| commit | 1ca3b3df3421961caec3b747a364071c80f5c7da (patch) | |
| tree | 6778a1f0f3f9b4c6e26d6d87ccde16e24da6c9d6 /sh_helpdesk/wizard/mail_compose_view.xml | |
| parent | b57188be371d36d96caac4b8d65a40745c0e972c (diff) | |
initial commit
Diffstat (limited to 'sh_helpdesk/wizard/mail_compose_view.xml')
| -rw-r--r-- | sh_helpdesk/wizard/mail_compose_view.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sh_helpdesk/wizard/mail_compose_view.xml b/sh_helpdesk/wizard/mail_compose_view.xml new file mode 100644 index 0000000..6345618 --- /dev/null +++ b/sh_helpdesk/wizard/mail_compose_view.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<odoo> + <record id="sh_mail_compose_view" model="ir.ui.view"> + <field name="name">mail.compose.message</field> + <field name="model">mail.compose.message</field> + <field name="inherit_id" ref="mail.email_compose_message_wizard_form" /> + <field name="arch" type="xml"> + <field name="subject" position="after"> + <field name="is_wp" invisible="1"/> + <field name="sh_quick_reply_template_id" attrs="{'invisible': [('model', '!=', 'helpdesk.ticket')]}" /> + <field name="body_str" invisible="1" /> + </field> + <xpath expr="//button[@name='action_send_mail']" position="after"> + <button string="Send By Whatsapp" name="action_send_wp" type="object" class="btn-primary o_mail_send" attrs="{'invisible':[('is_wp','=',False)]}" groups="sh_helpdesk.helpdesk_group_whatsapp" /> + </xpath> + </field> + </record> +</odoo> |
