Odoo Help

Welcome!

This community 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.

3

How to create an interactive block in odoo 8?

By
Hamid Darabi
on 10/17/14, 3:15 PM 1,100 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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