Brazilian Localization Account Fleet
Project description
Brazilian Localization Account Fleet
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
Contributors
-
Marcel Savegnago <marcel.savegnago@escodoo.com.br>
Maintainers
This module is maintained by the OCA.
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:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_l10n_br_account_fleet-16.0.1.0.0.2-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_l10n_br_account_fleet-16.0.1.0.0.2-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e39f270018de73329f90204170c45603af995c6610b859112b3e4ff62dbffe5a
|
|
| MD5 |
61ae3386259e09f74ead42f30767c717
|
|
| BLAKE2b-256 |
7370f4fead9185a61d0ce05df2616c2fe6ba140c8d4dbaab642a465d7a57f066
|