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

In a window action what is res_model and what is src_model and what is the use of it?

<id="act_test_test"
name="Emailpayslip"
res_model=""
context="{}"
domain="[]"
src_model=""/>

아바타
취소

Hi,

What is the use of context and domain?

베스트 답변

Hi,
  Suppose you want to open a wizard from res.partner the src_model will be the res.partner and res_model will be the wizard model.Refer this

아바타
취소
베스트 답변

Hi pramod,

Please refer this link to know more about window actions and wizards  ​


아바타
취소
베스트 답변

 Hello @Pramod,

 * res_model : is the name of the wizard model

 * src_model : is the target module where the wizard will appear when we click the action button.

 You can follow the below link that gives all examples in detail:

\     ​https://odooforbeginnersblog.wordpress.com/2017/03/05/how-to-create-wizards-in-odoo/

 Make sure it will helpful.

 Thank you. 

아바타
취소
관련 게시물 답글 화면 활동
6
5월 24
50918
1
2월 23
697
0
2월 23
724
2
9월 20
18554
1
7월 19
3686