TIP: You can type at any time to perform a new search.

Security findings

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 info_outline

Views touched (5)
XML IDNameModelTypeStatus
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_id Many2one → purchase.order
    args: 'purchase.order'
Public methods (1)
  • action_view_order(self)

New fields (4)
  • order_vehicle_count Integer
    compute='_compute_order_vehicle_count' copy=False default=0 store=True
  • trip_id Many2one → tms.order
    args: 'tms.order'
  • vehicle_count Integer
    compute='_compute_vehicle_count' readonly=True
  • vehicle_ids One2many → fleet.vehicle
    args: 'fleet.vehicle', 'purchase_order_id'
Public methods (3)
  • 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_ids One2many → purchase.order
    store=True args: 'purchase.order', 'trip_id'
  • purchase_order_count Integer
    compute='_compute_purchase_order_count' readonly=True
Public methods (2)
  • action_view_purchase_orders(self)
  • create(self, vals)
    @api.model

Loading…