Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6311 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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>

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 21
2741
2
thg 11 17
7038
1
thg 2 23
2406
2
thg 11 21
7839
2
thg 1 20
5128