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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
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
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
Select multiple elements with XPath
Rozwiązane
|
|
5
sie 24
|
45790 | |
Filter out (hide) lines in tree component
Rozwiązane
|
|
2
kwi 24
|
2165 | |
|
3
cze 23
|
5198 | ||
|
2
cze 23
|
4208 | ||
|
3
mar 23
|
9845 |