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
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
0
Jan. 21
|
4819 | ||
|
5
Sept. 24
|
45211 | ||
|
1
Aug. 23
|
1666 | ||
|
0
März 23
|
1971 | ||
|
1
Sept. 24
|
6940 |