Odoo Help


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.


How to inherit template in odoo?

on 5/26/15, 7:38 AM 494 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.

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)


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