mirror of
https://github.com/bringout/oca-ocb-web.git
synced 2026-04-19 01:32:05 +02:00
web_editor was removed in Odoo 19.0 and replaced by html_editor
and html_builder. The old web_editor was incorrectly included in
the 19.0 vanilla import.
🤖 assisted by claude
14 lines
362 B
Python
14 lines
362 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import api, models
|
|
|
|
|
|
class Base(models.AbstractModel):
|
|
_inherit = 'base'
|
|
|
|
@api.model
|
|
def _get_view_field_attributes(self):
|
|
keys = super()._get_view_field_attributes()
|
|
keys.append('sanitize')
|
|
keys.append('sanitize_tags')
|
|
return keys
|