Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Show an icon on General Settings

Subscribe

Get notified when there's activity on this post

This question has been flagged
iconsodoo12.0
2 Replies
11275 Views
Avatar
Paulo Matos

Hello everyone,

I have created a new area under "General Settings" (res_config_settings) for Odoo 12.

If I set my module as "application = True", I can see the icon defined for the module shown on the new General Settings Area

My problem is that my module is not an application. It is an addon and in this case, I cannot see the icon shown on this new settings area.

How can I force an icon to be shown on General Settings area?

Thank you all in advance

Best regards

PM

0
Avatar
Discard
Avatar
Hilar Andikkadavath
Best Answer

You have to define some settings in res.config.settings model and in view, for example


<odoo>
    <record id="res_config_settings_view_form" model="ir.ui.view">
        <field name="name">Debranding Configuration</field>
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="website.res_config_settings_view_form"/>
        <field name="arch" type="xml">
            <xpath expr="//div[hasclass('app_settings_block')]" position="after">
                <div class="app_settings_block"
                     data-string="Debrand"
                     string="Debrand"
                     data-key="odoo-debrand-11"
                >
                                ...

.....

Here is an example form my debranding module. You can refer to this module and can find how I did for the debranding settings.

links:   https://github.com/hilarak/odoo_community_addons/blob/12.0/odoo-debrand-11/views/views.xml

Appstore: https://www.odoo.com/apps/modules/12.0/odoo-debrand-11/


2
Avatar
Discard
Paulo Matos
Author

Thank you @Hilar,

Your links are very useful. I do use your debranding module also.

I have looked on the code and I did not find any part of it where you refer the "icon" to be shown under new area for general Settings. Unfortunately I am unable to post images here since several weeks.

I will try to explain myself:

- When we access General Settings, we can see on the left side, settings for the several applications installed.

Here we have: General Settings, Invoicing, Sales, Inventory... and so on, depending on the applications installed.

Every specific "settings area" has an icon which is the exact same icon as the application icon (ie. for the invoicing settings area, we can see the icon defined for the invoicing application).

I have created a "new settings area" for my addon, but the icon defined for my addon does not show on this new "settings area" I have created.

For testing purposes, I changed my addon to became an application instead of an addon and the icon shows fine for this new "settings area" I have created. So, if I define my addon as an application, icon shows fine, if I make it an addon, the icon does not show.

How can I make the icon show on this area for an addon (not an application)?

Thank you once again

best regards

PM

Avatar
Sachinayb
Best Answer

Hello Paulo 

For adding icon in general settings you just follow one thing.

<div class="app_settings_block" data-string="Website Addon" string="

Website Addon" data-key="module_name">

In data key add your module name that's it then you able to see icon without setting application= True

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How do I get the app icons when I click on the start menu button? Solved
dashboard icons odoo12.0
Avatar
Avatar
Avatar
2
Jul 20
14385
Expected singleton: hr.emp.travel.location(62, 63)
odoo12.0
Avatar
Avatar
Avatar
2
Oct 25
2100
How to write Record Rule with domain based on the company_dependent Fields Solved
odoo12.0
Avatar
Avatar
Avatar
3
Oct 23
10990
loan request
odoo12.0
Avatar
Avatar
1
Sep 23
4071
sum Colum of based on id
odoo12.0
Avatar
Avatar
1
May 23
3069
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now