CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
To my knowledge the export capability of OpenERP does not include saving as an image.
However, depending on your set up and programming skills, it does not need to be problem at all.
You can try the following:
First, export a single contact, specifying only
Image as the output. You will get a
comma separated file (CSV) like this :
"id","image" "__export__.res_partner_194","/9j/4AAQSkZJR . . . huge length of junk ....M53T8z/2Q=="
Next you should edit it with a very simple editor, that saves without adding any formatting at all. Delete everything before the
/9j/. Also, delete the double quote at the very end. You want to save only the part that begins with
/9j/ and ends with
==. Like this:
/9j/4AAQSkZJR . . . huge length of junk ....M53T8z/2Q==
Save that as a new file called
Now open this URL : http://i-tools.org/base64
Where it says
Download result? choose
"Yes, download." Now you can browse to find your file
myContact.b64. With that selected, choose
Decode and save the resulting file. It will save it as
myContact.dat in an image editor and there you go.
If you have a "good" Linux distribution it probably already has a tool called "base64". Type the following at a command prompt to find out . . .
. . . if you get something like . . .
base64 (GNU coreutils) 8.13 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Simon Josefsson.
. . . then you can run . . .
base64 --ignore-garbage -d myContact.b64 > myContact.dat
You can then see your image
myContact.dat in any image editor or viewer, and refer to it in your reports.
About This Community
Odoo Training Center
|Asked: 4/3/13, 6:36 AM|
|Seen: 2923 times|
|Last updated: 3/16/15, 8:10 AM|