Odoo Help

Welcome!

This community 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.

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,182 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

--Axel Mendoza--
10238
| 7 7 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full time employee trying to understand what to do an how

Reach me at aekroft@gmail.com

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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