If we add options='{"always_reload": True} to field in view, what does it change in display?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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.
Example:
-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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
maj 23
|
10126 | ||
|
2
mar 21
|
13206 | ||
|
0
sie 24
|
1017 | ||
|
6
mar 24
|
2616 | ||
|
0
wrz 21
|
2006 |