TIP: You can type at any time to perform a new search.

Security findings

Repository
odoo/odoo · module folder
Module version
0.1.0
Category
Hidden
Folder size
0.37 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-10-05 00:19:50
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Xavier-Do, Victor Feyens, Tiffany Chang (tic), Miquel Raïch, Dylan Kiss (dyki), Chong Wang (cwg)
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
fs_storage, queue_job
Description
The purpose of this module is to implement "sparse" fields, i.e., fields
that are mostly null. This implementation circumvents the PostgreSQL
limitation on the number of columns in a table. The values of all sparse
fields are stored in a "serialized" field in the form of a JSON mapping.
    

Code Analysis info_outline

Views touched (2)
XML IDNameModelTypeStatus
field_form_view ir.model.fields form Inherits base.view_model_fields_form
model_form_view ir.model form Inherits base.view_model_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • serialization_field_id Many2one → ir.model.fields
    domain="[('ttype','=','serialized'), ('model_id', '=', model_id)]" help='If set, this field will be stored in the sparse structure of the serialization field, instead of having its own database column. This cannot be changed after creation.' ondelete='cascade' string='Serialization Field' args: 'ir.model.fields'
  • ttype Selection
    ondelete={'serialized': 'cascade'} selection_add=[('serialized', 'serialized')]
Public methods (1)
  • write(self, vals)

New fields (7)
  • boolean Boolean
    sparse='data'
  • char Char
    sparse='data'
  • data Serialized
  • float Float
    sparse='data'
  • integer Integer
    sparse='data'
  • partner Many2one → res.partner
    sparse='data' args: 'res.partner'
  • selection Selection
    sparse='data' args: [('one', 'One'), ('two', 'Two')]
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…