Odoo Help


Show Odoo information on the website

Andrés Méndez
on 3/9/15, 1:41 PM 1,163 views


I would like to know if it's possible to show, in the website created by Odoo, information that I have stored in Odoo.

For example, if I want to list my customers, how can I do that?



Jérémy Kersten (jke)

--Jérémy Kersten (jke)--

| 3 3 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 3/10/15, 6:25 PM

Create an action server (model ir.actions.actions, check available on the website, add website path (eg: jke))

admin_ids = pool['res.partner'].search(cr, 1, [('name', 'ilike', 'agro')], context=context)

backend_ids = pool['res.partner'].browse(cr, 1, admin_ids, context=context)

values = { 'partners': backend_ids, }

response = request.render("website.my_template", values)

Create a sample view (xmlid = website.my_template)

<t name="Sample Template" t-name="website.my_template">
    <t t-call="website.layout">
                    <p t-if="not partners">No result found</p>
                    <t t-foreach="partners" t-as="partner">
                        <span t-field="partner.display_name"/>


Now, you can go on yourwebsite.com/website/action/jke


Good luck 



Ermin Trevisan

--Ermin Trevisan--
| 6 5 7
Walchwil, Switzerland
--Ermin Trevisan--

Ermin Trevisan
On 3/10/15, 3:26 AM


Amendment to my answer:

If you want to know, what you can do out of the box using the website builder, try the website builder and check these apps: https://apps.openerp.com/apps/modules?series=8.0&search=website. You should also check the themes and its building blocks: https://apps.openerp.com/apps/themes .

If you want to build websites yourself using any kind of odoo data, read the doc: http://odoo-80.readthedocs.org/en/latest/howtos/backend.html. HTH

Andrés Méndez
On 3/10/15, 8:34 AM

Hello Erwin.

Thanks for the information, but the customers listing was just something illustrative.

As the website is connected with the rest of Odoo, is it possible to create a webpage with any information from Odoo? For example, in Microsoft Access you can create reports where you select which elements you want to show, which others use to filter the information, and so on. Is this possible in Odoo?

I've seen that you can create reports in Odoo (https://doc.odoo.com/v6.1/book/8/8_20_Config/8_20_Config_reports/), but I just want to show some info from Odoo into its website.


Hello, You can create controller which render any data from backend into front end ! Take a look at existing module :)

Jérémy Kersten (jke)
on 3/10/15, 5:54 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: 3/9/15, 1:41 PM
Seen: 1163 times
Last updated: 3/16/15, 8:10 AM