Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 55 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis
4 migration notes
2 models
4 views
0 HTTP endpoints
Migration considerations
IrFilters— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (11 methods) migration-api-multi-one · sourceIrFiltersCombineWithExisting— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceir_filters_view_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `DELETE FROM ir_filters WHERE NOT active AND id IN %s AND NOT EXISTS ( SELECT left_filter_id FROM ir_filters_union_rel WHERE right_filter_id = id ) AND NOT EXISTS ( SELECT left_filter_id FROM ir_filters_complement_rel WHERE right_filter_id = id )` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend |
web_advanced_filter assets | ir.ui.view | qweb | Inherits web.assets_backend |
form_ir_filters_combine_with_existing |
ir.filters.combine.with.existing | form | New | |
form_ir_filters_save_new |
ir.filters | form | New | |
ir_filters_view_form |
ir.filters | form | Inherits base.ir_filters_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (8)
-
complement_filter_idsMany2many → ir.filterscontext={'active_test': False} args: 'ir.filters', 'ir_filters_complement_rel', 'left_filter_id', 'right_filter_id', 'Remove result of filters' -
domainTextcompute='_compute_domain'inverse='_inverse_domain' -
domain_thisTextoldname='domain' args: 'Domain without helpers' -
evaluate_before_joinBooleancompute='_compute_pre_evaluate'help='This is necessary if this filter contains x2many fields with_auto_join activated' args: 'Evaluate this filter before joining' -
evaluate_before_negateBooleancompute='_compute_pre_evaluate'help='This is necessary if this filter contains positive operatorson x2many fields' args: 'Evaluate this filter before negating' -
is_frozenBooleancompute='_compute_is_frozen' args: 'Frozen' -
save_as_publicBooleandefault=Falsestore=False args: 'Share with all users' -
union_filter_idsMany2many → ir.filterscontext={'active_test': False} args: 'ir.filters', 'ir_filters_union_rel', 'left_filter_id', 'right_filter_id', 'Add result of filters'
-
button_freeze(self)@api.multievaluate the filter and write a fixed [('id', 'in', [])] domain -
button_save(self)@api.multi -
button_test(self)@api.multi -
create(self, vals_list)@api.model_create_multi -
unlink(self)@api.multi -
write(self, vals)@api.multi
New fields (5)
-
actionSelectionrequired=True args: [('union', 'Union'), ('complement', 'Complement')], 'Action' -
contextChardefault='{}'required=True args: 'Context' -
domainCharrequired=True args: 'Domain' -
filter_idMany2one → ir.filterscomodel_name='ir.filters'index=Trueondelete='cascade'required=Truestring='Filter' -
modelCharrequired=True args: 'Model'
-
button_save(self)@api.multi