Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
1509 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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 

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
oct. 25
451
1
mai 25
2046
1
mar. 25
2044
1
feb. 25
8322
2
feb. 25
4406