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-16.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_l10n_br_account_fleet-16.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e39f270018de73329f90204170c45603af995c6610b859112b3e4ff62dbffe5a
MD5 61ae3386259e09f74ead42f30767c717
BLAKE2b-256 7370f4fead9185a61d0ce05df2616c2fe6ba140c8d4dbaab642a465d7a57f066

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