TMS - Purchase
tms_purchase · OCA/stock-logistics-transport
Health
77/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
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.08 MB
Module directory on disk
Code analysis
0 migration notes
5 models
5 views
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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)
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…