Skip to Content
Menú
This question has been flagged
2 Respostes
6213 Vistes

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

Avatar
Descartar
Autor 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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
0
d’oct. 21
2601
2
de nov. 17
6889
1
de febr. 23
2247
2
de nov. 21
7695
2
de gen. 20
5000