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

In a custom module I'm uploading an image file to the database. Now I want to get some attribtues from the upload file, while the image file is uploading to odoo and save this attributes in the database. To get the filename I use following code in the form.view:

<field name="image" filename="name"/>

With the parameter filename="name" the filename from the image file is saved into the database field name. This works fine.

My question is now, how can I get other attributes from the uploading image file? For example I want to get the recording date, resolution, image size ... Has anybody an idea how to get this attributes from the uploding image file to save this information in the database record?

Many Thanks!


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يونيو 25
1431
1
فبراير 23
4249
3
نوفمبر 22
3920
0
يوليو 15
3776
File Upload تم الحل
1
ديسمبر 23
19381