Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6343 มุมมอง

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
2775
2
พ.ย. 17
7087
1
ก.พ. 23
2449
2
พ.ย. 21
7876
2
ม.ค. 20
5147