How to Change "Odoo" on all Dialog Boxes

So you want to change "Odoo" text on the dialog boxes?

This is the default odoo dialog box:






 

OK. Here are the steps:


Make an addon to inherit these:

addons/web/static/src/js/framework/dialog.js:37

            title: _t('Odoo'), subtitle: '',


addons/web/static/src/js/framework/crash_manager.js

Line 108:

            title: "Odoo " + (_.str.capitalize(error.type) || _t("Warning")),

Line 118:

            title: "Odoo " + _.str.capitalize(error.type),

Line 165:

            title: "Odoo  " + (_.str.capitalize(error.type) || "Warning"),


Install and Upgrade  your custom addon.


Done!


Visit my Udemy courses for more tricks: http://udemy.com/user/akhmaddaniel


How to Change "Odoo" on all Dialog Boxes
vitraining, odoo indonesia
12 May, 2020
Share this post
Archive
Sign in to leave a comment
Secret techniques to import million of records into Odoo in SECONDS!
New Udemy Course