Odoo Help

0

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

By
Alessandro D'Armiento
on 9/29/15, 6:38 AM 575 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

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.

Register

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

1 follower(s)

Stats

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