Skip to content
Health
77/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 17.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
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

Description

The TMS - Expense module allows drivers and users to register expenses in trips. This module creates two new expense categories: Fuel and Toll expenses.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
tms_account

Code analysis

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

Views touched 3

XML IDNameModelTypeStatus
hr_expense_inherit_view_search hr.expense.inherit.view.search hr.expense search Inherits hr_expense.hr_expense_view_search
tms_hr_expense_inherit_view_form tms.hr.expense.inherit.view.form hr.expense form Inherits hr_expense.hr_expense_view_form
tms_order_inherit_view_form tms.order.inherit.view.form tms.order form Inherits tms.tms_order_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • trip_id Many2one → tms.order
    args: 'tms.order'
Public methods (1)
  • action_view_order(self)

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • create_driver_employee(self, driver)
  • update_existing_drivers_as_employees(self)
    @api.model

New fields (3)
  • employee_id Many2one → hr.employee
    compute='_compute_driver_employee_id' store=True string='Driver Employee' args: 'hr.employee'
  • expense_count Integer
    compute='_compute_expenses'
  • expense_ids One2many → hr.expense
    args: 'hr.expense', 'trip_id'
Public methods (2)
  • action_view_expenses(self)
  • write(self, vals)

Loading…