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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
Select multiple elements with XPath
Diselesaikan
|
|
5
Agu 24
|
48541 | |
|
Filter out (hide) lines in tree component
Diselesaikan
|
|
2
Apr 24
|
3606 | |
|
|
3
Jun 23
|
8254 | ||
|
|
2
Jun 23
|
6047 | ||
|
|
3
Mar 23
|
11299 |