""
Skip to Content
Home Blog How to Change Home Action in Odoo Through Python
How to Change Home Action in Odoo Through Python How to Change Home Action in Odoo Through Python

How to Change Home Action in Odoo Through Python

In today’s highly competitive business environment, increased customer engagement is visible in almost all business process. The inputs from customer at every stage will ensure the quality enhancement of the products. In this blog, we’ll learn how to change home action for an External User through Python in Odoo.

In Odoo, customer can provides these inputs by logging in as a portal user in Odoo. With this customer portal service, customers can access & interact with the organization providing necessary inputs timely.

There are three types of user in Odoo, Internal User, public user and portal(or external) user. An internal user can be the administrator which is the default user created at first and has complete access to the system. 

Then, this user can create as many as users and assign their permissions and access rights within the application. In this way, admin can create organizational hierarchy and restrict users only to their own domain.

The customers have an option to access the allowed area of the Odoo as an external user. An external user is a normal user who is, in fact, external to the system, he can sign up and create his profile and access the system. For using this facility, it must be enabled in Settings.


 Subscribe for Odoo tips, technical insights, and more!


The Odoo system also provides the feature to set a default or custom home page for every type of user. Or we can say set a homepage for the User, whenever that User log-in to the system.

By default in Odoo 12, the homepage for internal user is ‘/web’ and for external user is ‘/my’. 

Now what if we want to change the custom homepage for external user.


By default, the custom homepage for an internal user is this:

By default, the custom homepage for an internal user

That is, it navigates to :  ‘/web’

And for an external user, the custom homepage is like this:

For an external user, the custom homepage

That is, it navigates to : ‘/my’.

The coding (or logic) for this re-direction is done here:

‘addons/website/controllers/main.py’

Steps to follow:  Change Home Action in Odoo Through Python

 So this method is responsible for navigating to the custom homepages for respective users.

Now what if we want to change the custom homepage for the external user from ‘/my/’ to ‘/dashboard’.

So, how can we do so?? We can do this by overriding this method of website and changing the redirection homepage for the external user.

So in this case, we’ll do this through a custom module. First of all, we’ll create a folder named ‘controllers’. In this folder, we’ll create an ‘__init__.py’ file. Now what we’ll do is create a new .py file named ‘main.py’. Following the basic syntax of a module in Odoo, we’ll import the ‘main.py’ file inside the ‘__init__.py’ file. Now comes the most important part that is overriding the method of the website module.

You can do this like this:

Steps to follow:  Change Home Action in Odoo Through Python

In the above code,

from odoo import http

from odoo.http import request

from odoo.addons.website.controllers.main import Website

 

****** In the above code,packages are imported**********

Most important part is to import the ‘Website’ method from the ‘main.py’ file from the controllers of the website module.

Now we’ll override this ‘Website’ method by calling like this:

class Website(Website):

    @http.route(website=True, auth="public")

    def web_login(self, redirect=None, *args, **kw):

        response = super(Website, self).web_login(redirect=redirect, *args, **kw)

        if not redirect and request.params['login_success']:

            if request.env['res.users'].browse(request.uid).has_group('base.group_user'):

                redirect = b'/web?' + request.httprequest.query_string

            else:

                redirect = '/dashboard'

            return http.redirect_with_hash(redirect)

        return response

So the only change that we have made is changing the code from :

          redirect = ‘/my’

to

          redirect = ‘/dashboard’

Now, we’ll just save and update the custom module. After that we’ll check by logging in as an external user.
 

The custom homepage for the external user will be redirected like this:

custom homepage for the external user

So, as you can see by overriding the home action of the controllers through python code, we can change the custom homepage for the Users.

If you have any requirements for Odoo development services, You can also mail us at [email protected]

Strong Integration Expertise

Modern ERP systems require seamless connectivity. Kanak specializes in integrations with payment gateways, banking reconciliation systems, eCommerce marketplaces, logistics APIs, HRMS & biometric devices, and CRM and communication tools.

Standard-First ERP Philosophy

One major reason businesses prefer Kanak is its "standard-first" implementation approach. Instead of over-customizing Odoo unnecessarily, Kanak focuses on upgrade-friendly implementations, lower technical debt, better system performance, faster deployment cycles, and long-term scalability.

Global ERP Experience

Kanak serves clients across USA, Middle East, Europe, Australia, Singapore, Malaysia, and 50+ countries - enabling them to handle multi-company setups, multi-currency operations, localization & compliance, and cross-border business workflows.

