Odoo Help


How to inherit template in odoo?

on 5/26/15, 7:38 AM 985 views

Hello Team,

I want to inherit Listview in web/srcipt/xml/base.xml, I was inherited correctly but when I run the server it was changed all the ListView except my ListView(one2many field).

<?xml version="1.0" encoding="UTF-8"?>

<templates id="template" xml:space="preserve">

<table t-name="ListView" class="oe_list_content">

<t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0)"/>


<tr class="oe_list_header_columns">


Product Name


<th class="oe_list_header_integer"><div>



<th t-if="options.deletable" class="oe_list_record_delete" width="13px"></th>





Can any one please help me, if I did anything wrong.

Thanks in advance.

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

1 follower(s)


Asked: 5/26/15, 7:38 AM
Seen: 985 times
Last updated: 5/26/15, 7:38 AM