Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
6259 Представления

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
2667
2
нояб. 17
6981
1
февр. 23
2315
2
нояб. 21
7778
2
янв. 20
5077