lp:~neobis/+junk/neobis_aexim
AEXIM, the Attachment Exporter and Importer
This OpenERP module exports a selection or all attachments as files to a directory.
It can used for example, when there's already attachments stored in the database and you want to
install the document-module without loosing all the stored attachments (on OpenERP v5).
To achieve this follow these simple steps:
1) Start export-wizard to write all attachment-files to defined directory
2) remove all attachments from database.
3) install the document-module
4) create one empty attachment (else the import wizard isn't accesible)
5) Start import-wizard to load all attachment-files from defined directory
The exported files have attachment-
* Attached Model
* Attached Id
* Attachment Name,
* File Name
This way it can re-import the files as attachments with their meta-data intact.
NOTE: when importing the exported-
OpenERP will create these files again, but now in the ./bin/filestore directory!
So effectively you'll need double the space on disk!
- Get this branch:
- bzr branch lp:~neobis/+junk/neobis_aexim
Branch information
Recent revisions
- 2. By Elias Hermoso Illera <elias@neosws06>
-
[IMP] - Implemented import skipping all attachments that have a missing reference!
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)