Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) Error: Template website_rentals.RentalWizard does not exist #16

Open
zohaibrehman opened this issue Jan 1, 2022 · 18 comments

Comments

@zohaibrehman
Copy link

zohaibrehman commented Jan 1, 2022

I dnt know why i m facing this issue. On clicking the Check Availability it pop ups this error:
Browser i m using Mozilla firefox.
Here is the screenshot.

https://imgur.com/a/UkilGUa

Uncaught (in promise) Error: Template website_rentals.RentalWizard does not exist
render http://localhost:1414/web/static/lib/owl/owl.js:1615
__render http://localhost:1414/web/static/lib/owl/owl.js:4362
render http://localhost:1414/web/static/lib/owl/owl.js:4111
promise callbackrender http://localhost:1414/web/static/lib/owl/owl.js:4106
set http://localhost:1414/web/static/lib/owl/owl.js:124
update http://localhost:1414/website_rentals/static/src/js/hooks/useCurrentTime.js:23
setInterval handler
useCurrentTime/< http://localhost:1414/website_rentals/static/src/js/hooks/useCurrentTime.js:25
__prepareAndRender http://localhost:1414/web/static/lib/owl/owl.js:4341
mount http://localhost:1414/web/static/lib/owl/owl.js:4066
mount http://localhost:1414/web/static/lib/owl/owl.js:4463
_openCheckAvailability http://localhost:1414/website_rentals/static/src/js/website_sale.js:14
proxy http://localhost:1414/web/static/src/js/core/mixins.js:277
jQuery 2

@zohaibrehman
Copy link
Author

@Yenthe666 @holdenrehg @Billolha Can you plz have a look at this post?

@Yenthe666
Copy link
Owner

Hmm sorry but it works fine on our latest V14 deployments. Please add reproducable steps and extra info.

@zohaibrehman
Copy link
Author

zohaibrehman commented Jan 8, 2022

Hi, sorry for late reply, went busy in other works.
Odoo is Enterprise edition v14,
Browser: Mozilla Firefox
i installed this module:
image
then it shows like this:
image

On selecting Check Availability :

image

it pop up error :

image

this error is also repeating and hence crashing my browser:

image

I also tried on fresh db bt same result. Any reason?

@Yenthe666
Copy link
Owner

Hmm, that's odd. Could you please set debug mode to assets & then give me the full traceback again?

@zohaibrehman
Copy link
Author

zohaibrehman commented Jan 13, 2022

I had activated the debug=assets already like above screen shots. I am also on private window (Mozilla)

image

Error:

image

@zohaibrehman
Copy link
Author

is there any way that i can stop the repetition? To me it looks like timmer cycles is causing issue or something

@Yenthe666
Copy link
Owner

@zohaibrehman I need the bottom part of the traceback, please paste it here :)

@zohaibrehman
Copy link
Author

Uncaught (in promise) Error: Template website_rentals.RentalWizard does not exist
render http://localhost:1414/web/static/lib/owl/owl.js:1615
__render http://localhost:1414/web/static/lib/owl/owl.js:4362
__prepareAndRender http://localhost:1414/web/static/lib/owl/owl.js:4351
mount http://localhost:1414/web/static/lib/owl/owl.js:4066
mount http://localhost:1414/web/static/lib/owl/owl.js:4463
_openCheckAvailability http://localhost:1414/website_rentals/static/src/js/website_sale.js:16
proxy http://localhost:1414/web/static/src/js/core/mixins.js:277
jQuery 8
_delegateEvents http://localhost:1414/web/static/src/js/core/widget.js:364
_delegateEvents http://localhost:1414/web/static/src/js/public/public_widget.js:307
OdooClass.extend/</prototype[name]</< http://localhost:1414/web/static/src/js/core/class.js:90
setElement http://localhost:1414/web/static/src/js/core/widget.js:320
setElement http://localhost:1414/web/static/src/js/public/public_widget.js:251
OdooClass.extend/</prototype[name]</< http://localhost:1414/web/static/src/js/core/class.js:90
attachTo http://localhost:1414/web/static/src/js/core/widget.js:205
defs http://localhost:1414/web/static/src/js/public/public_root.js:177
collect Underscore
defs http://localhost:1414/web/static/src/js/public/public_root.js:174
collect Underscore
_startWidgets http://localhost:1414/web/static/src/js/public/public_root.js:170
start http://localhost:1414/web/static/src/js/public/public_root.js:66
OdooClass.extend/</prototype[name]</< http://localhost:1414/web/static/src/js/core/class.js:90
start http://localhost:1414/website/static/src/js/content/website_root.js:60
OdooClass.extend/</prototype[name]</< http://localhost:1414/web/static/src/js/core/class.js:90
attachTo http://localhost:1414/web/static/src/js/core/widget.js:210
promise callbackattachTo http://localhost:1414/web/static/src/js/core/widget.js:206
http://localhost:1414/website/static/src/js/content/website_root_instance.js:22
promise callback
http://localhost:1414/website/static/src/js/content/website_root_instance.js:21
def http://localhost:1414/web/static/src/js/boot.js:260
processJob http://localhost:1414/web/static/src/js/boot.js:258
processJobs http://localhost:1414/web/static/src/js/boot.js:316
def http://localhost:1414/web/static/src/js/boot.js:271
promise callback*processJob/def< http://localhost:1414/web/static/src/js/boot.js:267
processJob http://localhost:1414/web/static/src/js/boot.js:258
processJobs http://localhost:1414/web/static/src/js/boot.js:316
define http://localhost:1414/web/static/src/js/boot.js:154
http://localhost:1414/website/static/src/js/content/website_root.js:1

@zohaibrehman
Copy link
Author

zohaibrehman commented Jan 13, 2022

is that ok? or missing something?

@Yenthe666
Copy link
Owner

Hmm odd. Do you still get it after updating the whole module? It seems as if odoo cannot find the XML template.

@zohaibrehman
Copy link
Author

i did everything even checked the module and inside file rights. But failed to understand why its doing so.

@zohaibrehman
Copy link
Author

is there any other way to diagnose why its not getting xml template?

@zohaibrehman
Copy link
Author

can u share ur latest version which is installed on ur system?. So that i can check again?

@Yenthe666
Copy link
Owner

We run the exact version from our repo's here :)

@zohaibrehman
Copy link
Author

hmm. Any idea why odoo unable to find that xml file???

@zohaibrehman
Copy link
Author

And on which odoo14 version are u applying? i ve like Enterprise version took in Nov 2021 and Community was during Feb2021. Is there something causing issue?

@Yenthe666
Copy link
Owner

Woha, why do you run a such out of date Odoo instance though? 😅 We usually update once a week to once a month so we never run on such old codebases.

@zohaibrehman
Copy link
Author

Ops.. Let me then get latest one. I will update you then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants