I can't for the life of me find any place where the suffix of the name of the common Odoo method execute_kw
is explained. What is the kw
suffix for? Is it just two arbitrary letters?
Asked
Active
Viewed 1,070 times
4

Reverse Engineered
- 331
- 4
- 16
1 Answers
4
KW
stands for keyword. Parameters are passed as keyword:value pairs making defined positional parameters unnecessary. See more info on Python keyword arguments at Normal arguments vs. keyword arguments.