| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/stock-logistics-transport |
| GIT | |
| GIT | https://github.com/OCA/stock-logistics-transport.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/stock-logistics-transport/tree/17.0/tms_expense |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | TMS |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Open Source Integrators |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Open Source Integrators |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, EdgarRetes, Julio Santa Cruz |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/stock-logistics-transport |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:10 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/stock-logistics-transport: - tms odoo/odoo: - base - uom - fleet - base_setup - web - bus - web_tour - base_geolocalize - hr_expense - account - onboarding - product - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - hr - phone_validation |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
hr_employee_inherit_view_form |
hr.employee.inherit.view.form | hr.employee | xpath | Inherits hr.view_employee_form |
hr_expense_inherit_view_search |
hr.expense.inherit.view.search | hr.expense | xpath | Inherits hr_expense.hr_expense_view_search |
tms_hr_expense_inherit_view_form |
tms.hr.expense.inherit.view.form | hr.expense | xpath | Inherits hr_expense.hr_expense_view_form |
tms_order_inherit_view_form |
tms.order.inherit.view.form | tms.order | xpath | Inherits tms.tms_order_view_form |
trip_id
Many2one → tms.order
action_view_order(self)
No new fields.
Public methods (4)create(self, vals)
create_driver_employee(self, driver)
open_commercial_entity(self)
update_existing_drivers_as_employees(self)
employee_id
Many2one → hr.employee
compute='_compute_driver_employee_id'
store=True
string='Driver'
args: 'hr.employee'
expense_count
Integer
compute='_compute_expenses'
expense_ids
One2many → hr.expense
action_view_expenses(self)
write(self, vals)
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/stock-logistics-transport |
| PULL REQUEST | |
| PULL REQUEST | [19.0][MIG] tms_expense: Migration to 19.0 (#226) |