I have to get the value from a tree view with code
For example I have 3 columns (Rule, ID, Total) and I have to get the value of total where the ID is "Basic"
How can I do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have to get the value from a tree view with code
For example I have 3 columns (Rule, ID, Total) and I have to get the value of total where the ID is "Basic"
How can I do that?
Hello,
You can access that value from the browsable object of that model and if you want to get total value in same model then you can get that value by self.field_name
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
janv. 21
|
4853 | ||
|
5
sept. 24
|
45242 | ||
|
1
août 23
|
1707 | ||
|
0
mars 23
|
2028 | ||
|
1
sept. 24
|
6984 |