Odoo Help


How do I use auto_refresh on an XML tree view? i use this code but doesnt work on my system<field name="auto_refresh" eval="10"

on 7/3/14, 10:32 PM 904 views

i have 2 list view, list_view _1 and list_view_2 (naming of my 2 list view) list_view_1 is the list of data of a cost and the use of list_view_2 is to copy all the data from the list_view_1. I got this codes for the button but when i clicked it, it does not show the data form the list_view_1. but when i check in the database the data is there but in openerp it does not display. how to fix that problem? do i need to use some method for that? any suggestion would be a big help.. thanks..

 <record model="ir.actions.act_window" id="biz1_construction_analytic_plan_action">
           <field name="name">Planned Cost</field>
           <field name="res_model">account.analytic.line.plan</field>
           <field name="view_type">form</field>
           <field name="auto_refresh" eval="10"/>    
      <!--    <field name="view_mode">tree</field>   -->  
        <field name="view_id" ref="biz1_construction_analytic_plan_tree"/>

Hi Ahnne, I read you question, but I am not getting it when you say *"use of list_view_2 is to copy all the data from the list_view_1"*, can you be little bit more clear about your question or can you paste some screen shots for better understanding. Regards Hiren Vora - Emipro Technologies

Hiren Vora - CEO at Emipro Technologies Pvt. Ltd. India
on 7/4/14, 3:01 AM

hi, how can i upload my screen shots. i don't have 30 karma or this moment.. can i get your email add??

on 7/4/14, 11:39 PM



| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 7/7/14, 8:50 AM

try using tag : options='{"reload_on_button": true}' in your view definition...
->example form stock_picking  : view_picking_form 

<field name="move_lines" context="{'address_in_id':partner_id,  

'picking_type': 'internal'}" options='{"reload_on_button": true}'/>

thanks Mr. Bole

on 7/22/14, 9:02 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: 7/3/14, 10:32 PM
Seen: 904 times
Last updated: 3/16/15, 8:10 AM