|
|
@ -0,0 +1,14 @@ |
|
|
|
from odoo import models, fields, api, _ |
|
|
|
from odoo.tools.translate import html_translate |
|
|
|
|
|
|
|
|
|
|
|
class EventType(models.Model): |
|
|
|
_inherit = "event.type" |
|
|
|
|
|
|
|
description = fields.Html( |
|
|
|
string="Description", |
|
|
|
translate=html_translate, |
|
|
|
sanitize_attributes=False, |
|
|
|
sanitize_form=False, |
|
|
|
default=lambda self: self.env["event.event"]._default_description(), |
|
|
|
) |