Best for: Any business requiring deep customization, complex integrations, industry-specific Odoo expertise, or a long-term ERP partner with proven global experience.

Banibro IT Solutions ​
Official Odoo PartnerChennai BasedSME Focused

Banibro IT Solutions is known for its structured implementation methodology and business-focused ERP consulting approach. The company focuses on requirement analysis, workflow optimization, ROI-driven ERP planning, and seamless user adoption for SMEs and growing enterprises. 

Key Strengths
  • Business-centric consulting approach
  • ERP process alignment
  • Odoo customization for SMEs
  • Third-party integrations
  • Long-term support services

Best for: Small to mid-sized businesses in South India looking for practical and cost-effective Odoo implementations.

Serpent Consulting Services
Odoo Gold PartnerAhmedabad Based 10+ Years

Serpent Consulting Services has maintained a strong presence within the Odoo ecosystem for many years. The company specializes in Odoo consultation, migration services, custom development, integration support, and mid-sized enterprise deployments.

Key Strengths
  • Stable and structured implementation methodology
  • Strong upgrade compatibility focus
  • Long-term ERP maintainability
  • Reliable technical consulting

Best for: Mid-market companies needing structured Odoo consulting with long-term upgrade planning.

BrowseInfo
Odoo Best Partner India 20241200+ App Store Apps Ahmedabad Based

BrowseInfo is recognized for handling complex Odoo customization projects and enterprise-grade ERP deployments. The company works with businesses requiring multi-location operations, complex approval workflows, enterprise automation, and high-volume ERP environments.

Key Strengths
  • Large-scale implementation capabilities
  • Enterprise workflow customization
  • Odoo performance optimization
  • Scalable architecture support
  • Largest App Store module volume

Best for: Healthcare, retail, and businesses needing quick module deployment from the App Store.

Cybrosys Technologies
Official Odoo Partner​Kerala BasedTechnical Specialists

Cybrosys Technologies is widely known for its strong technical capabilities in the Odoo ecosystem. The company has extensive experience in module development, Odoo migrations, backend customization, technical optimization, and performance enhancement.

Key Strengths
  • Strong engineering and development capabilities
  • Odoo app and module development
  • Technical troubleshooting expertise
  • Version migration experience

Best for: Businesses needing heavy backend customization, complex module development, or technically intensive implementations.

Side-by-Side Comparison

How to Choose the Right Odoo Implementation Partner

Choosing the right Odoo consulting company is one of the most important decisions for ERP success. Here are the key factors every business should evaluate before signing a contract:


Odoo Experience

Choose a partner with proven implementation experience and long-term Odoo expertise. Look for 10+ years minimum for complex projects.


Industry Understanding

Industry-specific experience reduces implementation time and improves process alignment. Ask for case studies in your exact sector.


Certified Odoo Experts

Certified functional consultants and developers ensure better implementation quality. Ask how many team members hold current Odoo certifications.



Structured Methodology

A reliable partner provides requirement gathering, gap analysis, milestone planning, UAT, training, and go-live support as standard.


Integration Capabilities

Modern ERP needs connections with banking systems, logistics providers, HRMS, payment gateways, and eCommerce. Ask for live demos of past integrations.


Post-Go-Live Support

ERP implementation is not a one-time project. Get SLA response times in writing. Ask about AMC pricing and how version upgrades are handled.



Upgrade-Friendly Development

Excessive customization blocks future Odoo version upgrades. Good partners follow a standard-first approach — customizing only where it creates genuine value.


Scalability

Your ERP should grow with your business. Choose a partner who can support future module expansions, upgrades, and process improvements over 5–10 years.


⚠ Red flag: Any partner who gives a fixed-price quote without a discovery or requirements phase is underscoping your project. This almost always leads to scope creep, delays, and budget overruns. A serious partner insists on a requirements phase before quoting.

Odoo Community vs Enterprise — What's the Difference?

One of the most common questions businesses ask when evaluating Odoo is: What is the difference between Odoo Community and Odoo Enterprise?

For businesses planning long-term ERP scalability, Odoo Enterprise is usually the preferred choice. The added cost is offset by official support, automatic upgrades, and significantly more powerful modules.

How Much Does Odoo Implementation Cost in India?

Odoo implementation cost in India depends on multiple factors including number of users, modules required, customization complexity, integrations, data migration, industry workflows, and training requirements.

