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

Odoo 12 - installation from scratch

postgresql 11

postgis 3.0.1


I have installed the modules without errors (base_geospatial & base_geospatial_demo). Both downloaded from the OCA apps store.


But when going to the GeoEngine Demo menu, and clicking on the map icon, the map doesn't loads.


I have no errors on the server log (Debug mode), and I don't know what else review.


I have updated npm, rtlcss and nodejs. Nothing works.


I have checked that it works ok on the OCA's runbot, so I discard browser's problems.


Any suggestion?

形象
丢弃
最佳答案

Hello Fernando, 

These modules also requires two additional libraries 

pip install Shapely

http://pypi.python.org/pypi/Shapely 

pip install geojson

https://pypi.org/project/geojson/

If you have already installed these libraries then you can check error by right clicking on your browser and select "Inspect Element"

Inside the inspect element there is console tab.

Inside the console tab you can check the exact error. 

https://prnt.sc/rkatf8


Thanks

Anisha Bahukhandi

Technical Content Writer

Webkul

形象
丢弃
编写者 最佳答案

Hi Anisha, 

I have a Docker installation with two containers: one for the web, and another for the db.

The Shapely and the geojson are installed on the web container during the build process throught "apt-get install python3-shapely geojson".

The browser's console does not show any errors.

When clicking on the map icon, a small notification appears on the lower right corner of the web wich says "Loading". Then, the grey curtain covers the screen with the message "Loading". But in less than a second it disapears and only shows the web on the "list" view, and doesn't loads the map.

形象
丢弃

Hello,

Try by enabling developer mode with assets

https://prnt.sc/rkb6v3

Then check on your console and share the exact error.

编写者

seems like it can't find a css file.

https://prnt.sc/rkga2p

编写者

Tooltip error seems also to be related with an error with other css file

https://prnt.sc/rkgclu

Hey Fernando,

It seems like module is not updated at your Odoo end because some css/js files are not correct in your module.

So it is better if you will uninstall this module

then pull the updated module from

https://github.com/OCA/geospatial/tree/12.0

then reinstall this extension.

you can also check the updated extension by login through runbot

http://3411394-12-0-77abc5.runbot2-3.odoo-community.org/web/login

Thanks

编写者

Hi Anisha!!!

You where right, the module in the OCA app store is outdated and does not work properly with recent packages.

Just downloaled the github repository, installed the module, and it's working!!!

Hello Fernando,

It's great that your issue is resolved. If you liked my assistance then I would really appreciate if you can take out a few minutes out of your busy schedule and put a google review for me here - https://www.google.com/search?q=webkul&oq=webkul+&aqs=chrome..69i57j69i60l3j0l2.4182j0j7&sourceid=chrome&ie=UTF-8#lrd=0x390ce561c5555555:0xcfb40ae166ce6c21,1

A nice review from your side will motivate my team to provide exceptional support to the people like you :)

Anisha Bahukhandi

Technical Content Writer

Webkul

相关帖文 回复 查看 活动
3
3月 15
10198
0
3月 15
3775
0
11月 17
3089
1
2月 22
4229
2
7月 15
6987