TIP: You can type at any time to perform a new search.
TMS - Purchase
tms_purchase · OCA/stock-logistics-transport
- Repository
- OCA/stock-logistics-transport · module folder · Try on Runboat
- Module version
- Category
- TMS
- Folder size
- 0.08 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 - Purchase module manages purchase requests to drivers and other suppliers. This module provides features such as create purchase orders from trips and purchase vehicles.
Code Analysis ⓘ
Views touched (5)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fleet_vehicle_view_form |
fleet.vehicle.view.form.inherit.tms.purchase | fleet.vehicle | form | Inherits fleet.fleet_vehicle_view_form |
purchase_order_form |
purchase.order.form.inherit.tms.purchase | purchase.order | form | Inherits purchase.purchase_order_form |
tms_custom_purchase_order_tree |
tms.custom.purchase.order.tree | purchase.order | list | New |
tms_order_view_form |
tms.order.view.form.inherit.tms.purchase | tms.order | form | Inherits tms.tms_order_view_form |
view_tms_driver_form_inherit_purchase |
tms.driver.form.inherit.purchase | tms.driver | form | Inherits tms.view_tms_driver_form_inherit |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (1)
-
purchase_order_idMany2one → purchase.orderargs: 'purchase.order'
-
action_view_order(self)
New fields (4)
-
order_vehicle_countIntegercompute='_compute_order_vehicle_count'copy=Falsedefault=0store=True -
trip_idMany2one → tms.orderargs: 'tms.order' -
vehicle_countIntegercompute='_compute_vehicle_count'readonly=True -
vehicle_idsOne2many → fleet.vehicleargs: 'fleet.vehicle', 'purchase_order_id'
-
action_view_order(self) -
action_view_vehicle(self, vehicles=False)This function returns an action that display existing vehicles from given purchase order ids. When only one found, show the vehicle immediately. -
action_view_vehicles_button(self)@api.model
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_view_purchase_orders(self)
New fields (2)
-
purchase_idsOne2many → purchase.orderstore=True args: 'purchase.order', 'trip_id' -
purchase_order_countIntegercompute='_compute_purchase_order_count'readonly=True
-
action_view_purchase_orders(self) -
create(self, vals)@api.model
Loading…