Partner hourly rates in India typically range from ₹1,500 to ₹4,500 per hour depending on seniority and firm. Budget an additional 10–20% contingency for data cleanup and integration complexity. Note: Odoo Enterprise license costs (approximately ₹2,000–4,000 per user per month) are separate from implementation fees.

⚠ Important: Businesses should focus on implementation quality and long-term ROI — not just the lowest upfront pricing. A cheaper implementation that fails costs significantly more than a quality one done right the first time.

How Long Does Odoo Implementation Take?


Timeline depends on customization level, data migration complexity, user training, integration requirements, and internal approvals. An experienced Odoo partner significantly reduces delays and implementation risks through structured methodology and reusable configurations.

Why India Is a Global Leader in Odoo Consulting ?

India has become one of the world's strongest destinations for Odoo consulting and ERP implementation because of:

  • Highly skilled Odoo developers and consultants — India produces more Odoo-certified professionals than almost any other country
  • Competitive pricing with global service quality — Indian partners deliver enterprise-grade implementations at a fraction of Western market costs
  • Global delivery experience — top Indian partners have successfully delivered ERP projects across USA, Europe, Middle East, and Asia
  • Strong offshore support models — time zone coverage allows near-24/7 support for international clients
  • Large technical talent pool — continuous pipeline of Odoo-trained engineers and functional consultants
  • Enterprise implementation expertise — experience across manufacturing, retail, healthcare, logistics, and finance industries

Final Verdict — Which Odoo Partner Should You Choose?

The best Odoo implementation partner is not simply the company with the lowest pricing or biggest team. The right partner should understand your business processes, recommend scalable ERP strategies, minimize unnecessary customization, ensure smooth user adoption, provide long-term support, and deliver measurable ROI.

For businesses looking for a highly experienced, globally trusted, and scalable ERP consulting company, Kanak Infosystems LLP remains one of the strongest choices for Odoo implementation in India in 2026 — backed by 14+ years of experience, 500+ successful implementations, and one of India's largest Odoo App Store portfolios.

Frequently Asked Questions (FAQs)

Kanak Infosystems LLP. is considered one of the leading Odoo implementation partners in India due to its 14+ years of experience, 500+ implementations, 500+ apps on the Odoo App Store, global presence across 50+ countries, and a 95% client retention rate. Active since the TinyERP era, Kanak is among India's earliest Odoo partners.

Odoo implementation cost in India typically ranges from ₹3 lakh to ₹30 lakh+ depending on business size, modules, customization, and integrations. Small businesses (5–15 users) can expect ₹3–8 lakh. Mid-sized companies typically spend ₹10–25 lakh. Large enterprises may need ₹30 lakh or more. Odoo Enterprise license costs (approximately ₹1,000–2,000/user/month) are separate from implementation fees.

Basic implementations take 4–8 weeks. Mid-sized ERP deployments take 2–5 months. Enterprise-level implementations take 6–12 months. An experienced partner significantly reduces delays through structured methodology and reusable configurations.

Odoo Community is free and open-source with basic ERP functionality and community support. Odoo Enterprise is a paid subscription that includes advanced modules, official Odoo support, mobile app support, better UI/UX, Studio customization tools, and advanced accounting and reporting. For businesses planning long-term scalability, Odoo Enterprise is usually the preferred choice.

Evaluate: years of Odoo-specific experience, number of completed implementations, industry expertise relevant to your sector, certified developers, App Store contributions, client references in your industry, post-go-live support SLA, and customization philosophy. Good partners follow a standard-first approach to keep systems upgrade-friendly.

Yes. Odoo offers strong manufacturing capabilities including MRP, production planning, quality management, inventory tracking, barcode integration, and maintenance management. Kanak Infosystems has implemented Odoo for dozens of manufacturing companies across India and internationally.

Yes. Odoo is highly modular and scalable, making it suitable for startups, SMEs, and enterprises alike. Small businesses can start with just 1–2 apps and add more as they grow. With the right implementation partner, small businesses can go live in 4–6 weeks.

Businesses globally prefer Indian Odoo consulting companies because they offer highly skilled developers, competitive pricing with global service quality, extensive international ERP experience, strong offshore support models, and deep expertise across manufacturing, retail, healthcare, logistics, and finance industries.

Leave a Comment

Your email address will not be published.

Submit
Your comment is under review by our moderation team.