Caldav and Carddav support
base_dav · OCA/server-backend
Health
39/100
poor
-
Security19/252 minor findings
-
Activity0/25Last human commit 76 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
4 migration notes
2 models
4 views
2 HTTP endpoints
Migration considerations
DavCollection— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (11 methods) migration-api-multi-one · sourceDavCollectionFieldMapping— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (6 methods) migration-api-multi-one · sourceview_dav_collection_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · sourceview_dav_collection_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (2 occurrences in this file) migration-view-tree-tag · 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
Dependencies
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- radicale
- System dependencies
- None
- Required by
- calendar_dav
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_dav_collection_form |
dav.collection | form | New | |
view_dav_collection_mapping_form |
dav.collection.field_mapping | form | New | |
view_dav_collection_mapping_tree |
dav.collection.field_mapping | tree | New | |
view_dav_collection_tree |
dav.collection | tree | New |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | Main.handle_dav_request |
none | http | ALL | csrf off |
/.well-known/carddav, /.well-known/caldav, /.well-known/webdav |
Main.handle_well_known_request |
none | http | ALL | csrf off |
Models touched 2
New fields (9)
-
dav_typeSelectiondefault='calendar'required=Truestring='Type' args: [('calendar', 'Calendar'), ('addressbook', 'Addressbook'), ('files', 'Files')] -
domainChardefault='[]'required=True -
field_mapping_idsOne2many → dav.collection.field_mappingstring='Field mappings' args: 'dav.collection.field_mapping', 'collection_id' -
field_uuidMany2one → ir.model.fieldsargs: 'ir.model.fields' -
model_idMany2one → ir.modeldomain=[('transient', '=', False)]required=Truestring='Model' args: 'ir.model' -
nameCharrequired=True -
rightsSelectiondefault='owner_only'required=True args: [('owner_only', 'Owner Only'), ('owner_write_only', 'Owner Write Only'), ('authenticated', 'Authenticated')] -
tagCharcompute='_compute_tag' -
urlCharcompute='_compute_url'
-
dav_delete(self, collection, components)@api.multi -
dav_get(self, collection, href)@api.multi -
dav_list(self, collection, path_components)@api.multi -
dav_upload(self, collection, href, item)@api.multi -
eval(self)@api.multi -
from_vobject(self, item)@api.multi -
get_record(self, components)@api.multi -
to_vobject(self, record)@api.multi
New fields (7)
-
collection_idMany2one → dav.collectionondelete='cascade'required=True args: 'dav.collection' -
export_codeTexthelp='Code to export the value to a vobject. Use the variable result for the output of the value and record as input' -
field_idMany2one → ir.model.fieldshelp='Field of the model the values are mapped to'required=True args: 'ir.model.fields' -
import_codeTexthelp='Code to import the value from a vobject. Use the variable result for the output of the value and item as input' -
mapping_typeSelectiondefault='simple'required=True args: [('simple', 'Simple'), ('code', 'Code')] -
model_idMany2one → ir.modelrelated='collection_id.model_id' args: 'ir.model' -
nameCharhelp='Attribute name in the vobject'required=True
-
from_vobject(self, child)@api.multi -
to_vobject(self, record)@api.multi
Loading…