novacode-nl / odoo-formio

Odoo Forms app & modules
https://apps.odoo.com/apps/modules/17.0/formio/
Other
66 stars 91 forks source link

Forms | Website Integration Error on Odoo16 #251

Closed cpuvampier closed 6 months ago

cpuvampier commented 1 year ago

On a fresh Odoo16 Installation after try to integrate a From into the WebSite

Uncaught Promise > QWeb2: Template 'website.prompt' not found

How can i solve this ?

bobslee commented 1 year ago

This is a technical (JS) issue. However I'm not available to analyse/solve for a while now.

bobslee commented 1 year ago

@cpuvampier Can't reproduce yet. Do you have a screenshot ? Please provide more info.

cpuvampier commented 1 year ago

Odoo Installation via Container Docker/Latest image. Formio Latest Version 16.0.6.1 Forms | Website Integration Latest Version 16.0.1.3

Client Error: UncaughtClientError > TypeError Uncaught Javascript Error > Cannot read properties of undefined (reading 'writeText')

TypeError: Cannot read properties of undefined (reading 'writeText') at ClientErrorDialog.onClickClipboard (http://172.20.2.17/web/assets/1764-6733c89/web.assets_backend.min.js:620:48) at Object.mainEventHandler (http://172.20.2.17/web/assets/1763-647a30e/web.assets_common.min.js:1899:77) at HTMLButtonElement.listener (http://172.20.2.17/web/assets/1763-647a30e/web.assets_common.min.js:1134:15)

cpuvampier commented 1 year ago

Bildschirmfoto 2023-07-25 um 17 36 50

bobslee commented 1 year ago

Does this occur when dropping the Forms block on a website page?

cpuvampier commented 1 year ago

Yes will occur when try to drop the Block Bildschirmfoto 2023-07-25 um 17 36 38

bobslee commented 1 year ago

Ok. That's a big effort to analyze and fix - I remember from the past.

I only will perform that with funding. You can discuss by leaving a message on the contact form https://www.novacode.nl/contact

bobslee commented 1 year ago

Of course feel free to submit a PR.

cpuvampier commented 1 year ago

@bobslee Thank you, i had a question to understand. You may running also V16 ? There are some pre-requirement to get this running on other Version. i guess you may got it running. On what direction this error will point ? Backend or JS Frontend ? I am asking myself, can i am the only one who run into this bug ?

bobslee commented 1 year ago

This is a JS frontend error, occurring since the Form app in Odoo V.16. No you're not the only one running into this bug. But I don't have plans to fix this soon, without funding.

bobslee commented 6 months ago

@cpuvampier The website form snippet is available and working in Odoo 17.

You need the paid module: https://apps.odoo.com/apps/modules/17.0/website_formio_snippet/

I close this issue.