Skip to content

[18.0][ADD] fleet_vehicle_analytic_purchase: add new module - #235

Draft
CristianoMafraJunior wants to merge 1 commit into
OCA:18.0from
Escodoo:18.0-add-fleet_vehicle_analytic_purchase
Draft

[18.0][ADD] fleet_vehicle_analytic_purchase: add new module#235
CristianoMafraJunior wants to merge 1 commit into
OCA:18.0from
Escodoo:18.0-add-fleet_vehicle_analytic_purchase

Conversation

@CristianoMafraJunior

Copy link
Copy Markdown
Member

@Escodoo HT02193
This module extends the functionality of fleet management to link each vehicle
to one or more analytic accounts (cost centers), using the same analytic
distribution field used everywhere else in Odoo accounting. It also gives
direct access, from the vehicle form, to every purchase order that shares an
analytic account with the vehicle.

It also makes the analytic accounts of a purchase order searchable from the
user interface, reusing the analytic_distribution field that the OCA
purchase_analytic module already adds on the purchase order header. In Odoo
that field is stored as JSON, which is not searchable from a regular search
view out of the box; the analytic.mixin it relies on already solves that by
exposing a computed and searchable distribution_analytic_account_ids field,
which this module simply adds to the Requests for Quotation and Purchase
Orders search views.

@OCA-git-bot OCA-git-bot added series:18.0 mod:fleet_vehicle_analytic_purchase Module fleet_vehicle_analytic_purchase labels Sep 8, 2026
@CristianoMafraJunior
CristianoMafraJunior marked this pull request as draft September 8, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:fleet_vehicle_analytic_purchase Module fleet_vehicle_analytic_purchase series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants