CMIS Write
cmis_write · OCA/connector-cmis
-
Security25/25No findings
-
Activity0/25Last human commit 101 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
ir_attachment— Class 'ir_attachment' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceir_attachment— Class 'ir_attachment' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceir_attachment_doc_backend— Class 'ir_attachment_doc_backend' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceir_attachment_doc_backend— Class 'ir_attachment_doc_backend' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceir_attachment_download— Class 'ir_attachment_download' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceir_attachment_download— Class 'ir_attachment_download' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourcemetadata— Class 'metadata' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcemetadata— Class 'metadata' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcemetadata_list— Class 'metadata_list' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcemetadata_list— Class 'metadata_list' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_metadata_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.connector.queue.job`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Add Documents from Odoo/OpenERP
This module allows you to store Odoo/OpenERP document in the DMS repository.
Configuration
- Create a new CMIS backend with the host, login and password.
- Configure the path in the repository where documents will be dropped. By default, it uses the home directory of the user.
Usage
- On one Odoo/OpenERP record, click "Add document".
- Upload your documents
- Uploaded documents will be enqueued for storage in the DMS (Document Management System)
Add Metadata
To manage a custom aspect using CMIS (and all the other supported ways) you have to:
-
Define a new custom model configuring Alfresco. To do this I suggest you http://wiki.alfresco.com/wiki/Step-By-Step:_Creating_A_Custom_Model.
-
Add the custom aspect to the document you upload or create in Alfresco. Using CMIS I suggest you: http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fopencmis-ext-adding.html.
-
Set the custom property in the way you probably know using CMIS.
Contributors
- El Hadji Dem (elhadji.dem@savoirfairelinux.com)
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_document_file_form_doc_backend |
ir.attachment.doc.backend | ir.attachment | form | Inherits document.view_document_file_form |
view_mass_object_form |
metadata.form | metadata | form | New |
view_metadata_tree |
metadata.tree | metadata | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
No new fields.
Public methods (2)-
action_download(self, cr, uid, ids, context=None)Download document if it is available in one of backend -
create(self, cr, uid, values, context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
onchange_model(self, cr, uid, ids, model_id, context=None)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…