跳至內容
選單
此問題已被標幟
2 回覆
6254 瀏覽次數

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
2666
2
11月 17
6976
1
2月 23
2307
2
11月 21
7777
2
1月 20
5074