You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.7 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License
  3. Company Multiple Logo
  4. =====================
  5. This module allows to display different logos in reports for a single company.
  6. For each partner, a logo can be selected to be displayed in the reports for this partner.
  7. Configuration
  8. =============
  9. To configure this module, you need to:
  10. * Install the module, and then modify the Qweb template report.external_layout_header to display the logo.
  11. * This is what the res.partner method get_company_logo is meant for.
  12. * e.g. <img t-att-src="'data:image/png;base64,%s' % o.partner_id.get_company_logo(company)"/>
  13. * Go to Settings -> Companies -> Companies
  14. * Select your company
  15. * Go to tab 'Report Configuration'
  16. * Add your logos. You must select one to be the default logo displayed when no logo is choosen for a partner.
  17. Usage
  18. =====
  19. For each partner with a different logo to display than the default one:
  20. * In the partner form view, go to the tab 'Report Logos' and select the logo that will appear in reports for this partner.
  21. * If you are using multi-company, one logo can be selected for each company.
  22. Print your reports as usual
  23. Credits
  24. =======
  25. Contributors
  26. ------------
  27. * David DUFRESNE <david.dufresne@savoirfairelinux.com>
  28. * Pierre GAULT <pierre.gault@savoirfairelinux.com>
  29. Maintainer
  30. ----------
  31. .. image:: http://odoo-community.org/logo.png
  32. :alt: Odoo Community Association
  33. :target: http://odoo-community.org
  34. This module is maintained by the OCA.
  35. OCA, or the Odoo Community Association, is a nonprofit organization whose
  36. mission is to support the collaborative development of Odoo features and
  37. promote its widespread use.
  38. To contribute to this module, please visit http://odoo-community.org.