コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
1501 ビュー

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
10月 25
451
1
5月 25
2046
1
3月 25
2044
1
2月 25
8322
2
2月 25
4406