Odoo Help


[Odoo v9] is there a way to have different logo on Web and POS receipt ticket ?

Ev'Art Creativ
on 11/24/15, 6:44 AM 1,545 views

Hi :)

I would like to know if it's possible to have (with Odoo V9 community edition niglthly builds on Debian Jessy) different logo.

I would like to have a different logo printed on my pos ticket than the logo displayed on the web portal.

If someone have an idea it'll be nice, i'll read it carefully.



With web portal do you means on the website?

Axel Mendoza
on 11/24/15, 1:29 PM

Axel Mendoza

--Axel Mendoza--
| 7 8 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
On 11/24/15, 4:24 PM

For that you can do it with this changes installed in a module:

In a .py

from openerp import models, field

class ext_website(models.Model):
_inherit = "website"

website_image = fields.Binary("Logo Image")

class website_config_settings(models.TransientModel):
_inherit = 'website.config.settings'

website_image = fields.Binary(related='website_id.website_image')

In an .xml

<record id="solt_view_website_config_settings" model="ir.ui.view">
<field name="name">Website Soltein settings</field>
<field name="model">website.config.settings</field>
<field name="inherit_id" ref="website.view_website_config_settings"/> 
<field name="arch" type="xml">
<xpath expr="//div[@name='social_media']" position="before">
<field name="website_image"/>

<template id="layout_menu_header" inherit_id="website.layout_logo_show" name="Soltein Menu Header">
<xpath expr="//img[@src='/logo.png']" position="replace">
<img t-att-src="website.image_url(website, 'website_image', None)" t-att-alt="'Logo of %s' % res_company.name" t-att-title="res_company.name"/>

Put all of this in a module and install it. This will create a binary field to store the logo image for the website, in the menu "/Settings/Configuration/Website Settings" you could add the image in the field with label "Logo Image". After that just reload the page to see the logo changed

Hope this helps

Ev'Art Creativ
On 11/26/15, 6:47 AM

Yes i mean website, the logo you have a the top of the left colomn in odoo web portal, admin, and so on. I have difined the company logo, this one is displayed everywhere. I'm not in multi company config. I would have a different logo on my receipt ticket of my POS than the one defined as company logo.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 11/24/15, 6:44 AM
Seen: 1545 times
Last updated: 11/26/15, 6:47 AM