Skip to main content

Brazilian Localization Account Fleet

Project description

Odoo Community Association

Brazilian Localization Account Fleet

Beta License: AGPL-3 OCA/l10n-brazil Translate me on Weblate Try me on Runboat

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

<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.

Table of contents

Usage

Just install the module.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Escodoo

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

marcelsavegnago

This module is part of the OCA/l10n-brazil project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_l10n_br_account_fleet-18.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_l10n_br_account_fleet-18.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f23621711c32f2ba31c2d0b36b6372a5110f3dd3daa61ff1ec7271fbfce9252
MD5 632ef57620c635225ac8dc92d5eae531
BLAKE2b-256 21919b2a7efd39872cf92c0277c5b94e271c0f0d96e3a8e16d2ac460d8064918

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page