I would like to know what's the difference of using "res_model", "src_model" and "model" in xml definitions.
Thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Hi,
res_model: It is the name of you model for representing the action window
src_model: It is the target model where the wizard will appear on the button click
model: The model to which the view created belongs to.
Regards
Thank you very much.
One small doubt remains. Where you say "src_model: It is the target module where the wizard will appear on the button click", do you mean model instead of module, maybe?
Greetings
Yes, it means target model, we have updated the answer
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
5
Aug 24
|
45529 | ||
|
2
Apr 24
|
2042 | ||
|
3
Jun 23
|
5029 | ||
|
2
Jun 23
|
4025 | ||
|
3
Mar 23
|
9729 |