Web Polymorphic Many2One
web_polymorphic_many2one · OCA/web
Health
55/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 122 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.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.01 MB
Module directory on disk
Code analysis
0 migration notes
0 models
0 views
0 HTTP endpoints
Description
Add a new widget named "polymorphic" The polymorphic field allow to dynamically store an id linked to any model in OpenERP instead of the usual fixed one in the view definition
Python fields declaration:
'model': fields.many2one('ir.model', string='Model'),
'object_id': fields.integer("Resource")
XML fields declaration:
<field name="model" invisible="1" />
<field name="object_id" widget="polymorphic" polymorphic="model" />
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.
Loading…
Loading…
Loading…