Odoo Help

1

How to fix Odoo when using Google Chrome 50 or Chromium equivalent version

By
Axel Mendoza
on 4/17/16, 1:37 AM 2,963 views

After install or upgrade to Google Chrome 50 or Chromium equivalent update, Odoo 8 and 9 stop working.

How could you fix Odoo to continue using Google Chrome or Chromium without the need to switch to Mozilla or any other browser?

0
Thanh Loyal
On 4/19/16, 8:00 AM

Hi,

I have just pack answer of Axel Mendoza into an addon.

You may wait for the official fix or in the meantime, you may use mine (tested on V8):

https://github.com/MrLoyal/sc_fix_chrome_50

0
Axel Mendoza
On 4/17/16, 1:39 AM

I solve it using this quick fix, hope that helps to find the complete solution. I add this css rules in one of my modules and make it works mostly everything. Just the database manager view menu continue hide because that view works without a database so no modules are loaded and for that it works by adding the css rules on the base.css of the web module(I tried using a module with a server_wide_modules or --load options but no luck).

The css rules are:

.openerp .oe_leftbar > div > div > div {
min-height: 455px;
}
.openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div{
min-height: 532px;
}

This it's tested on Odoo 8, the same should apply to Odoo 9 or others versions. This solution of course could be improved for anyone with more deep knowledge of css than me but it works. I hope this guide to the final solution.

This is also posted on the related issue on Github at:

https://github.com/odoo/odoo/issues/11629#issuecomment-210959090

You could follow that issue for updates

*************update taken from the issue link*****************

This work too and also is a more clean solution

.openerp .oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div{
   display:table-cell;
}

.openerp .oe_leftbar > div > div > div {
    display:table-cell;
}


*************update to fix the pos******************

I test this css rules using my approach with pos and works:

.pos .subwindow .subwindow-container-fix {
    min-height: 186px;
}
.pos .subwindow .subwindow-container-fix.screens{
    min-height: 608px;
}
.pos .screen .content-cell .content-container {
    min-height: 559px;
}

To load those in a custom module you will need something like this:

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <template id="assets_backend" name="solt_web assets" inherit_id="point_of_sale.index">
            <xpath expr="//head" position="inside">
                <link rel="stylesheet" href="/solt_pos/static/src/css/styles.css"/>
            </xpath>
        </template>
    </data>
</openerp>

Otherwise it will not load your css

That last solution in the update could break the IE 9, 10, 11

Axel Mendoza
on 4/17/16, 4:17 AM

I mean to the first update in my comment before

Axel Mendoza
on 4/17/16, 9:32 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 4/17/16, 1:37 AM
Seen: 2963 times
Last updated: 6/30/16, 4:29 PM