Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
6264 Visualizzazioni

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

Avatar
Abbandona
Autore Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
ott 21
2680
2
nov 17
6989
1
feb 23
2335
2
nov 21
7797
2
gen 20
5082