跳至内容
菜单
此问题已终结
2 回复
6330 查看

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

形象
丢弃
相关帖文 回复 查看 活动
0
10月 21
2765
2
11月 17
7078
1
2月 23
2440
2
11月 21
7866
2
1月 20
5143