Hi !
I am making an extension of the module website_sale, in order to use the cart and payment stuff.
I want to create a form where the user can select things in selection widgets. Then, I want to trigger changes in the price when the value of these selection wigdet change. Finally, I want to create a product from there and add it to the cart.
But the thing is, it's the first time I work with odoo website functionnalities. I don't know if I have to use javascript, and how. I have checked the doc, but eh, no much help there. Or perhaps I can make a python function and use it in the qweb template ? I don't know. Some help, clues, examples will be greatly appreciated.
Edit:
After some reading, I know how to build widgets using qweb templates and js. I know how to call a widget from a menu in the backend.
Now, how to include my custom widget in a template in the frontend ?