Odoo Help

0

1
1 Answer
1
Avatar

Shameem Babu @ iWesabe

--Shameem Babu @ iWesabe--
GLOBAL CREATIVE CONCEPTS TECH CO LTD
http://www.iwesabe.com
1520
| 6 3 9
KHOBAR, Saudi Arabia
--Shameem Babu @ iWesabe--

  

 iWesabe - ODOO ERP IMPLEMENTATION & CUSTOMIZATION SAUDI ARABIA.



For Queries : pks.shameem@gmail.com ,shameem@iwesabe.com

Activities     :    Youtube

                           Stackoverflow 

Experience

           iWesabe                                ◉

           Axon Communications        ❍

           Cybrosys Technologies        ❍


Shameem Babu @ iWesabe
05.11.16, 06:04

Tanzil,

Add link for each object of the thumbnail  like this

<a t-att-href="'/foo/(slug(obj))">
     <!--Print object-->
     <t t-esc="obj.name"/>
</a>

In the controller

@http.route(['/foo/<model("Your.Model"):obj>'], type='http', auth='public', website=True)
def action_foo(self, obj, **post):
     return request.website.render('Your_Module.Your_Template', {'object', obj})

Pint the value of that object in temlate

<template id="Your_Module.Your_Template">
     ..................
     <t t-esc="object.name"/>
</template>

All the best !

1 Comment
Md. Tanzilul Hasan Khan
05.11.16, 06:17

Haha, I knew you will come to answer :) . Thanks for your support and help.

I will try it and let you know.

Ask a Question
Keep Informed
1 follower(s)
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now