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.

11 lines
647 B

  1. A different receipt template is used if the PoS ticket is printed via web or
  2. via proxy. In the case the ticket is printed via web (through the browser) the
  3. company logo isn't printed. This module adds it.
  4. In other hand, company_logo is loaded using `/web/binary/company_logo`
  5. controller `that returns a 150px wide logo <https://github.com/odoo/odoo/blob/11.0/addons/point_of_sale/static/src/js/models.js#L481>`_:
  6. but after that logo is resized to 300px width, so a pixelled logo appears even
  7. original logo is 300px wide.
  8. That's why we override how company_logo is loaded. We also resized it to 260px
  9. (not 300px) wide because appears cut in PDF.