OdooWiki OCA HUB

Brazilian Localization Account Fleet

l10n_br_account_fleet folder_open OCA/l10n-brazil open_in_new
Uncategorised License: AGPL-3

This module inserts the following snippet below into the form view of the invoice_line_ids field:

This implementation is necessary because, by default, invoice lines are added directly in the tree view. However, in the case of Brazilian localization, the inclusion of invoice lines is done through the form view. Therefore, the account_fleet module adds the necessary fields for integration between the accounting and fleet modules, specifically in the tree view of the invoice_line_ids field. Additionally, this module adds the same fields in the form view of the invoice lines. With this, the integration between accounting and the fleet module occurs seamlessly.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds the vehicle field to the invoice line form used in the Brazilian accounting layout, so vendor bills and refunds can be linked to a fleet vehicle.

This module is a small bridge between accounting and fleet. It only changes the invoice line form that appears inside an invoice, adding the vehicle field next to the account field.

What users see: - On a vendor bill or vendor refund (in_invoice / in_refund), the invoice line form now shows a Vehicle field. - On customer invoices and other move types, that Vehicle column is hidden, so the screen stays clean.

Business rules added by the code: - The Vehicle field is only required when the related invoice line is flagged as needing a vehicle and the document is a vendor bill or vendor refund. In that case Odoo will not let you save the line without choosing a vehicle. - The need_vehicle flag itself is hidden from users; it comes from the fleet integration and drives the requirement.

Where it appears: - Inside the invoice form, in the invoice lines area, when lines are entered through the form view (the layout used by the Brazilian localization).

What it touches: - The account.move model and its invoice lines, together with the vehicle link provided by the fleet integration.

No new menus, reports, emails or scheduled actions are added; the module only adjusts the invoice line form so the accounting and fleet data stay connected.

Depends on

account_fleet

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-brazil.

terminal Installation and usage

OCA documentation · Odoo 18.0

Just install the module.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.