This module allows you to have a different layout by brand for your external reports.
Project description
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:
Go to Settings > Users & Companies > Brands
Add a new brand or select an existing one
Enter brand information and select the a layout
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Souheil Bejaoui <souheil.bejaoui@acsone.eu>
Landoo, Sistemas de Información, S.L.:
Vicent Cubells <vicent@vcubells.net>
Freni Patel <fpatel@opensourceintegrators.com>
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/brand 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
File details
Details for the file odoo14_addon_brand_external_report_layout-14.0.1.0.2-py3-none-any.whl
.
File metadata
- Download URL: odoo14_addon_brand_external_report_layout-14.0.1.0.2-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/60.3.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f4e36032ac8e31e3d991f74d40b88bdf2953aa470da405c620c67aea2b7901d |
|
MD5 | 8dd47946b23925f81f30c7d5c6699832 |
|
BLAKE2b-256 | b614836b23531d2999a79ce073efee6e17df017cf173b13ca2905e5f29536cec |