Odoo Help


How to create an interactive block in odoo 8?

Hamid Darabi
on 10/17/14, 3:15 PM 1,557 views

I'm trying to make a new block to use on my website pages. I managed to add one by modifying Odoo 8.0-20140918-103809\server\openerp\addons\website\views\snippets.xml though it's just a textbox and a button and doesn't come with any functionality. What is the best way to create a product in my product list and add the new product to user's shopping cart on my button's click event ? I appreciate any document or tutorial that helps me through this task.

I realized that modifying the original website snippet.xml file is not the right way to do it. How can I inherit snippets in a new module and add new blocks without modifying the source code?

Analystik, Hamid Darabi
on 11/3/14, 2:40 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 10/17/14, 3:15 PM
Seen: 1557 times
Last updated: 3/27/15, 6:13 PM