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

Hi, is it possible to check a condition and perform some action on form load? what i'm trying to achieve is: I have a few different form views and based on some condition one of them has to be opened from a single, so i was thinking i would link the menu to a particular form and then while opening the menu check the condition and open the other form if the condition is for it otherwise load the form as normal

아바타
취소

Hello ! May be you can create web addon and override some existing JS functions to check your particular object and can perform some actions.

베스트 답변

Hello,

When you are open any form view form_renderer method call from the js.

Thanks,

shivoham.odoo@gmail.com

아바타
취소
관련 게시물 답글 화면 활동
1
3월 15
7035
1
10월 24
69360
1
5월 25
4225
2
12월 23
25803
1
10월 21
9664