obayit / odoo_dhtmlxgantt

Integration of DHX's Gantt chart in to Odoo
29 stars 57 forks source link

Uncaught Error: QWeb2: Template 'dhx_gantt.gantt_view' not found #9

Closed ghost closed 3 years ago

ghost commented 3 years ago

When i load the module and clicked to view gantt button this error occured.

obayit commented 3 years ago

What version of Odoo are you using? Did you refresh the page?

ghost commented 3 years ago

odoo v12 Community , yes i did it but still occured

ghost commented 3 years ago

am i doing wrong ? just load the module to addonpath and install from apps menu. any configuration need?

obayit commented 3 years ago

Check these files:

  1. __manifest__.py: make sure there is this part
    'qweb': [
        "static/src/xml/gantt.xml",
    ],
  2. static/src/xml/gantt.xml: make sure it contains this:
    
    <?xml version="1.0" encoding="UTF-8"?>
ghost commented 3 years ago

they are the same, whatever i paste your code again and still no fixed. i was try another grantt module to add and occured same result "not found". is there any blocking for "grantt" to community edition or anything else

obayit commented 3 years ago

No, it should work on community version normally.

obayit commented 3 years ago

Sorry I can't reproduce the issue. Anyways, it looks like the client code (javascript) is not loading the view dhx_gantt.gantt_view for some reason. I advice to uninstall the module, restart the server, and reinstall it. Another thing to try: enable browser debugging, and see if there is any errors in the console tab. But I can't really help you since I couldn't reproduce the issue.