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.


What behavior with options "always_reload"?

Vasiliy Birukov
on 3/12/13, 2:50 AM 3,498 views

If we add options='{"always_reload": True} to field in view, what does it change in display?


Parth Gajjar

--Parth Gajjar--
| 3 3 5
Ahmadabad, India
--Parth Gajjar--
Parth Gajjar
On 3/12/13, 6:15 AM

First thing this will not change any thing in display.

In Form View Options like (always_reload, reload_on_button..) used if this fields have reference with another fields.


-In mrp module reload_on_button is used

-options='{"reload_on_button": True}

-In Manufacturing Order Form View if you add lines in "Products to Consume" and you click on "Consume Product" Button before save record. options='{"reload_on_button": True} will first reload this record and then call button action. And thus you don't get error of reference.

-"reload_on_button" reload record on button click while "always_reload" is reload record every time you insert data.

Meanwhile this options will help to generate reference when you not saved your record and other field have reference of it.

I hope this will help.

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

0 follower(s)


Asked: 3/12/13, 2:50 AM
Seen: 3498 times
Last updated: 9/1/15, 9:38 AM