Skip to content
Health
83/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by15/25
    1 module depends on it
  • Maturity18/25
    In 3 Odoo series since 14.0

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

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis 2 migration notes 3 models 6 views 0 HTTP endpoints

Description

A value may change over time. With this module you may set starting dates and values.

Dependencies

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

Code analysis

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

Views touched 6

XML IDNameModelTypeStatus
base_time_parameter_version_view_search base.time.parameter.version.search base.time.parameter.version search New
base_time_parameter_version_view_tree base.time.parameter.version.list base.time.parameter.version list New
base_time_parameter_view_form base.time.parameter.form base.time.parameter form New
base_time_parameter_view_form_hide_model base.time.parameter.form hide model base.time.parameter form Inherits base_time_parameter_view_form
base_time_parameter_view_search base.time.parameter.search base.time.parameter search New
base_time_parameter_view_tree base.time.parameter.list base.time.parameter list New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • get_time_parameter(self, code, date=None, raise_if_not_found=True, get='value')

New fields (9)
  • code Char
  • company_id Many2one → res.company
    default=<expr> string='Company' args: 'res.company'
  • country_id Many2one → res.country
    default=<expr> string='Country' args: 'res.country'
  • description Text
  • model_id Many2one → ir.model
    help='Filter by model (e.g. hr.payslip)' string='Model' args: 'ir.model'
  • name Char
    string='Parameter Name'
  • record_model Selection
    args: []
  • type Selection
    default='float' index=True required=True args: [('boolean', 'Boolean (True/False)'), ('date', 'Date'), ('float', 'Floating point number'), ('integer', 'Integer number'), ('json', 'JSON'), ('record', 'Record'), ('string', 'Text')]
  • version_ids One2many → base.time.parameter.version
    string='Versions' args: 'base.time.parameter.version', 'parameter_id'
Public methods (0)

No public methods.

New fields (8)
  • code Char
    readonly=True related='parameter_id.code' store=True
  • company_id Many2one
    related='parameter_id.company_id' store=True
  • country_id Many2one
    related='parameter_id.country_id'
  • date_from Date
    required=True
  • parameter_id Many2one → base.time.parameter
    ondelete='cascade' required=True string='Time Parameter' args: 'base.time.parameter'
  • type Selection
    related='parameter_id.type'
  • value Char
  • value_reference Reference
    selection=[] string='Reference Value'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…