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

Hi there,
We've created a url field as below -

call_recording = fields.Char(string="Call Recording",tracking=True)

and we want to add an audio element in the view as below-



The above code displays a blank audio tag without src.
Any idea, how can we populate value of call_recording field inside the audio source?

Thanks 

الصورة الرمزية
إهمال
أفضل إجابة

Can't see the example you added...
As a guess you need to create a custom widget that renders an audio element with the field data.

Thanks & Regards, 

 

Brain Station 23 Ltd. 

Mobile: (+880) 1404055226 

Email: sales@brainstation-23.com 

Web: https://brainstation-23.com/ 

Address: (Building-1) 8th Floor, 2 Bir Uttam AK Khandakar Road, Mohakhali C/A, Dhaka 1212, Bangladesh 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 24
1226
2
سبتمبر 23
2106
1
ديسمبر 23
4188
1
يناير 23
4887
2
يونيو 23
2320