Skip to main content

This module allows you to have a different layout by brand for your external reports.

Project description

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

This module allows you to have a different layout by brand for your external reports.

Table of contents

Usage

To use this module, you need to:

  1. Go to Settings > Users & Companies > Brands

  2. Add a new brand or select an existing one

  3. Enter brand information and select the a layout

  4. Go to any branded object abd print the PDF report. It includes the information of the brand.

Known issues / Roadmap

To simplify the customization of the external layout we replaced the variable company that odoo compute in the external_layout view by the object brand.

With this module, all custom layouts will display brand information out of the box.

This was possible and easy to implement as the company and the brand models inherit from partner model and share the same informational fields.

The computed variable company is used to set report header and footer. It’s not meant to be used in the report business logic itself. But in that case (if a custom layout use the variable company for some-reason other then header and footer) this module can cause an issue because the used field can be missing in the brand model or not correctly set.

In this case, we recommend to always use document field company for this use-end.

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

  • ACSONE SA/NV

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:

sbejaoui

This module is part of the OCA/brand 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

File details

Details for the file odoo_addon_brand_external_report_layout-16.0.1.0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_brand_external_report_layout-16.0.1.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8534f698678b6edf3b4a97772012d9f57991839737c903dbc6c712ea08a4f44
MD5 dc5f2cba966f5c9793ca07a415105e72
BLAKE2b-256 743066910ed8e8fb2f8fb96b1f0f1c7180824ced3f691743a8ab69343e4be666

See more details on using hashes here.

Supported by

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