Skip to Content
Menu
This question has been flagged
2 Replies
5090 Views

How to add an attachment to Odoo v10 Helpdesk Ticket. There is no option to upload a file.

Avatar
Discard
Author Best Answer

It was very easy, I just added the following lines in the "Submit a ticket" webform:


<div class="col-md-3 col-sm-4 text-right">

                                    <label class="control-label" for="attachment">Archivos Adjuntos</label>

                                </div>

                                <div class="col-md-7 col-sm-8">

                                    <input type="file" class="form-control o_website_form_input" name="Ticket de Venta" multiple=""/>

                                </div>

Avatar
Discard
Best Answer

As well as I am concerned for uploading attachment you have to use ir.attachment model and with the help of that you can upload URL and file both

Avatar
Discard
Related Posts Replies Views Activity
0
Oct 21
1572
2
Nov 17
5556
1
Feb 23
954
2
Nov 21
5922
2
Jan 20
3601