Repository
OCA/server-backend · module folder · Try on Runboat
Module version
1.0.0
Category
Extra Tools
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-07 07:25:00
Authors
Odoo Community Association (OCA), Therp BV, initOS GmbH
Maintainers
Odoo Community Association (OCA), Therp BV, initOS GmbH
Committers
GitHub, fkantelberg, OCA-git-bot, oca-travis
Odoo dependencies
odoo/odoo:
Python dependencies
radicale
System dependencies
None
Required by
calendar_dav
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
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)HandlerAuthTypeMethodsFlags
(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_type Selection
    default='calendar' required=True string='Type' args: [('calendar', 'Calendar'), ('addressbook', 'Addressbook'), ('files', 'Files')]
  • domain Char
    default='[]' required=True
  • field_mapping_ids One2many → dav.collection.field_mapping
    string='Field mappings' args: 'dav.collection.field_mapping', 'collection_id'
  • field_uuid Many2one → ir.model.fields
    args: 'ir.model.fields'
  • model_id Many2one → ir.model
    domain=[('transient', '=', False)] required=True string='Model' args: 'ir.model'
  • name Char
    required=True
  • rights Selection
    default='owner_only' required=True args: [('owner_only', 'Owner Only'), ('owner_write_only', 'Owner Write Only'), ('authenticated', 'Authenticated')]
  • tag Char
    compute='_compute_tag'
  • url Char
    compute='_compute_url'
Public methods (8)
  • 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_id Many2one → dav.collection
    ondelete='cascade' required=True args: 'dav.collection'
  • export_code Text
    help='Code to export the value to a vobject. Use the variable result for the output of the value and record as input'
  • field_id Many2one → ir.model.fields
    help='Field of the model the values are mapped to' required=True args: 'ir.model.fields'
  • import_code Text
    help='Code to import the value from a vobject. Use the variable result for the output of the value and item as input'
  • mapping_type Selection
    default='simple' required=True args: [('simple', 'Simple'), ('code', 'Code')]
  • model_id Many2one → ir.model
    related='collection_id.model_id' args: 'ir.model'
  • name Char
    help='Attribute name in the vobject' required=True
Public methods (2)
  • from_vobject(self, child)
    @api.multi
  • to_vobject(self, record)
    @api.multi
Status
Open migration PR — not merged yet for this version
CI status
no CI data
Open since
1141 days ago
Last activity
950 days ago
Repository
OCA/server-backend
Pull request
[12.0][MIG] base_dav: migration to 12.0 (#226)
Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
883 days ago
Last activity
167 days ago
Repository
OCA/server-backend
Pull request
[MIG] base_dav: Migration to 17.0 (#276)