Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion website_logo/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Configuration

To configure this module, you need to:

* Go to 'Settings' > 'Configuration' > 'Website Settings'
* Go to 'Website Admin'
* In the configuration form of a website there is a category logo
* Load a logo image in the logo field


Expand Down
2 changes: 1 addition & 1 deletion website_logo/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _image_logo_get(self, cr, domain=None):
if domain:
cr.execute("""SELECT logo, write_date
FROM website
WHERE name = %s
WHERE domain = %s
""", (domain,))
else:
cr.execute("""SELECT logo, write_date
Expand Down