跳至内容
菜单
此问题已终结
4 回复
14914 查看


形象
丢弃

Is this the latest Odoo build/code? Do you use any custom or third party modules/code? Did you properly install the dependencies?

编写者

Yp I don't use any custom modules and I installed the dependencies correctly without error

编写者

@Miracle

the installation of the requirement.txt is don without error , but still I get is style error , can you show your requirement.txt contains , I have download the odoo source from github

编写者

I have installed the reruirement.txt as whole and libsass==0.12.3 also installed successfully

编写者

at seam time I found this repeated bug at once

最佳答案

This is quiet timely. Well in my own view, you should install the dependency in the requirement.txt file, when you install that, you should be fine.

I elaborated on this some minutes ago and if you care to check it up for more explanations, http://www.theodooguy.com/fixing-styling-errors-on-odoo-12/

I hope it solves your challenge.

形象
丢弃

You can check the list of dependencies here >> https://gist.github.com/iammiracle/9047be6ec9f442458ad65b4e556a976c.

I don't have enough karma to keep the trend of comment going

最佳答案

Checkout my answer: t.ly/NYA88

形象
丢弃
最佳答案

You might have found this error while restoring the database, it happens because the first time you were restoring the database was not loaded properly. Just increase cpu time limit in odoo.conf file and restart the odoo service.

形象
丢弃
最佳答案

margin: floor((@odoo-navbar-height - @planner-height)/2) 10px 0;

Is from odoo 10/11, not 12.
Check your instance isn't configured to load any odoo 10/11 modules in the conf / no odoo 10/11 modules are located within your odoo 12 directory.

If you're running this in pycharm check that you don't have an odoo 10/11 project marked as a dependency of the odoo 12 project)

Failing that, search through your odoo 12 directory / addons directories, for any file containing "h\ttp://margin: floor((@odoo-navbar-height"

形象
丢弃