Purpose is to have one file / model, easier when searching for inherited parts of the code and see at a glance various usage of those models. Spotted during Task-2207626 (Rating: Delay rating notification to ease feedback) Part-of: odoo/odoo#98661
11 lines
286 B
Python
11 lines
286 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class MailActivity(models.Model):
|
|
_inherit = "mail.activity"
|
|
|
|
note_id = fields.Many2one('note.note', string="Related Note", ondelete='cascade')
|