تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6260 أدوات العرض

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
أكتوبر 21
2675
2
نوفمبر 17
6987
1
فبراير 23
2324
2
نوفمبر 21
7791
2
يناير 20
5080