Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
6366 Переглядів

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

Аватар
Відмінити
Автор Найкраща відповідь

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>

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
жовт. 21
2784
2
лист. 17
7103
1
лют. 23
2463
2
лист. 21
7904
2
січ. 20
5160