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=""/>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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,
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
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.
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
6
mai. 24
|
50260 | ||
|
1
fev. 23
|
697 | ||
|
0
fev. 23
|
724 | ||
|
2
set. 20
|
18276 | ||
Changes in quants in Odoo 11 , 12
Resolvido
|
|
1
jul. 19
|
3527 |
Hi,
What is the use of context and domain?