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.

0

How to create a webpage into a model from the template.xml

By
Alessandro D'Armiento
on 9/29/15, 6:38 AM 356 views

hello. I want to create a new webpage in the module website_sale
I entered into the website_sale/views/template.xml and added a page called offer.

The header of the page is:

<?xml version="1.0"?>

<t name="Offers" t-name="website_sale.offers">

<t t-call="website.layout">

<t t-set="additional_title">Offers</t>


And so on...


I can easily see and modify the page into my view manager into Odoo. But i cannot display it in the frontend in /shop/offers.
Why? How to add a new page? I cannot do it from the front end because i need to import stuff from the module itself

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

1 follower(s)

Stats

Asked: 9/29/15, 6:38 AM
Seen: 356 times
Last updated: 9/29/15, 6:38 AM