콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
18560 화면

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

아바타
취소
베스트 답변

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.

아바타
취소
관련 게시물 답글 화면 활동
1
5월 23
10369
2
3월 21
13481
0
8월 24
1187
6
3월 24
2904
0
9월 21
2121