chore: import enterprise addons 19.0 bulk snapshot

This commit is contained in:
1b-agent committed 2026-09-16 10:13:08 +00:00
commit ca4af030d3
39951 files changed
+15570005

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
from odoo import fields, models
class IrUiView(models.Model):
_inherit = 'ir.ui.view'
type = fields.Selection(selection_add=[('cohort', 'Cohort')])
def _postprocess_tag_cohort(self, node, name_manager, node_info):
for additional_field in ('date_start', 'date_stop'):
if fnames := node.get(additional_field):
name_manager.has_field(node, fnames.split('.', 1)[0], node_info)
def _get_view_info(self):
return {'cohort': {'icon': 'oi oi-view-cohort'}} | super()._get_view_info()