diff --git a/ssi_helpdesk/models/helpdesk_ticket_data_requirement.py b/ssi_helpdesk/models/helpdesk_ticket_data_requirement.py index efe6489..929f2e9 100644 --- a/ssi_helpdesk/models/helpdesk_ticket_data_requirement.py +++ b/ssi_helpdesk/models/helpdesk_ticket_data_requirement.py @@ -30,6 +30,14 @@ class HelpdeskTicketDataRequirement(models.Model): string="Requirement", required=True, ) + url = fields.Char( + string="URL", + ) + attachment_id = fields.Many2one( + string="Attachment", + comodel_name="ir.attachment", + ondelete="restrict", + ) date_submit = fields.Date( string="Date Submit", ) diff --git a/ssi_helpdesk/views/helpdesk_ticket_views.xml b/ssi_helpdesk/views/helpdesk_ticket_views.xml index 84e7177..4e9fb29 100644 --- a/ssi_helpdesk/views/helpdesk_ticket_views.xml +++ b/ssi_helpdesk/views/helpdesk_ticket_views.xml @@ -117,6 +117,7 @@ + + +