| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/18.0/l10n_br_account_fleet |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Escodoo |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Escodoo |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, Cristiano Mafra Junior |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:10 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account_fleet - fleet - base - base_setup - web - bus - web_tour - html_editor - account - onboarding - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module inserts the following snippet below into the form view of
the invoice_line_ids field:
``` xml
<xpath
expr="//field[@name='invoice_line_ids']/form/sheet/group/field[@name='account_id']"
position="after"
>
<field name='need_vehicle' invisible='1' />
<field
name='vehicle_id'
attrs="{'required': [('need_vehicle', '=', True), ('parent.move_type', 'in', ('in_invoice', 'in_refund'))], 'column_invisible': [('parent.move_type', 'not in', ('in_invoice', 'in_refund'))]}"
/>
</xpath>
```
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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_form_view |
account.move.form (in l10n_br_account_fleet) | account.move | xpath | Inherits account.view_move_form |
No models found for this module.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/17.0/l10n_br_account_fleet |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Escodoo |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Escodoo |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, Cristiano Mafra Junior |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:04 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account_fleet - fleet - base - base_setup - web - bus - web_tour - account - onboarding - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module inserts the following snippet below into the form view of
the invoice_line_ids field:
``` xml
<xpath
expr="//field[@name='invoice_line_ids']/form/sheet/group/field[@name='account_id']"
position="after"
>
<field name='need_vehicle' invisible='1' />
<field
name='vehicle_id'
attrs="{'required': [('need_vehicle', '=', True), ('parent.move_type', 'in', ('in_invoice', 'in_refund'))], 'column_invisible': [('parent.move_type', 'not in', ('in_invoice', 'in_refund'))]}"
/>
</xpath>
```
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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_form_view |
account.move.form (in l10n_br_account_fleet) | account.move | xpath | Inherits account.view_move_form |
No models found for this module.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/l10n-brazil |
| GIT | |
| GIT | https://github.com/OCA/l10n-brazil.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_account_fleet |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Uncategorized |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Escodoo |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Escodoo |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, Kaynnan Lemes |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/l10n-brazil |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:11:56 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account_fleet - fleet - base - base_setup - web - bus - web_tour - account - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module inserts the following snippet below into the form view of
the invoice_line_ids field:
``` xml
<xpath
expr="//field[@name='invoice_line_ids']/form/sheet/group/field[@name='account_id']"
position="after"
>
<field name='need_vehicle' invisible='1' />
<field
name='vehicle_id'
attrs="{'required': [('need_vehicle', '=', True), ('parent.move_type', 'in', ('in_invoice', 'in_refund'))], 'column_invisible': [('parent.move_type', 'not in', ('in_invoice', 'in_refund'))]}"
/>
</xpath>
```
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. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_form_view |
account.move.form (in l10n_br_account_fleet) | account.move | xpath | Inherits account.view_move_form |
No models found for this module.