Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 17 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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.24 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module provides a generic tools to have the possibility to sort the lines of a list of items.

For exemple, if you use the sale module, you can want to reorder the sale order lines, by any criterias.

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
view_ir_actions_server_form ir.actions.server form Inherits base.view_server_action_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (4)
  • sort_field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' domain="[('model_id', '=', model_id), ('ttype', '=', 'one2many')]" string='Field to Sort'
  • sort_field_id_model Char
    related='sort_field_id.relation' string='Model of the Field to Sort'
  • sort_line_ids One2many → ir.actions.server.sort.line
    comodel_name='ir.actions.server.sort.line' inverse_name='action_id' string='Sorting Criterias'
  • state Selection
    ondelete={'sort': 'set default'} selection_add=[('sort', 'Sort')]
Public methods (0)

No public methods.

New fields (5)
  • action_id Many2one → ir.actions.server
    comodel_name='ir.actions.server' ondelete='cascade' required=True string='Action'
  • desc Boolean
    string='Inverse Order'
  • field_id Many2one → ir.model.fields
    comodel_name='ir.model.fields' domain="[('model', '=', parent.sort_field_id_model)]" ondelete='cascade' required=True
  • field_name Char
    related='field_id.name' store=True string='Field Name'
  • sequence Integer
Public methods (0)

No public methods.

Loading…