sdegueldre / snippets-oxp-2020

Code for the talk "Odoo Website: How to develop building blocks"
5 stars 3 forks source link

Data not loaded in the interface #4

Open HanadiBouAntoun opened 1 year ago

HanadiBouAntoun commented 1 year ago

In the manifest you referred to xml files under src folder but we don't have these files. Please check the attached screenshot. is it related why the data is not displayed?

products in cart

missing xml files

sdegueldre commented 1 year ago

While this manifest entry is indeed wrong, it doesn't do anything and the snippets are correctly loaded in the data section of the manifest.

If you're following this in a newer version of odoo than the one I used in the talk, what has changed is how the JS needs to be loaded, it should simply be added to the assets_frontend bundle.

HanadiBouAntoun commented 1 year ago

Hello,

Thank you for your reply. I already updated the manifest as per the below new screenshot (with Odoo15). and I removed the js calls from the snippets file. (screenshot attached) and still data not loaded :(

snippets

manifest updated