Repository
OCA/web · module folder · Try on Runboat
Module version
1.0.2
Category
Extra Tools
Folder size
0.09 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/web
Last tracking update
2026-08-07 07:31:48
Authors
Odoo Community Association (OCA), MuK IT
Maintainers
Odoo Community Association (OCA), MuK IT
Committers
Daniel Reis, Enric Tobella, Weblate, OCA Transbot, Dmytro Katyukha, OCA-git-bot, oca-travis
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
dms
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets_backend Backend Assets ir.ui.view qweb Inherits web.assets_backend
view_res_users_kanban res.users.kanban res.users kanban Inherits base.view_res_users_kanban
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • search_panel_select_multi_range(self, field_name, **kwargs)
    @api.model
    Return possible values of the field field_name (case select="multi"), possibly with counters and groups. :param field_name: the name of a filter field; possible types are many2one, many2many, selection. :param search_domain: base domain of search :param category_domain: domain generated by categories :param filter_domain: domain generated by filters :param comodel_domain: domain of field values (if relational) :param group_by: extra field to read on comodel, to group comodel records :param disable_counters: whether to count records by value :return: a list of possible values, each being a dict with keys 'id' (value), 'name' (value label), 'count' (how many records with that value), 'group_id' (value of group), 'group_name' (label of group).
  • search_panel_select_range(self, field_name, **kwargs)
    @api.model
    Return possible values of the field field_name (case select="one") and the parent field (if any) used to hierarchize them. :param field_name: the name of a many2one category field :return: { 'parent_field': parent field on the comodel of field, or False 'values': array of dictionaries containing some info on the records available on the comodel of the field 'field_name'. The display name (and possibly parent_field) are fetched. }