You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
1.3 KiB

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!-- Inherited the form view of help.ticket and to add some fields and some button-->
<record id="ticket_helpdesk_view_form" model="ir.ui.view">
<field name="name">ticket.helpdesk.view.form.inherit.odoo.zendesk.connector</field>
<field name="model">ticket.helpdesk</field>
<field name="inherit_id" ref="odoo_website_helpdesk.ticket_helpdesk_view_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='email']" position="attributes">
<attribute name="required">1</attribute>
</xpath>
<field name="end_date" position="after">
<field name="zendesk_ticket_no"/>
<field name="is_ticket_from_zendesk" invisible="1"/>
</field>
<xpath expr="//header" position="inside">
<button string="Create to Zendesk"
type="object" name="action_create_to_zendesk"/>
<button string="Update"
type="object" name="action_update_zendesk_ticket"/>
<button string="Delete From Zendesk"
type="object" name="action_delete_zendesk_ticket"/>
</xpath>
</field>
</record>
</odoo>