mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-11-02 09:58:50 -06:00
17 lines
449 B
Python
17 lines
449 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
|
|
|
|
from flectra import models, fields
|
|
|
|
|
|
class MailActivityType(models.Model):
|
|
_inherit = "mail.activity.type"
|
|
|
|
category = fields.Selection(selection_add=[('reminder', 'Reminder')])
|
|
|
|
|
|
class MailActivity(models.Model):
|
|
_inherit = "mail.activity"
|
|
|
|
note_id = fields.Many2one('note.note', string="Related Note", ondelete='cascade')
|