[ADD] helpdesk_convert_ticket_to_task: add new button in ticket to convert into task with many informations
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<record id="convert_to_task_helpdesk_ticket_view_form" model="ir.ui.view">
|
||||
<field name="name">timesheet.helpdesk.ticket.form.view</field>
|
||||
<field name="model">helpdesk.ticket</field>
|
||||
<field name="inherit_id" ref="helpdesk_mgmt.ticket_view_form" />
|
||||
<field name="priority" eval="20" />
|
||||
<field name="arch" type="xml">
|
||||
<div name="button_box" position="inside">
|
||||
<button
|
||||
name="button_convert_to_task"
|
||||
title="Convert to task"
|
||||
string="Convert to task"
|
||||
icon="fa-tasks text-success"
|
||||
type="object"
|
||||
confirm="Are you sure you want to convert this ticket into a task ? You'll be redirected to the newly created task and this ticket will be archived."
|
||||
/>
|
||||
</div>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
Reference in New Issue
Block a user