Hi all, Importing binary field is quiet difficult for now. Here are the ways to achieve importing of binary fields: - Use RPC with external program. - Use Base64 encoded, XML, CSV, YAML
So for embedding binary data into module: only Base64 is available. Having physical file could be easier: - physical file "icon.png" in the module directory. - In CSV, XML, YAML file, use "@icon.png" or something like this as field value. Notice that the "@" is not in Base64 allowed characters. So if the import parser finds data (for binary field) that begin with "@" it will search for the file, and getting its content. What do you think of this solution ? Blueprint: https://blueprints.launchpad.net/openobject-server/+spec/import-file-in-binary Forum topic: http://openobject.com/forum/topic6577.html Nicolas DS _______________________________________________ Mailing list: https://launchpad.net/~openerp-expert-framework Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-expert-framework More help : https://help.launchpad.net/ListHelp

