TIP: You can type at any time to perform a new search.
TMS - Expense
tms_expense · OCA/stock-logistics-transport
- Repository
- OCA/stock-logistics-transport · module folder · Try on Runboat
- Module version
- Category
- TMS
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-transport
- Last tracking update
- 2026-08-18 17:42:13
- Authors
- Odoo Community Association (OCA), Open Source Integrators
- Maintainers
- Odoo Community Association (OCA), Open Source Integrators
- Committers
- Maxime Chambreuil, Weblate, OCA-git-bot, oca-ci, Volkan TAŞCI
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- tms_account
- 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.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → tms.orderargs: 'tms.order'
-
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_idMany2one → hr.employeecompute='_compute_driver_employee_id'store=Truestring='Driver Employee' args: 'hr.employee' -
expense_countIntegercompute='_compute_expenses' -
expense_idsOne2many → hr.expenseargs: 'hr.expense', 'trip_id'
-
action_view_expenses(self) -
write(self, vals)
Loading…