How add rows to list view in odoo? <p>I have a result data comming from wsdl file and I want to put this data in the treeview of my odoo module: </p> <p>This is my module architecture : init.py (where I import module.py) openerp.py (dependencies: Base) _module.py (where I've got the main code and everything works fine) templates.xml (Main view going with the main code, no problem)</p> <p>There is the .xml file:</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;openerp&gt; &lt;data&gt; &lt;menuitem name="Document_Binov" id="Doc_Bin" sequence="30" /&gt; &lt;menuitem name="Documents" id="menu_list_doc" parent="Doc_Bin" sequence="10" /&gt; &lt;!-- Form example --&gt; &lt;record model="ir.ui.view" id="document_form"&gt; &lt;field name="name"&gt;document.form&lt;/field&gt; &lt;field name="model"&gt;document_binov.document_binov&lt;/field&gt; &lt;field name="type"&gt;form&lt;/field&gt; &lt;field name="arch" type="xml"&gt; &lt;form string="Documents"&gt; &lt;sheet&gt; &lt;group&gt; &lt;label string="Titre"/&gt; &lt;field name="titre"/&gt; &lt;label string="Description"/&gt; &lt;field name="description"/&gt; &lt;label string="Type"/&gt; &lt;field name="type"/&gt; &lt;/group&gt; &lt;/sheet&gt; &lt;/form&gt; &lt;/field&gt; &lt;/record&gt; &lt;!--Tree view example --&gt; &lt;record model="ir.ui.view" id="document_tree_view"&gt; &lt;field name="name"&gt;document.tree.view&lt;/field&gt; &lt;field name="model"&gt;document_binov.document_binov&lt;/field&gt; &lt;field name="type"&gt;tree&lt;/field&gt; &lt;field name="arch" type="xml"&gt; &lt;tree string="Documents"&gt; &lt;field name="titre"/&gt; &lt;field name="description"/&gt; &lt;field name="type" /&gt; &lt;/tree&gt; &lt;/field&gt; &lt;/record&gt; &lt;!-- déclaration d'action --&gt; &lt;record model="ir.actions.act_window" id="action_document_work"&gt; &lt;field name="name"&gt;Liste des documents&lt;/field&gt; &lt;field name="res_model"&gt;document_binov.document_binov&lt;/field&gt; &lt;field name="view_type"&gt;form&lt;/field&gt; &lt;field name="view_mode"&gt;tree,form&lt;/field&gt; &lt;!-- &lt;field name="help" type="html"/&gt; --&gt; &lt;field name="document_tree_view" ref="document_form"&gt;&lt;/field&gt; &lt;/record&gt; &lt;!--déclaration menu --&gt; &lt;!-- &lt;menuitem id="document" name="Documents" /&gt; --&gt; &lt;!-- déclaration de menu principale niveau 1--&gt; &lt;!-- déclaration de menu niveai 1.1(sans action=non cliquable) --&gt; &lt;menuitem id="document_menu" name="Liste des documents" parent="menu_list_doc" action="action_document_work" sequence="10"/&gt; &lt;/data&gt; &lt;/openerp&gt; </code></pre> <p>And there is the .py file:</p> <pre><code>class document_binov(models.Model): _name = 'document_binov.document_binov' _description = 'visualise les documents' titre = fields.Char(default='a') description = fields.Char('Description') type = fields.Char('Type') </code></pre> <p><img src="https://i.stack.imgur.com/EtSDr.png" alt="enter image description here"></p> <p>Please help me to put the my result data to the treeview. Thanks in advance</p>