Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Changing the page title "Odoo"

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
odoo9.0
5 Respuestas
42120 Vistas
Avatar
ABISHEK

How to change the title of the page from to any custom title


I have already extended the web.layout , web.login_layout. I want to change the dynamic page title of odoo in a custom module. Please tell me if there is any other way other than changing web_client.js file's zopenerp property.  I also tried to override the init function in web_client.js but it is not working


openerp.edit_title_module = function(instance) {
    // THIS CONSOLE LOG IS PRINTING
    consloe.log("Print 1")
    instance.web.webclient.extend({
        init: function(parent, client_options) {
            // BUT THIS CONSOLE LOG IS NOT EXECUTING
            consloe.log("Print 2")
            this._super(parent, client_options);
            this.set('title_part', {"zopenerp": "My custom title"});
        },
    });
};

0
Avatar
Descartar
Ermin Trevisan

What title do you mean? Can you provide a screenshot?

ABISHEK
Autor

I mean the page's title appearing in browser's tab, I am not able to edit the question,When ever I try to edit and save, It shows 403 forbidden that's why I am not able to post a screen shot

Ermin Trevisan

You can add a link to a screenshot here as a comment.

Avatar
tahirhan
Mejor respuesta

In Odoo 10, you have to change 

this.set('title_part', {"zopenerp": "Your Company Name"});

in web/static/src/js/abstract_web_client.js file.

2
Avatar
Descartar
Avatar
Đức Hậu Trần
Mejor respuesta

Thank alls,


I used code below for Odoo V13 and it's worked.

odoo.define('your_module_name.WebClient', function (require) {

"use strict";

    var AbstractWebClient = require('web.AbstractWebClient');

    AbstractWebClient = AbstractWebClient.include({

        start: function (parent) {

            this.set('title_part', {"zopenerp": "Your title!"});

            this._super(parent);

        },

    });

});


0
Avatar
Descartar
Julio

Hi, this worked perfectly for me!

Regards.

Phan Hong Phuc

Hi all, I'm using Odoo v15, I tried this but it doesn't seem to work with me. Is there any solution? Thank alls

Avatar
ABISHEK
Autor Mejor respuesta

I got the answer for the My question 

https://stackoverflow.com/questions/40418642/odoo-9-inherit-js-file


Visit this stack overflow link, This is working in Odoo 9 


openerp.module_name = function(instance){
    var _t = instance.web._t,
    _lt = instance.web._lt;
    var QWeb = instance.web.qweb;

    instance.web.WebClient.include({

        start: function() {
            this.set('title_part', {"zopenerp": "Odoo9"});
            return this._super();
            },
        });
}
0
Avatar
Descartar
Avatar
Avinash Mavuru
Mejor respuesta

hai,

after changing 

this.set('title_part', {"zopenerp": "Odoo9"}); to 

this.set('title_part', {"zopenerp": "Your required name"}); try to open the localhost in another browser. This was because of cache that wont allow the changes in present browser
0
Avatar
Descartar
Avatar
Lucia C.H.
Mejor respuesta

There is a free module that lets you change the title. Plus it conveniently adds a field in the settings menu so you can change the title anytime instead of hard-coding it. It's available for a whole bunch of Odoo versions.

https://apps.odoo.com/apps/modules/13.0/web_window_title/

And even if you don't want to install it it's very helpful to look up/compare your code.

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Is there any module for manage test cases in odoo?
odoo9.0
Avatar
Avatar
1
dic 24
7064
How to hide duplicate button inside form view Odoo 9
odoo9.0
Avatar
Avatar
Avatar
Avatar
3
ago 24
7860
how to know the odoo master password? Resuelto
odoo9.0
Avatar
Avatar
Avatar
Avatar
Avatar
4
jul 24
43034
Default value in form view Resuelto
odoo9.0
Avatar
Avatar
Avatar
Avatar
5
abr 23
101366
odoo 9 theme installed in addson are missing from app Resuelto
odoo9.0
Avatar
Avatar
Avatar
3
nov 22
5334
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

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