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

Hi All,

I am trying to import many contacts on odoo online and was wondering how i can import their images too with their contacts. I am aware of contact import, want to understand the images import. Any suggestions will greatly help.

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

If you have your contact base in a Google Sheet with their images, you can convert these images to base64 using Google Apps Script. Here's a step-by-step guide on how to do it:

  1. Open your Google Sheet and click on Extensions > Apps Script

Could you create a Google Apps Script that converts images in a Google Sheet to base64? The images are stored as URLs in a specific column, and I want the base64 encoded strings to be saved in the next column.

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

Hello Durga,


    Odoo supports base64 for encoding or decoding image.

    

    Base64 is a method of encoding binary data, such as images, into a text string that can be easily 

    included in text-based formats like JSON, XML, or even a spreadsheet.

    

    So, before importing you have to convert your image to base64 format.

    After that you can import an image too with other data.

    

    Hope this helps.

    

    If you need any help in customization feel free to contact us.

        

Thanks & Regards,

Email:  odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أكتوبر 25
451
1
مايو 25
2046
1
مارس 25
2044
MERGING CONTACTS تم الحل
1
فبراير 25
8322
Use of external id تم الحل
2
فبراير 25
4406